X Trends History Archive: Hourly Timeline & Rank History avatar

X Trends History Archive: Hourly Timeline & Rank History

Pricing

from $0.49 / 1,000 results

Go to Apify Store
X Trends History Archive: Hourly Timeline & Rank History

X Trends History Archive: Hourly Timeline & Rank History

Cookieless X (Twitter) trend history by country or city. Returns the last 24 hourly snapshots, dated archive lists, per-trend rank histories across 24 hours, 7 days, 30 days and a year, and longest-trending or most-tweeted leaderboards.

Pricing

from $0.49 / 1,000 results

Rating

0.0

(0)

Developer

Xyrelith Data

Xyrelith Data

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

X (Twitter) trend data with a memory: hourly snapshots, dated top-50 lists, per-trend rank histories and longest-trending or most-tweeted leaderboards. Everything is collected from public trend archives without cookies, logins or API keys.

The actor covers 467 locations — Worldwide, 62 countries and 404 cities — and stores the real timestamp of every snapshot so a timeline can be compared across countries, days and hours.

Modes

ModeWhat it returns
hourlyTimelineThe latest timestamped snapshots for a location, aggregated per trend: best rank, latest rank, average rank, first seen, last seen, hours trending and an optional rank history. Set groupBy to snapshot for one flat row per trend per snapshot.
dateRangeArchiveOne ranked list per requested UTC date-hour. Rows are deduplicated per location, date, hour and trend.
trendLookupFor named trends or hashtags: worldwide rank, rank in your chosen location, how many locations it trends in, and rank samples for the last 24 hours, 7 days, 30 days and year.
topListsMost-tweeted and longest-trending hashtags for a day, week, month or year, with score, total trending duration and last-seen time.
locationsEvery supported country and city with its archive URLs and source coverage.

Inputs

FieldTypeDefaultUsed by
modeselecthourlyTimelineall modes
locationsstring list["United States"]timeline, archive, top lists; first location is the context in trend lookup
trendsstring list["Gane"]trend lookup
startDatetext–date-range archive (today UTC when empty)
endDatetext–date-range archive (today UTC when empty)
hoursstring list[] (all 24)date-range archive
trendTypeselectallall trend rows
keywordContainstext–all trend rows
keywordExcludestext–all trend rows
maxRankinteger50all trend rows
maxItemsinteger500 (prefill 3)all modes
maxSnapshotsinteger48 (prefill 24)timeline and archive
fillMissingHoursbooleantrue (prefill false)hourly timeline
groupByselecttrendhourly timeline
includeRankHistorybooleantruetimeline and trend lookup
includeSearchUrlsbooleantrueall trend rows
archiveFallbackbooleantruedate-range archive
periodselectweektop lists
metricselectbothtop lists

Locations accept a country name, a country/city path, a slug or an ISO code: United States, US, United Kingdom/London, united-states/new-york, Tokyo, Japan/Tokyo. Run mode: locations to see the full catalog.

Output

Every row has type, mode, the resolved location, locationId, country, countryCode, locationType, source and collectedAt. Fields that do not apply are omitted — there are no nulls, empty strings or placeholder rows.

FieldAppears inMeaning
date, hourUtc, snapshotAtarchive, snapshot rowsUTC date, hour and exact capture time
rankarchive, snapshot, top listsPosition in that list
trendall trend rowsTopic or hashtag
isHashtag, isCashtagall trend rows# and $ flags
bestRank, latestRank, averageRanktimelineAggregates over the window
firstSeenAt, lastSeenAttimeline, lookupOldest and newest observation
hoursTrending, snapshotsSeentimelineDistinct hours and snapshots observed
rankHistorytimeline[{at, rank}] samples
rankHistory24h, rankHistory7d, rankHistory30d, rankHistoryYeartrend lookupRank samples decoded from the source's history charts
worldwideRank, currentRank, locationCount, currentlyTrendingCounttrend lookupCross-location position
locationsTrendingIntrend lookupLocation names, ranks and last-seen text
scoretop listsSource score for most-tweeted lists
trendingHourstop listsTotal duration on the longest-trending list
tweetVolumetimeline, archivePublished post count, only when the source still exposes one
datedListSourcelocation rowsgetdaytrends for countries/Worldwide, trends24+wayback for cities
searchUrl, trendUrltrend rowsX search link and source trend page

