X Trends History Archive: Hourly Timeline & Rank History
Pricing
from $0.49 / 1,000 results
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
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Features
Share
X Trends History Archive
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
| Mode | What it returns |
|---|---|
hourlyTimeline | The 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. |
dateRangeArchive | One ranked list per requested UTC date-hour. Rows are deduplicated per location, date, hour and trend. |
trendLookup | For 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. |
topLists | Most-tweeted and longest-trending hashtags for a day, week, month or year, with score, total trending duration and last-seen time. |
locations | Every supported country and city with its archive URLs and source coverage. |
Inputs
| Field | Type | Default | Used by |
|---|---|---|---|
mode | select | hourlyTimeline | all modes |
locations | string list | ["United States"] | timeline, archive, top lists; first location is the context in trend lookup |
trends | string list | ["Gane"] | trend lookup |
startDate | text | – | date-range archive (today UTC when empty) |
endDate | text | – | date-range archive (today UTC when empty) |
hours | string list | [] (all 24) | date-range archive |
trendType | select | all | all trend rows |
keywordContains | text | – | all trend rows |
keywordExcludes | text | – | all trend rows |
maxRank | integer | 50 | all trend rows |
maxItems | integer | 500 (prefill 3) | all modes |
maxSnapshots | integer | 48 (prefill 24) | timeline and archive |
fillMissingHours | boolean | true (prefill false) | hourly timeline |
groupBy | select | trend | hourly timeline |
includeRankHistory | boolean | true | timeline and trend lookup |
includeSearchUrls | boolean | true | all trend rows |
archiveFallback | boolean | true | date-range archive |
period | select | week | top lists |
metric | select | both | top 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.
| Field | Appears in | Meaning |
|---|---|---|
date, hourUtc, snapshotAt | archive, snapshot rows | UTC date, hour and exact capture time |
rank | archive, snapshot, top lists | Position in that list |
trend | all trend rows | Topic or hashtag |
isHashtag, isCashtag | all trend rows | # and $ flags |
bestRank, latestRank, averageRank | timeline | Aggregates over the window |
firstSeenAt, lastSeenAt | timeline, lookup | Oldest and newest observation |
hoursTrending, snapshotsSeen | timeline | Distinct hours and snapshots observed |
rankHistory | timeline | [{at, rank}] samples |
rankHistory24h, rankHistory7d, rankHistory30d, rankHistoryYear | trend lookup | Rank samples decoded from the source's history charts |
worldwideRank, currentRank, locationCount, currentlyTrendingCount | trend lookup | Cross-location position |
locationsTrendingIn | trend lookup | Location names, ranks and last-seen text |
score | top lists | Source score for most-tweeted lists |
trendingHours | top lists | Total duration on the longest-trending list |
tweetVolume | timeline, archive | Published post count, only when the source still exposes one |
datedListSource | location rows | getdaytrends for countries/Worldwide, trends24+wayback for cities |
searchUrl, trendUrl | trend rows | X 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:
- 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.
- 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.
- 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.
tweetVolumeis emitted only when a source genuinely exposes it; most rows omit the field. Top-listscoreandtrendingHoursare 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,
fillMissingHoursextends gaps with getdaytrends relative-hour lists. The exact coverage is visible inwindowStart/windowEndand every row'ssnapshotAt. - 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;
currentRankis 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
hoursare 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.