Twitter Trends Scraper
Pricing
from $1.19 / 1,000 results
Twitter Trends Scraper
Twitter Trends Scraper SD - Twitter Trends Scraper is a social media data tool that extracts current X (Twitter) trending topics and hashtags for 60+ countries and worldwide: rank, 8-hour rank history, most tweeted and longest trending of the last 24 hours.
Pricing
from $1.19 / 1,000 results
Rating
0.0
(0)
Developer
Neuro Scraper
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Twitter Trends Scraper
Twitter Trends Scraper returns the trending topics and hashtags on X (Twitter) right now for worldwide and 60+ countries, in rank order, with the post volume of each trend, its rank over the last 8 hours, the lists of up to 23 hours ago, the most tweeted and longest trending topics of the last 24 hours and, on request, the most-liked recent post about each trend.
Also popular: the Facebook Reels Scraper - reels, captions, plays and authors from Facebook in one run.
Twitter Trends Scraper runs in the cloud on Apify. You give it a list of inputs, Twitter Trends Scraper collects the data and you download a clean dataset as JSON, CSV, Excel or HTML, or read it through the Apify API.
What does Twitter Trends Scraper do?
Twitter Trends Scraper turns X (Twitter) data into structured rows. Each row is one trend, with the same fields in the same order, so the output of Twitter Trends Scraper drops straight into a spreadsheet, a database or a Python script.
- Current trends per location in X's rank order (about 40-50 per location) with the post volume ("33.6K tweets")
- The lists of 1, 3, 6, 12 and 23 hours ago in the same run
- Optional top post per trend: text, likes, reposts, views, media and the author
- Rank history of every trend over the last 8 hours, hours in the list and best rank
- Top 10 most tweeted topics of the last 24 hours with their score
- Top 10 longest trending topics of the last 24 hours with hours trending
- Worldwide plus 60+ countries in one run, with country code and WOEID; a ready-made search link per trend
Why use Twitter Trends Scraper?
Copying X (Twitter) data by hand is slow and error-prone. Twitter Trends Scraper does it for many inputs at once, keeps the numbers as numbers and the dates in ISO-8601 UTC, and records which input produced each row.
Twitter Trends Scraper needs no X (Twitter) account, no login and no cookies. You do not share any password with Twitter Trends Scraper, and nothing is posted or changed on X (Twitter): Twitter Trends Scraper only reads public data.
Who uses Twitter Trends Scraper?
- Social media teams spotting topics to join early
- Newsrooms tracking what each country talks about
- Marketers timing campaigns and hashtags
- Researchers building hourly trend archives with a schedule
How to use Twitter Trends Scraper
- Open Twitter Trends Scraper in Apify Console and click Try for free.
- Fill in the input form (see the input table below). The prefilled example runs as it is.
- Click Start. Twitter Trends Scraper logs every step, so you can follow the progress in the Log tab.
- When Twitter Trends Scraper finishes, open the Output tab and export the dataset as JSON, CSV, Excel or HTML.
- Optional: schedule Twitter Trends Scraper, call it from the Apify API or connect it to Make, Zapier, n8n or Google Sheets.
Required: locations (one per line), unless getAvailableLocations is on.
What the log tells you: how many locations are offered today, one line per location and period with the number of trend rows ("United States (now): 15 trend row(s)"), an error line for an unknown location or a period that is not available, and - with top posts - how many trends got a post.
Input of Twitter Trends Scraper
The only required option is locations (unless you only list the available locations). Every other option has a safe default, so the prefilled input runs as it is. Each option below says what it does, how the Twitter Trends Scraper uses it, the allowed values, an example and how it combines with the other options.
locations - Locations
What it does: Where to read trends, one per line: worldwide, a country name or slug (United States, united-states, India, japan ...), a 2-letter country code (US, GB, JP) or a WOEID (23424977). 60+ countries are available.
How it works: Each location is matched against the list of locations that have X trends today, which the Actor reads at the start of every run. Names, slugs, 2-letter codes and WOEIDs all work. An unknown location gives an error row and a log line; the other locations continue.
Allowed values and default: a list of text values, one per line in the form; empty by default.
Example: "locations": ["worldwide", "United States", "JP", "23424848"]
Tip and combinations: Put several countries in one run to compare them: locationsTrendingIn then tells you where each trend trends. Use getAvailableLocations to see every supported location.
maxTrendsPerLocation - Max trends per location
What it does: How many current trends to keep per location (rank 1 first). X lists about 40-50 trends per location.
How it works: The limit is per location and per time period of the current list: ranks above this number are left out. X lists about 40-50 trends per location. The 24-hour lists always have 10 entries.
Allowed values and default: whole number from 1 to 100; default 50.
Example: "maxTrendsPerLocation": 20
Tip and combinations: 20 x 3 locations = up to 60 rows for the current lists. Lower it to 10 for a top-10 dashboard.
lists - Lists
What it does: Which lists to return: the trends right now, the top 10 most tweeted of the last 24 hours, and/or the top 10 longest trending of the last 24 hours.
How it works: now = the ranked list right now (and for each past hour you select); mostTweeted = the 10 most tweeted topics of the last 24 hours with their score; longest = the 10 topics that trended the longest in the last 24 hours with their hours.
Allowed values and default: a list with any of now, mostTweeted, longest; default ["now"].
Example: "lists": ["now", "mostTweeted"]
Tip and combinations: The 24-hour lists show what stayed big all day, which a single hourly list can miss.
live - Live now
What it does: The trend list right now.
How it works: The list of right now for every location is added to the output, with timePeriod "now". It is one more small read per location. It is on by default and used when no period is selected.
Allowed values and default: true or false; default true.
Example: "live": true
Tip and combinations: Switch it off and turn on only past hours when you want just a past snapshot.
hour1 - 1 hour ago
What it does: Also the trend list of 1 hour ago.
How it works: The list of 1 hour ago for every location is added to the output, with timePeriod "1 hour ago". It is one more small read per location.
Allowed values and default: true or false; default false.
Example: "hour1": true
Tip and combinations: Combine with live to see what entered or left the list in the last hour.
hour3 - 3 hours ago
What it does: Also the trend list of 3 hours ago.
How it works: The list of 3 hours ago for every location is added to the output, with timePeriod "3 hours ago". It is one more small read per location.
Allowed values and default: true or false; default false.
Example: "hour3": true
Tip and combinations: Good for comparing the morning and the afternoon lists in one run.
hour6 - 6 hours ago
What it does: Also the trend list of 6 hours ago.
How it works: The list of 6 hours ago for every location is added to the output, with timePeriod "6 hours ago". It is one more small read per location.
Allowed values and default: true or false; default false.
Example: "hour6": true
Tip and combinations: Use with hour12 to follow a topic over half a day.
hour12 - 12 hours ago
What it does: Also the trend list of 12 hours ago.
How it works: The list of 12 hours ago for every location is added to the output, with timePeriod "12 hours ago". It is one more small read per location.
Allowed values and default: true or false; default false.
Example: "hour12": true
Tip and combinations: Shows what the other half of the day was talking about.
hour24 - 24 hours ago (23 h)
What it does: Also the oldest list of the last day (23 hours ago).
How it works: Adds the oldest list of the last day, 23 hours ago (a 24-hours-ago list is not kept), with timePeriod "23 hours ago". It is one more small read per location.
Allowed values and default: true or false; default false.
Example: "hour24": true
Tip and combinations: Compare it with live to see what is new today.
day2 - 2 days ago
What it does: The list of 2 days ago - not available at the moment (the run logs an error row).
How it works: Asks for the list of 2 days ago. Lists of past days are not available at the moment (measured twice): the run writes an error row with the reason for each location and carries on.
Allowed values and default: true or false; default false.
Example: "day2": false
Tip and combinations: For a longer history, schedule the Actor hourly - every run stores its list with asOf.
day3 - 3 days ago
What it does: The list of 3 days ago - not available at the moment (the run logs an error row).
How it works: Asks for the list of 3 days ago. Like day2, lists of past days are not available at the moment: the run writes an error row with the reason and carries on.
Allowed values and default: true or false; default false.
Example: "day3": false
Tip and combinations: A daily schedule with live builds the same history going forward.
onlyHashtags - Only hashtags
What it does: Keep only trends that are hashtags (#...).
How it works: Keeps only trends that start with #. Other trends are left out before they are counted.
Allowed values and default: true or false; default false.
Example: "onlyHashtags": true
Tip and combinations: Useful when you want hashtags to join; with it on, a location may give fewer rows than maxTrendsPerLocation.
includeTopPost - Add the top post of each trend
What it does: Add the most-liked public post found about each trend (from the last day, else the last week, else any time - see createdAt): text, likes, reposts, replies, views, media and the author (bio, followers, location ...). Slower.
How it works: For each of the first topPostsForFirst trends of every current list the Actor finds recent public posts about the trend - from the last day, else the last week, else any time (check createdAt) - opens each one and attaches the most-liked one to the trend row: text, counts, media and the author with bio and followers. The same trend in several lists is looked up once.
Allowed values and default: true or false; default false.
Example: "includeTopPost": true
Tip and combinations: It turns a list of words into context - why something trends. It makes the run slower (seconds per trend), so keep topPostsForFirst small.
topPostsForFirst - Top post for the first N trends
What it does: Read the top post only for the first N trends of each list (rank 1..N).
How it works: Only the trends ranked 1 to N of each current list get a top post. Lower ranks keep the post columns empty. Only used with includeTopPost.
Allowed values and default: whole number from 1 to 100; default 10.
Example: "topPostsForFirst": 5
Tip and combinations: 5-10 covers what most people look at. 3 locations x 2 periods x 5 = up to 30 lookups.
topPostCandidates - Posts compared per trend
What it does: How many recent posts are opened per trend to pick the most-liked one.
How it works: How many recent posts are opened per trend; the one with the most likes becomes the top post. Only used with includeTopPost.
Allowed values and default: whole number from 1 to 10; default 3.
Example: "topPostCandidates": 5
Tip and combinations: 3 is a good balance between speed and finding the most popular post.
outputFormat - Output format
What it does: One row per trend, or one row per location and time period with all its trends in trends.
How it works: trend writes one row per trend. location writes one row per location, time period and list, with all its trends in the trends column (rank, name, volume, search link).
Allowed values and default: one of trend, location; default trend.
Example: "outputFormat": "location"
Tip and combinations: Use location for a compact archive or a dashboard per country; trend for spreadsheets and filters.
getAvailableLocations - Only list the available locations
What it does: Return the list of locations that have trends (name, slug, country code, WOEID) instead of trends.
How it works: Instead of trends, writes one row per location that has X trends today: name, slug, country code, WOEID and place type. All other options are ignored.
Allowed values and default: true or false; default false.
Example: "getAvailableLocations": true
Tip and combinations: Run it once to find the exact names to put into locations.
maxItems - Max rows in total
What it does: Optional cap for the whole run. 0 = no cap.
How it works: A total cap over all locations, periods and lists together. The run stops when this many rows are saved. 0 means no total cap.
Allowed values and default: whole number from 0 to 100,000; default 0.
Example: "maxItems": 200
Tip and combinations: Use it as a budget guard when you combine many locations with several periods.
proxyConfiguration - Proxy configuration
What it does: Chooses the Apify Proxy group and country the Actor connects through.
How it works: Every request goes through the proxy you pick here. The default residential group gives each session a real household IP address; when a session meets a rate limit the Actor drops it and continues on a fresh IP, so a long run keeps going without your input.
Allowed values and default: an Apify proxy settings object; default {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}.
Example: "proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}
Tip and combinations: Keep the default. Datacenter proxies are cheaper but are limited much faster, which shows up as fewer rows and more retries in the log. A proxy country only matters when you want results as seen from that country.
Ready-to-copy inputs for the Twitter Trends Scraper
Paste one of these into the JSON tab of the input form, or send it as the body of an API run:
1. Current trends in two countries - returns the top 20 trends right now in the United States and Japan with volumes and 8-hour rank history.
{"locations": ["united-states","Japan"],"maxTrendsPerLocation": 20}
2. Trends now and earlier today with top posts - returns the current and 6-hours-ago lists, with the top post of the first 5 trends.
{"locations": ["worldwide","india"],"maxTrendsPerLocation": 15,"live": true,"hour6": true,"includeTopPost": true,"topPostsForFirst": 5}
3. One row per country with the 24 h lists - returns one row per country and list, each with all its trends.
{"locations": ["united-kingdom","brazil","nigeria"],"lists": ["now","mostTweeted","longest"],"outputFormat": "location"}
Output of Twitter Trends Scraper
One row is one trend in one list (location, time period and list type) - or, with outputFormat location, one row per list with all its trends. With includeTopPost the first trends also carry their most-liked recent post and its author. A value that is not shown for a trend is null, never invented. Several columns repeat a value under the names other trend tools use, so a sheet built for another tool keeps working.
| Field | Type | What it means | Example from a test run | When it can be empty |
|---|---|---|---|---|
resultType | text | trend (a trend row), location (a location row) or error (a location or period that could not be read) | "trend" | Filled in every row of our test run |
mode | text | trends, or locations when getAvailableLocations is on | "trends" | Filled in every row of our test run |
rank | number | Position of the trend in its list (1 = top) | 1 | Empty on location and error rows |
trend | text | The trend as X shows it, e.g. "#WorldCup" or "Good Saturday" | "Good Saturday" | Empty on location and error rows |
name | text | The trend (same as trend); on location rows the location name | "Good Saturday" | Filled in every row of our test run |
isHashtag | true/false | true when the trend is a hashtag | false | Empty on location and error rows |
tweetVolume | number | Number of posts about the trend as a number, e.g. 33600 | 37500 | Empty for trends whose volume X does not show, and on the 24 h lists (empty in 30 of 60 test rows) |
volume | text | Number of posts as shown, e.g. "33.6K tweets" | "37.5K tweets" | Empty for trends whose volume X does not show, and on the 24 h lists (empty in 30 of 60 test rows) |
tweet_count | number | Number of posts (same as tweetVolume) | 37500 | Empty when X shows no volume for the trend (empty in 30 of 60 test rows) |
tweetVolumeAvailable | true/false | true when a post volume is shown for the trend | true | Empty on location and error rows |
listType | text | trending now, most tweeted 24h or longest trending 24h (see the lists input) | "trending now" | Empty on error rows |
timePeriod | text | Which list the row comes from: now, 1 hour ago ... 23 hours ago, or 24h for the 24-hour lists | "now" | Empty on location-list rows |
timeWindow | text | The time period (same as timePeriod) | "now" | Empty on location-list rows |
location | text | The location of the list, e.g. United States or Worldwide | "United States" | Filled in every row of our test run |
locationName | text | Location name (same as location) | "United States" | Empty on error rows for an unknown location |
locationSlug | text | Short location key, e.g. united-states or worldwide | "united-states" | Empty on error rows |
country | text | Country name | "United States" | Empty for the worldwide list and on error rows |
countryName | text | Country name (same as country) | "United States" | Empty for the worldwide list and on error rows |
countryCode | text | 2-letter country code (ISO 3166), e.g. US | "US" | Empty for the worldwide list and on error rows |
woeid | number | Standard location id (WOEID) used by trend tools: 1 = worldwide, 23424977 = United States | 23424977 | Empty on error rows |
locationWoeid | number | Location id (same as woeid) | 23424977 | Empty on error rows |
parentId | number | WOEID of the parent place: 1 (worldwide) for countries, 0 for worldwide itself | 1 | Empty on error rows |
placeType | text | Country, or Supername for worldwide | "Country" | Empty on error rows |
locationType | text | Place type (same as placeType) | "Country" | Empty on error rows |
rankHistory8h | list | Rank of the trend in each of the last 8 hours, oldest first; null = not in the list that hour | [null, null, null, 1, 7, 3, 1, 1] | Empty on the 24 h lists and on location rows |
bestRank8h | number | Best (lowest) rank of the trend in the last 8 hours | 1 | Empty on the 24 h lists and on location rows |
bestRank | number | Best rank of the trend (8-hour best, or its current rank) | 1 | Empty on the 24 h lists and on location rows |
hoursInList8h | number | In how many of the last 8 hours the trend was in the list | 5 | Empty on the 24 h lists and on location rows |
score24h | null | Score of the trend in the "most tweeted" list of the last 24 hours | null | Empty for trends that are not in the 24 h top 10 (empty in 57 of 60 test rows) |
trendingHours24h | null | How many hours of the last 24 the trend was trending | null | Empty for trends that are not in the 24 h top 10 longest trending (empty in 55 of 60 test rows) |
locationsTrendingIn | list | Which of your requested locations have the trend in their current list | ["United States"] | Empty on location and error rows |
locationCount | number | How many of your requested locations have the trend | 1 | Empty on location and error rows |
isPromoted | true/false | false - the public trend lists carry no promoted (paid) trends | false | Empty on location and error rows |
query | text | The trend encoded for a search link, e.g. %23WorldCup | "Good%20Saturday" | Empty on location and error rows |
xSearchUrl | text | Link that opens the trend's search on x.com | "https://x.com/search?q=Good%20Saturday" | Empty on location and error rows |
searchUrl | text | Search link (same as xSearchUrl) | "https://x.com/search?q=Good%20Saturday" | Empty on location and error rows |
twitterSearchUrl | text | The same search link on twitter.com | "https://twitter.com/search?q=Good%20Saturday" | Empty on location and error rows |
url | text | Search link of the trend; on location rows the link of the location's trend list | "https://x.com/search?q=Good%20Saturday" | Filled in every row of our test run |
trends | null | With outputFormat location: every trend of the list as rank, name, tweetVolume, volume, query, url | null | Empty with the default one-row-per-trend format (empty in 60 of 60 test rows) |
tweetId | text | Id of the top post about the trend | "2123799121446551864" | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
tweetUrl | text | Link to the top post | "https://x.com/imDarshanGK/status/21237991214... | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
fullText | text | Full text of the top post | "@JioCare @JioCare @reliancejio Pawan, I have... | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
createdAt | text | When the top post was published | "2026-11-20T15:22:23Z" | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
lang | text | Language of the top post | "en" | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
likeCount | number | Likes of the top post | 0 | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
retweetCount | number | Reposts of the top post | 0 | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
repostCount | number | Reposts of the top post (same as retweetCount) | 0 | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
replyCount | number | Replies of the top post | 1 | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
quoteCount | number | Quote posts of the top post | 0 | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
bookmarkCount | number | Bookmarks of the top post | 0 | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
viewCount | number | Views of the top post | 18 | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 57 of 60 test rows) |
hashtags | list | Hashtags in the top post | ["Jio"] | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found and the post has hashtags (empty in 58 of 60 test rows) |
mentions | list | Accounts mentioned in the top post | ["JioCare", "JioCare", "reliancejio"] | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found and the post mentions someone (empty in 58 of 60 test rows) |
externalUrls | null | Links in the top post | null | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found and the post has links (empty in 60 of 60 test rows) |
imageUrls | null | Images of the top post | null | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found and the post has images (empty in 59 of 60 test rows) |
videoUrls | null | Direct MP4 links of the top post's videos | null | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found and the post has a video (empty in 60 of 60 test rows) |
mediaType | text | photo, video, gif or text for the top post | "text" | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
isQuote | true/false | true when the top post quotes another post | false | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found (empty in 56 of 60 test rows) |
quotedTweetUrl | null | Link to the post the top post quotes | null | Empty unless includeTopPost is on; filled for the first topPostsForFirst trends of each current list when a recent post was found and the post quotes another (empty in 59 of 60 test rows) |
source | null | App the top post was sent from | null | X no longer publishes the app of a post (no such key in the post record, measured 2026-11-21) - always empty (empty in 60 of 60 test rows) |
authorId | text | User id of the top post's author | "1540329200577814528" | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
authorHandle | text | Handle of the top post's author | "imDarshanGK" | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
authorName | text | Display name of the author | "Darshan" | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
authorBio | text | Bio of the author | "Building offline-first AI tools · Python · F... | Empty unless includeTopPost is on and a top post was found for the trend and the author has a bio (empty in 56 of 60 test rows) |
authorFollowers | number | Followers of the author | 28 | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
authorFollowing | number | Accounts the author follows | 198 | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
authorTweetsCount | number | Total posts of the author | 351 | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
authorLocation | text | Location in the author's profile | "Tumkur, India" | Empty unless includeTopPost is on and a top post was found for the trend and the author wrote one (empty in 56 of 60 test rows) |
authorWebsite | null | Website in the author's profile | null | Empty unless includeTopPost is on and a top post was found for the trend and the author has a website (empty in 57 of 60 test rows) |
authorVerified | true/false | true when the author has a verified checkmark | false | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
authorCreatedAt | text | When the author's account was created | "2022-06-24T13:41:58Z" | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
authorProfileImage | text | Profile picture of the author | "https://pbs.twimg.com/profile_images/2058885... | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
authorBannerImage | text | Header image of the author | "https://pbs.twimg.com/profile_banners/154032... | Empty unless includeTopPost is on and a top post was found for the trend and the author has one (empty in 56 of 60 test rows) |
authorUrl | text | Profile link of the author | "https://x.com/imDarshanGK" | Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows) |
status | text | ok, or error on a row for a location or period that could not be read | "ok" | Filled in every row of our test run |
reason | null | Why a location or period could not be read | null | Null on every successful row (empty in 60 of 60 test rows) |
asOf | text | The hour the list belongs to (ISO-8601, UTC) | "2026-11-21T15:00:00Z" | Filled in every row of our test run |
created_at | text | The hour the list belongs to (same as asOf) | "2026-11-21T15:00:00Z" | Filled in every row of our test run |
time | text | The hour the list belongs to (same as asOf) | "2026-11-21T15:00:00Z" | Filled in every row of our test run |
scrapedAt | text | When the row was written (ISO-8601, UTC) | "2026-11-21T15:50:55Z" | Filled in every row of our test run |
A real row from a Twitter Trends Scraper test run (long values shortened):
{"rank": 1,"trend": "Good Saturday","isHashtag": false,"tweetVolume": 37500,"volume": "37.5K tweets","listType": "trending now","timePeriod": "now","location": "United States","countryCode": "US","woeid": 23424977,"rankHistory8h": [null,null],"bestRank8h": 1,"locationsTrendingIn": ["United States"],"xSearchUrl": "https://x.com/search?q=Good%20Saturday","tweetUrl": "https://x.com/imDarshanGK/status/2123799121446551864","fullText": "@JioCare @JioCare @reliancejio Pawan, I have already shared my details through DM, but there is still no proper respo...","likeCount": 0,"authorHandle": "imDarshanGK","asOf": "2026-11-21T15:00:00Z"}
Which columns of Twitter Trends Scraper can be empty
Measured on our latest test run: these columns were empty on more than 10% of the rows. Each line says why - in every case the value is not shown for those items (or belongs to another row type or option), so the Twitter Trends Scraper writes null instead of guessing.
tweetVolume: Empty for trends whose volume X does not show, and on the 24 h lists (empty in 30 of 60 test rows) (empty in 30 of 60 rows of our test run).volume: Empty for trends whose volume X does not show, and on the 24 h lists (empty in 30 of 60 test rows) (empty in 30 of 60 rows of our test run).tweet_count: Empty when X shows no volume for the trend (empty in 30 of 60 test rows) (empty in 30 of 60 rows of our test run).score24h: Empty for trends that are not in the 24 h top 10 (empty in 57 of 60 test rows) (empty in 57 of 60 rows of our test run).trendingHours24h: Empty for trends that are not in the 24 h top 10 longest trending (empty in 55 of 60 test rows) (empty in 55 of 60 rows of our test run).trends: Empty with the default one-row-per-trend format (empty in 60 of 60 test rows) (empty in 60 of 60 rows of our test run).tweetId: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).tweetUrl: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).fullText: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).createdAt: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).lang: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).likeCount: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).retweetCount: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).repostCount: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).replyCount: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).quoteCount: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).bookmarkCount: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).viewCount: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 57 of 60 test rows) (empty in 57 of 60 rows of our test run).hashtags: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found and the post has hashtags (empty in 58 of 60 test rows) (empty in 58 of 60 rows of our test run).mentions: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found and the post mentions someone (empty in 58 of 60 test rows) (empty in 58 of 60 rows of our test run).externalUrls: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found and the post has links (empty in 60 of 60 test rows) (empty in 60 of 60 rows of our test run).imageUrls: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found and the post has images (empty in 59 of 60 test rows) (empty in 59 of 60 rows of our test run).videoUrls: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found and the post has a video (empty in 60 of 60 test rows) (empty in 60 of 60 rows of our test run).mediaType: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).isQuote: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).quotedTweetUrl: Empty unlessincludeTopPostis on; filled for the firsttopPostsForFirsttrends of each current list when a recent post was found and the post quotes another (empty in 59 of 60 test rows) (empty in 59 of 60 rows of our test run).source: X no longer publishes the app of a post (no such key in the post record, measured 2026-11-21) - always empty (empty in 60 of 60 test rows) (empty in 60 of 60 rows of our test run).authorId: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorHandle: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorName: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorBio: Empty unlessincludeTopPostis on and a top post was found for the trend and the author has a bio (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorFollowers: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorFollowing: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorTweetsCount: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorLocation: Empty unlessincludeTopPostis on and a top post was found for the trend and the author wrote one (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorWebsite: Empty unlessincludeTopPostis on and a top post was found for the trend and the author has a website (empty in 57 of 60 test rows) (empty in 57 of 60 rows of our test run).authorVerified: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorCreatedAt: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorProfileImage: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorBannerImage: Empty unlessincludeTopPostis on and a top post was found for the trend and the author has one (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).authorUrl: Empty unlessincludeTopPostis on and a top post was found for the trend (empty in 56 of 60 test rows) (empty in 56 of 60 rows of our test run).reason: Null on every successful row (empty in 60 of 60 test rows) (empty in 60 of 60 rows of our test run).
Features of Twitter Trends Scraper compared with the top 5 Apify Store Actors
The table lists every feature the five most-used Store Actors of this type offer, how many of them offer it, and whether Twitter Trends Scraper has it. "No" always comes with the measured reason.
| Feature | In top 5 | Twitter Trends Scraper |
|---|---|---|
| Trends by country | 5 of 5 | Yes (60+ countries) |
| Worldwide trends | 4 of 5 | Yes |
| Rank | 4 of 5 | Yes |
| Trend name / query / search URL | 5 of 5 | Yes |
| Timestamp of the list | 3 of 5 | Yes (asOf) |
| Most tweeted / longest trending | 1 of 5 | Yes (24 h top 10) |
| Rank history | 1 of 5 | Yes (last 8 hours) |
| Tweet volume per trend | 3 of 5 | Yes (tweetVolume, volume) - empty only for trends that show no volume |
| Past hours / days (1 h ... 3 days ago) | 2 of 5 | Yes for 1, 3, 6, 12 and 23 hours ago; days 2 and 3: no - past-day lists answered a server error (HTTP 520) in two measurements, the run writes an error row |
| WOEID / country code | 3 of 5 | Yes (woeid, countryCode); WOEIDs and codes also work as input |
| Popular post per trend with author | 1 of 5 | Yes (includeTopPost) |
| List of available locations | 2 of 5 | Yes (getAvailableLocations) |
| One row per location with all trends | 1 of 5 | Yes (outputFormat location) |
| X's own topic category per trend | 2 of 5 | No - X shows the category only inside its app to signed-in users |
| Cities | 2 of 5 | No - country and worldwide lists only |
Limits of Twitter Trends Scraper
Twitter Trends Scraper reports what it can measure and nothing else. These limits were measured on live runs:
- Post volumes are shown for most, not all, trends; trends without a volume have it empty.
- Past-hour lists go back 23 hours; lists of past days were not available in our tests.
- Countries only (no cities).
- For history, schedule the Actor every hour - every run stores the list with its asOf hour.
Twitter Trends Scraper with the Apify API, Python and integrations
You can start Twitter Trends Scraper from your own code. The Apify API runs Twitter Trends Scraper with your input and returns the dataset when the run ends. This Python example uses the official apify-client package:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run = client.actor("neuro-scraper/twitter-trends-scraper").call(run_input={"locations": ["worldwide", "united-states"], "lists": ["now", "mostTweeted"]})for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
The same run from Node.js with the apify-client package:
import { ApifyClient } from 'apify-client';const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });const run = await client.actor('neuro-scraper/twitter-trends-scraper').call({"locations": ["united-states", "Japan"], "maxTrendsPerLocation": 20});const { items } = await client.dataset(run.defaultDatasetId).listItems();console.log(items);
Or with one HTTP call that runs the Twitter Trends Scraper and returns the rows when it finishes:
curl -X POST 'https://api.apify.com/v2/acts/neuro-scraper~twitter-trends-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \-H 'Content-Type: application/json' \-d '{"locations": ["united-states", "Japan"], "maxTrendsPerLocation": 20}'
The same run works from JavaScript, from a webhook, or with no code at all: Twitter Trends Scraper plugs into Make, Zapier, n8n, Google Sheets, Slack and Airbyte through the Apify integrations.
A schedule turns Twitter Trends Scraper into a monitor. Run Twitter Trends Scraper every day with the same input, export each dataset, and compare the numbers over time in a spreadsheet or a BI tool.
Export formats of Twitter Trends Scraper
| Format | Best for |
|---|---|
| JSON | developers and APIs reading Twitter Trends Scraper rows |
| CSV | spreadsheets and databases |
| Excel | business users and reports |
| HTML table | a quick look in the browser |
| RSS / XML | feeds and older tools |
Pricing of Twitter Trends Scraper
Twitter Trends Scraper uses pay-per-event pricing: you pay a small fee per trend written to the dataset, plus a tiny start fee per run. There is no monthly rental. The limit inputs and the run's maximum cost setting keep every run of Twitter Trends Scraper inside your budget.
Cost example for the Twitter Trends Scraper: one result is one trend row written to the dataset. The price is $1.49 per 1,000 results on the Apify Free plan, $1.39 per 1,000 on Starter, $1.29 per 1,000 on Scale and $1.19 per 1,000 on Business. So 100 trend rows cost about $0.15 and 1,000 trend rows cost $1.49 on the Free plan. Example: 10 countries x 20 trends every hour for a day = 4,800 rows = about $7.15 on the Free plan.
How to cap the cost: Lower maxTrendsPerLocation, select fewer periods and lists, or set maxItems. You can also set Maximum cost per run in the run options; the run stops cleanly when that budget is reached and keeps every row it already saved.
Limits we measured: X lists about 40-50 trends per country (43 for the United States). Past-hour lists go back 23 hours; lists of past days were not available in our tests (two measurements). Countries and worldwide only, no cities. A run of 2 countries x 2 periods without top posts takes well under a minute. Top posts: in our tests a public post was found for 3 of 12 trends (names that are new, short or not in Latin script are rarely findable yet) and a run with 12 lookups took about 4 minutes.
Apify's free plan includes monthly credit, enough to try Twitter Trends Scraper on real inputs. Free-plan runs of Twitter Trends Scraper are capped at 30 results per run.
Tips for better results with Twitter Trends Scraper
- Start Twitter Trends Scraper with the prefilled input to see the output format, then add your own inputs.
- Keep the default residential proxy: X (Twitter) limits anonymous visitors per IP address, and Twitter Trends Scraper switches to a fresh IP when it meets a limit.
- Use the limit fields of Twitter Trends Scraper to control cost; the limits apply per input.
- Read the run log: Twitter Trends Scraper names every input that failed and why, and the final status message sums it up.
Related Actors you can use with Twitter Trends Scraper
Twitter Trends Scraper is part of a family of social media scrapers. Combine Twitter Trends Scraper with these Actors:
- Facebook Reels Scraper
- Instagram Trends Scraper
- Facebook Hashtag Scraper
- Instagram Hashtag Scraper
- YouTube Shorts Scraper
- TikTok Video Details Scraper
- Instagram Keyword Scraper
- Facebook Posts Scraper
- YouTube Comments Scraper
- Instagram Scraper
- Facebook Groups Scraper
- Snapchat Profile Scraper
Is it legal to use Twitter Trends Scraper?
Twitter Trends Scraper reads only public data that any visitor can see without logging in. It does not access private accounts, messages or anything behind a login.
Results of Twitter Trends Scraper can still contain personal data. Personal data is protected by GDPR in the European Union and by similar laws elsewhere. Do not scrape personal data unless you have a legitimate reason, and ask a lawyer if you are unsure. Respect the X (Twitter) terms that apply to you.
Reviews and feedback for Twitter Trends Scraper
Did Twitter Trends Scraper save you time? A short review on the Apify Store helps other users find Twitter Trends Scraper. If something does not work, open an issue on the Issues tab of Twitter Trends Scraper and include the run link: every report is read and answered.
FAQ about Twitter Trends Scraper
How often does the Twitter Trends Scraper data change?
Trends are updated every hour. Schedule the Twitter Trends Scraper hourly and each run stores that hour's list with its asOf time.
Which countries does the Twitter Trends Scraper support?
Worldwide and 60+ countries - from the United States, India, Japan and Brazil to Nigeria, Saudi Arabia and Turkey. The Twitter Trends Scraper reads the list of available countries on every run and logs an error for a name it does not know.
What is rankHistory8h in the Twitter Trends Scraper?
The rank of the trend in each of the last 8 hours, oldest first. null means the trend was not in the list that hour, so you can see whether a topic is rising or fading.
Can the Twitter Trends Scraper compare countries?
Yes. Put several locations in one run - for example worldwide, united-states, united-kingdom and india - and the Twitter Trends Scraper writes every list with its location, so a pivot table shows which topics trend where.
What does the Twitter Trends Scraper cost per run?
A run of the Twitter Trends Scraper reads one small page per location, so even 60 countries finish in about a minute and cost a few cents, plus the per-result price.
Does the Twitter Trends Scraper give tweet volumes?
Yes. Every current trend carries its post volume as shown (volume, e.g. "33.6K tweets") and as a number (tweetVolume), when a volume is shown for it. The Twitter Trends Scraper also gives the 24-hour score of the top 10 most tweeted topics and the hours trending of the top 10 longest trending.
Do I need a X (Twitter) account to use Twitter Trends Scraper?
No. Twitter Trends Scraper works without a X (Twitter) account, login or cookies. It reads only public data.
How fast is Twitter Trends Scraper?
Twitter Trends Scraper paces its requests like a careful visitor and uses residential IPs. Small runs finish in about a minute; the run log shows the progress of Twitter Trends Scraper for every input.
Can I schedule Twitter Trends Scraper?
Yes. In Apify Console, create a task with your input for Twitter Trends Scraper and add a schedule (hourly, daily, weekly). Each scheduled run of Twitter Trends Scraper produces a new dataset.
Which export formats does Twitter Trends Scraper support?
Every dataset of Twitter Trends Scraper can be downloaded as JSON, CSV, Excel, HTML, XML or RSS, or read through the Apify API.
Why is a field of Twitter Trends Scraper empty?
Twitter Trends Scraper writes null when X (Twitter) does not publish that value for the trend. Twitter Trends Scraper never fills a field with a guess.
Why did I get fewer trends than maxTrendsPerLocation?
X lists only about 40-50 trends per location, onlyHashtags drops the other trends, and the 24-hour lists always have 10 entries. The Twitter Trends Scraper never pads a list.
Can I get trends for many countries in one run?
Yes. Put every country in locations; each row carries its location, and locationsTrendingIn shows which of them share a trend.
How do I keep a trend history?
Schedule the Twitter Trends Scraper every hour with live on. Each run stores the list with its asOf hour; past-hour options fill the last 23 hours right away.
Why are the post columns empty?
They are filled only with includeTopPost on, for the first topPostsForFirst trends, and only when a recent public post about the trend was found.
How do I report a problem with Twitter Trends Scraper?
Open the Issues tab of Twitter Trends Scraper on the Apify Store, describe what you expected and paste the run link. Problems with Twitter Trends Scraper are usually fixed within days.