Twitter Trends Scraper avatar

Twitter Trends Scraper

Pricing

from $1.19 / 1,000 results

Go to Apify Store
Twitter Trends Scraper

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

Neuro Scraper

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

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.

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

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.

  • 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
  1. Open Twitter Trends Scraper in Apify Console and click Try for free.
  2. Fill in the input form (see the input table below). The prefilled example runs as it is.
  3. Click Start. Twitter Trends Scraper logs every step, so you can follow the progress in the Log tab.
  4. When Twitter Trends Scraper finishes, open the Output tab and export the dataset as JSON, CSV, Excel or HTML.
  5. 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.

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.

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.

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"
}

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.

FieldTypeWhat it meansExample from a test runWhen it can be empty
resultTypetexttrend (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
modetexttrends, or locations when getAvailableLocations is on"trends"Filled in every row of our test run
ranknumberPosition of the trend in its list (1 = top)1Empty on location and error rows
trendtextThe trend as X shows it, e.g. "#WorldCup" or "Good Saturday""Good Saturday"Empty on location and error rows
nametextThe trend (same as trend); on location rows the location name"Good Saturday"Filled in every row of our test run
isHashtagtrue/falsetrue when the trend is a hashtagfalseEmpty on location and error rows
tweetVolumenumberNumber of posts about the trend as a number, e.g. 3360037500Empty for trends whose volume X does not show, and on the 24 h lists (empty in 30 of 60 test rows)
volumetextNumber 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_countnumberNumber of posts (same as tweetVolume)37500Empty when X shows no volume for the trend (empty in 30 of 60 test rows)
tweetVolumeAvailabletrue/falsetrue when a post volume is shown for the trendtrueEmpty on location and error rows
listTypetexttrending now, most tweeted 24h or longest trending 24h (see the lists input)"trending now"Empty on error rows
timePeriodtextWhich 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
timeWindowtextThe time period (same as timePeriod)"now"Empty on location-list rows
locationtextThe location of the list, e.g. United States or Worldwide"United States"Filled in every row of our test run
locationNametextLocation name (same as location)"United States"Empty on error rows for an unknown location
locationSlugtextShort location key, e.g. united-states or worldwide"united-states"Empty on error rows
countrytextCountry name"United States"Empty for the worldwide list and on error rows
countryNametextCountry name (same as country)"United States"Empty for the worldwide list and on error rows
countryCodetext2-letter country code (ISO 3166), e.g. US"US"Empty for the worldwide list and on error rows
woeidnumberStandard location id (WOEID) used by trend tools: 1 = worldwide, 23424977 = United States23424977Empty on error rows
locationWoeidnumberLocation id (same as woeid)23424977Empty on error rows
parentIdnumberWOEID of the parent place: 1 (worldwide) for countries, 0 for worldwide itself1Empty on error rows
placeTypetextCountry, or Supername for worldwide"Country"Empty on error rows
locationTypetextPlace type (same as placeType)"Country"Empty on error rows
rankHistory8hlistRank 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
bestRank8hnumberBest (lowest) rank of the trend in the last 8 hours1Empty on the 24 h lists and on location rows
bestRanknumberBest rank of the trend (8-hour best, or its current rank)1Empty on the 24 h lists and on location rows
hoursInList8hnumberIn how many of the last 8 hours the trend was in the list5Empty on the 24 h lists and on location rows
score24hnullScore of the trend in the "most tweeted" list of the last 24 hoursnullEmpty for trends that are not in the 24 h top 10 (empty in 57 of 60 test rows)
trendingHours24hnullHow many hours of the last 24 the trend was trendingnullEmpty for trends that are not in the 24 h top 10 longest trending (empty in 55 of 60 test rows)
locationsTrendingInlistWhich of your requested locations have the trend in their current list["United States"]Empty on location and error rows
locationCountnumberHow many of your requested locations have the trend1Empty on location and error rows
isPromotedtrue/falsefalse - the public trend lists carry no promoted (paid) trendsfalseEmpty on location and error rows
querytextThe trend encoded for a search link, e.g. %23WorldCup"Good%20Saturday"Empty on location and error rows
xSearchUrltextLink that opens the trend's search on x.com"https://x.com/search?q=Good%20Saturday"Empty on location and error rows
searchUrltextSearch link (same as xSearchUrl)"https://x.com/search?q=Good%20Saturday"Empty on location and error rows
twitterSearchUrltextThe same search link on twitter.com"https://twitter.com/search?q=Good%20Saturday"Empty on location and error rows
urltextSearch 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
trendsnullWith outputFormat location: every trend of the list as rank, name, tweetVolume, volume, query, urlnullEmpty with the default one-row-per-trend format (empty in 60 of 60 test rows)
tweetIdtextId 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)
tweetUrltextLink 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)
fullTexttextFull 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)
createdAttextWhen 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)
langtextLanguage 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)
likeCountnumberLikes of the top post0Empty 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)
retweetCountnumberReposts of the top post0Empty 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)
repostCountnumberReposts of the top post (same as retweetCount)0Empty 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)
replyCountnumberReplies of the top post1Empty 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)
quoteCountnumberQuote posts of the top post0Empty 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)
bookmarkCountnumberBookmarks of the top post0Empty 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)
viewCountnumberViews of the top post18Empty 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)
hashtagslistHashtags 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)
mentionslistAccounts 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)
externalUrlsnullLinks in the top postnullEmpty 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)
imageUrlsnullImages of the top postnullEmpty 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)
videoUrlsnullDirect MP4 links of the top post's videosnullEmpty 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)
mediaTypetextphoto, 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)
isQuotetrue/falsetrue when the top post quotes another postfalseEmpty 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)
quotedTweetUrlnullLink to the post the top post quotesnullEmpty 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)
sourcenullApp the top post was sent fromnullX 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)
authorIdtextUser 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)
authorHandletextHandle 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)
authorNametextDisplay 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)
authorBiotextBio 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)
authorFollowersnumberFollowers of the author28Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows)
authorFollowingnumberAccounts the author follows198Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows)
authorTweetsCountnumberTotal posts of the author351Empty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows)
authorLocationtextLocation 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)
authorWebsitenullWebsite in the author's profilenullEmpty 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)
authorVerifiedtrue/falsetrue when the author has a verified checkmarkfalseEmpty unless includeTopPost is on and a top post was found for the trend (empty in 56 of 60 test rows)
authorCreatedAttextWhen 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)
authorProfileImagetextProfile 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)
authorBannerImagetextHeader 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)
authorUrltextProfile 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)
statustextok, or error on a row for a location or period that could not be read"ok"Filled in every row of our test run
reasonnullWhy a location or period could not be readnullNull on every successful row (empty in 60 of 60 test rows)
asOftextThe hour the list belongs to (ISO-8601, UTC)"2026-11-21T15:00:00Z"Filled in every row of our test run
created_attextThe hour the list belongs to (same as asOf)"2026-11-21T15:00:00Z"Filled in every row of our test run
timetextThe hour the list belongs to (same as asOf)"2026-11-21T15:00:00Z"Filled in every row of our test run
scrapedAttextWhen 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"
}

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 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) (empty in 56 of 60 rows of our test run).
  • tweetUrl: 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) (empty in 56 of 60 rows of our test run).
  • fullText: 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) (empty in 56 of 60 rows of our test run).
  • createdAt: 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) (empty in 56 of 60 rows of our test run).
  • lang: 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) (empty in 56 of 60 rows of our test run).
  • likeCount: 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) (empty in 56 of 60 rows of our test run).
  • retweetCount: 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) (empty in 56 of 60 rows of our test run).
  • repostCount: 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) (empty in 56 of 60 rows of our test run).
  • replyCount: 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) (empty in 56 of 60 rows of our test run).
  • quoteCount: 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) (empty in 56 of 60 rows of our test run).
  • bookmarkCount: 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) (empty in 56 of 60 rows of our test run).
  • viewCount: 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) (empty in 57 of 60 rows of our test run).
  • hashtags: 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) (empty in 58 of 60 rows of our test run).
  • mentions: 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) (empty in 58 of 60 rows of our test run).
  • externalUrls: 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) (empty in 60 of 60 rows of our test run).
  • imageUrls: 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) (empty in 59 of 60 rows of our test run).
  • videoUrls: 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) (empty in 60 of 60 rows of our test run).
  • mediaType: 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) (empty in 56 of 60 rows of our test run).
  • isQuote: 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) (empty in 56 of 60 rows of our test run).
  • quotedTweetUrl: 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) (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 unless includeTopPost is 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 unless includeTopPost is 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 unless includeTopPost is 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 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) (empty in 56 of 60 rows of our test run).
  • authorFollowers: Empty unless includeTopPost is 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 unless includeTopPost is 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 unless includeTopPost is 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 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) (empty in 56 of 60 rows of our test run).
  • authorWebsite: 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) (empty in 57 of 60 rows of our test run).
  • authorVerified: Empty unless includeTopPost is 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 unless includeTopPost is 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 unless includeTopPost is 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 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) (empty in 56 of 60 rows of our test run).
  • authorUrl: Empty unless includeTopPost is 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).

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.