Example inputs

Daily-style timeline for one country:

{
"mode": "hourlyTimeline",
"locations": ["United States"],
"maxItems": 20,
"maxSnapshots": 24,
"groupBy": "trend"
}

Two days of archived ranks for a city:

{
"mode": "dateRangeArchive",
"locations": ["United Kingdom/London"],
"startDate": "2026-11-14",
"endDate": "2026-11-15",
"hours": ["8", "12", "18"],
"maxItems": 500
}

Rank history for hashtags:

{
"mode": "trendLookup",
"trends": ["#UFC334", "Gane"],
"locations": ["United States"],
"maxItems": 5
}

Data sources and coverage

Three public, cookieless sources are combined:

  1. trends24.in — country and city pages with 24 timestamped snapshots each, 50 trends per snapshot. This powers the fast hourly timeline and the recent part of the date-range archive, and it is the only source with city-level history.
  2. getdaytrends.com — 62 country pages, hourly/dated lists, trend pages with rank-history charts, and most-tweeted / longest-trending leaderboards. Dated lists are the primary archive source for countries.
  3. Internet Archive Wayback Machine — best-effort fallback for older dated lists, especially cities, when the live archive page is unavailable. Wayback coverage is sparse, so not every historical hour exists.

The actor picks its pacing and proxy automatically. No proxy setup, cookie or token is required.

Limits you should know

  • Post volumes are mostly gone. X stopped publishing trend post counts in January 2026, and the public archives do not carry a reliable replacement. tweetVolume is emitted only when a source genuinely exposes it; most rows omit the field. Top-list score and trendingHours are ranking metrics, not post counts.
  • The hourly window is source-dependent. trends24 keeps its 24 latest snapshot cards, which usually span about 18–24 hours. For countries, fillMissingHours extends gaps with getdaytrends relative-hour lists. The exact coverage is visible in windowStart / windowEnd and every row's snapshotAt.
  • Dated country lists can be rate-limited. getdaytrends returns a Cloudflare 520 after a burst of archive requests from one IP. The actor paces requests, rotates through Apify Proxy's datacenter pool on a real block, and falls back to the Internet Archive when necessary. Wayback then supplies whatever trends24 snapshots it captured; a specific hour can still be unavailable if no upstream has it.
  • Cities do not have getdaytrends dated pages. Recent city hours come from trends24; older city hours depend on Wayback snapshots.
  • Trend lookup charts are worldwide. The rank-history charts describe the trend's worldwide page; currentRank is the rank in the location you requested. A trend that only trends locally may still have a worldwide page with sparse samples.
  • Snapshot timestamps are UTC. Dates and hours are UTC, not the location's local time.

FAQ

Do I need a login or an X account? No. There are no cookies, no API keys and no user tokens.

How far back can I go? As far as the public archives go. Country lists are available on getdaytrends for its supported date range (from May 2024); Wayback adds whatever snapshots it captured. The actor never invents data for a missing hour.

Why is tweetVolume missing? Because no public source currently reports it. The actor does not fabricate a value.

Can I get one row per snapshot instead of per trend? Yes — set groupBy to snapshot.

How do I find a location slug? Run mode: locations, or use a name you already know; the resolver accepts country names, ISO codes, country/city, City, Country and slugs.

Does it work for hashtags only? Set trendType to hashtagsOnly; use excludeHashtags for the opposite.

Daily prefill

The default prefill is the smallest run with output: hourlyTimeline for United States, maxItems: 3, maxSnapshots: 24. It fetches one trends24 page and returns three ranked trends with their window aggregates.