FeatureIn top 5Twitter Trends Scraper
Trends by country5 of 5Yes (60+ countries)
Worldwide trends4 of 5Yes
Rank4 of 5Yes
Trend name / query / search URL5 of 5Yes
Timestamp of the list3 of 5Yes (asOf)
Most tweeted / longest trending1 of 5Yes (24 h top 10)
Rank history1 of 5Yes (last 8 hours)
Tweet volume per trend3 of 5Yes (tweetVolume, volume) - empty only for trends that show no volume
Past hours / days (1 h ... 3 days ago)2 of 5Yes 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 code3 of 5Yes (woeid, countryCode); WOEIDs and codes also work as input
Popular post per trend with author1 of 5Yes (includeTopPost)
List of available locations2 of 5Yes (getAvailableLocations)
One row per location with all trends1 of 5Yes (outputFormat location)
X's own topic category per trend2 of 5No - X shows the category only inside its app to signed-in users
Cities2 of 5No - country and worldwide lists only

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.

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 ApifyClient
client = 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.

FormatBest for
JSONdevelopers and APIs reading Twitter Trends Scraper rows
CSVspreadsheets and databases
Excelbusiness users and reports
HTML tablea quick look in the browser
RSS / XMLfeeds and older tools

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.

  • 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.

Twitter Trends Scraper is part of a family of social media scrapers. Combine Twitter Trends Scraper with these Actors:

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.

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.

Trends are updated every hour. Schedule the Twitter Trends Scraper hourly and each run stores that hour's list with its asOf time.

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.

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.

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.

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.

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.

No. Twitter Trends Scraper works without a X (Twitter) account, login or cookies. It reads only public data.

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.

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.

Every dataset of Twitter Trends Scraper can be downloaded as JSON, CSV, Excel, HTML, XML or RSS, or read through the Apify API.

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.

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.

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.

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.