X Trends Lookup by Country, City & WOEID

Get ranked trending topics on X for any country or city, or for all 467 locations at once, with trend type, ready-made search links and post volumes when X publishes them.

Open in Apify Store$0.99 / 1K on Free

Short answer

X Trends Lookup by Country, City & WOEID is an Apify Store Actor for X (Twitter) data that returns 10 published output fields, including type, location, trend, trendType. It lists $0.99 per 1,000 results on the Free plan (pay per event), $0.49 on the Business plan. It takes 10 input settings; one is required (mode). It covers 0 of the 7 core X (Twitter) fields this site tracks. Last updated Nov 2, 2026.

From the public Store listing and published build schema, synced 2026-11-12.
X (Twitter) Social mediaNewsAutomation

What it returns

10 fields from the published dataset schema. Export as JSON, CSV or Excel, or read the dataset through the Apify API.

  • type
  • location
  • rank
  • trend
  • trendType
  • countryCode
  • locationCount
  • searchUrl
  • asOf
  • collectedAt

Not in the schema among the core X (Twitter) fields: post_id, text, author, posted_at, likes, reposts, url. The field matrix shows which other tools return them.

How it differs from the other X (Twitter) Actors

Among the 12 catalogue Actors for X (Twitter) with a published schema, only this one returns location, trend, locationCount, asOf.

Pick another Actor if you need

Fields other X (Twitter) catalogue Actors return that X Trends Lookup by Country, City & WOEID does not
ActorFields it addsPrice / 1K
Twitter (X) Media Downloader tweetId, tweetUrl, mediaUrl, mediaUrlOriginal $0.99
X Post, Reply & Profile Lookup by Link or ID text, author.username, createdAt, likeCount $0.99
X (Twitter) Profile & Post Engagement Extractor message, username, name, text $0.99
X Video Subtitle & Caption Transcript Converter tweetUrl, tweetId, videoIndex, videoSource $0.99
X/Twitter Keyword & Hashtag Tweet Search text, author.username, createdAt, language $0.99

Input

Input settings for X Trends Lookup by Country, City & WOEID
SettingTypeRequiredDefaultWhat it does
mode string Yes trends Choose whether to collect the current trends or list the places X publishes trends for.
locations array No ["Worldwide"] Countries, cities, country codes, slugs or WOEIDs (mode=trends). Examples: Worldwide, United States, US, United Kingdom, GB, London, Tokyo, sao-paulo, 23424977. Put "all" to collect every location. Add a country after a comma when two places share a name, for example "Barcelona, ES".
allLocations boolean No false Collect trends for every place X serves (currently 467 countries and cities, up to 50 trends each). When enabled, the Locations list is ignored.
maxTrendsPerLocation integer No 50 How many ranked trends to keep for each location. X publishes up to 50.
excludeHashtags boolean No false Skip trends that start with #. X applies this filter before returning the list.
trendNameContains array No [] Optional case-insensitive keyword filter. A trend is kept when its name contains at least one of these words. Useful for brand or topic monitoring.
dedupeAcrossLocations boolean No false When the same trend appears in several requested locations, keep one row with all locations and the best rank instead of one row per location.
includeSearchUrls boolean No true Include a ready-made X search link for every trend.
placeTypeFilter string No all Limit the location list to countries, cities and towns, the worldwide entry, or X's unknown place type.
proxyConfiguration object No – Optional. Use a proxy if you plan very large or repeated runs.

Example input

Built from the input form's published example values and defaults.

{
  "mode": "trends",
  "locations": [
    "Worldwide"
  ],
  "allLocations": false,
  "maxTrendsPerLocation": 3,
  "excludeHashtags": false,
  "trendNameContains": [],
  "dedupeAcrossLocations": false,
  "includeSearchUrls": true,
  "placeTypeFilter": "all"
}

Run it from code or an AI agent

The same run through the Apify API, with the example input. You need an Apify API token; the run is billed to your account at the Store price.

Python

from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
    "mode": "trends",
    "locations": [
        "Worldwide"
    ],
    "allLocations": False,
    "maxTrendsPerLocation": 3,
    "excludeHashtags": False,
    "trendNameContains": [],
    "dedupeAcrossLocations": False,
    "includeSearchUrls": True,
    "placeTypeFilter": "all"
}

run = client.actor("nimbryxo-studio/x-trends-lookup-by-country-city-and-woeid").call(run_input=run_input)
if run is None:
    raise RuntimeError("The Actor run was not found.")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

pip install apify-client

JavaScript

import { ApifyClient } from "apify-client";

const client = new ApifyClient({ token: "<YOUR_APIFY_TOKEN>" });
const input = {
    "mode": "trends",
    "locations": [
        "Worldwide"
    ],
    "allLocations": false,
    "maxTrendsPerLocation": 3,
    "excludeHashtags": false,
    "trendNameContains": [],
    "dedupeAcrossLocations": false,
    "includeSearchUrls": true,
    "placeTypeFilter": "all"
};

const run = await client.actor("nimbryxo-studio/x-trends-lookup-by-country-city-and-woeid").call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

npm install apify-client

cURL

curl -X POST "https://api.apify.com/v2/actors/nimbryxo-studio~x-trends-lookup-by-country-city-and-woeid/run-sync-get-dataset-items"   -H "Authorization: Bearer $APIFY_TOKEN"   -H "Content-Type: application/json"   -d '{"mode":"trends","locations":["Worldwide"],"allLocations":false,"maxTrendsPerLocation":3,"excludeHashtags":false,"trendNameContains":[],"dedupeAcrossLocations":false,"includeSearchUrls":true,"placeTypeFilter":"all"}'

Waits for the run and returns the dataset items (runs over 300 seconds return HTTP 408; start an async run instead).

MCP (AI agents)

{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=nimbryxo-studio/x-trends-lookup-by-country-city-and-woeid",
      "headers": {
        "Authorization": "Bearer <YOUR_APIFY_TOKEN>"
      }
    }
  }
}

Adds this Actor as a tool in an MCP client that takes a remote server URL (Cursor, VS Code, Claude Code) through Apify's hosted MCP server. OAuth sign-in also works without the header. Clients that only start local servers can wrap the URL with npx mcp-remote.

What a run costs

The result rate falls on higher Apify plans. Each figure is the published per-result rate times the number of results.

Cost of X Trends Lookup by Country, City & WOEID results by Apify plan
Apify planPer 1,00010,000 results100,000 results
Free plan$0.99$9.90$99
Starter plan$0.82$8.20$82
Scale plan$0.66$6.60$66
Business plan$0.49$4.90$49
  • Every run also has a start event, charged per GB of memory (minimum one): $0.10 on Free, $0.03 on Business. At its default memory of 4 GB a run starts at $0.40 on Free. Fewer, larger runs keep this small.
  • The Free plan includes $5 of monthly usage (Apify pricing, checked 2026-11-11); at the Free rate that covers at most about 5,050 results, less start events and platform usage.
  • Worked example: 10,000 results in one run on the Free plan cost $10.30 ($9.90 for results + $0.40 start), plus Apify platform usage (compute), billed separately by Apify.
  • Pay per event. Platform usage (compute) is billed by Apify on top of the event prices. Compare other tools in the cost estimator.

Where it fits among X (Twitter) routes

It ranks 12 of 12 catalogue Actors for X (Twitter) on the published formula (fields, price, reliability, freshness). Its line is highlighted on the map.

Route diagram for X (Twitter) dataTwitter (X) Media Downloader: stops at 5 of the 10 fields shown; X Post, Reply & Profile Lookup by Link or ID: stops at 7 of the 10 fields shown; X (Twitter) Profile & Post Engagement Extractor: stops at 7 of the 10 fields shown; X Trends Lookup by Country, City & WOEID: stops at 0 of the 10 fields shown; Other Store tools (7): stops at 9 of the 10 fields shown; X API v2: public, field coverage not compared.X (Twitter)post idtextauthorlikesurlposted atcreatedAtlikeCountretweetCountreplyCount12312+API

Stops are fields. A ring means the field is in that route's published output schema; no ring means the line passes without it. Bold labels are the core fields for this website, the rest are fields that differ between routes. A white capsule means every data line stops there. The red line is the official API; its field coverage is not compared. A crossed red line means there is no open official API.

Official route: X API v2

Public API. X API v2 uses prepaid pay-per-usage credits. Published standard read rates include $0.005 per Post resource and $0.010 per User resource. Pay-per-use launched on February 6, 2026; legacy Basic and Pro plans migrated to pay-per-use.

Charged per resource returned: $0.005 per Post, $0.010 per User. Owned Reads on qualifying own-account endpoints are $0.001 per resource. A 3 million Post-read monthly cap applies to self-serve pay-per-use.

Official documentation

Other Store tools for X (Twitter)

Reference only, from their public listings.

Other Store tools for X (Twitter)
ToolFieldsPrice / 1K
X (Twitter) Tweet Scraper120$0.15
Tweet Scraper17$0.25
Tweet Scraper V212$0.40
Twitter (X.com) Scraper Unlimited: No Limits12$0.40
Twitter (X) Follower Scraper29$0.15

What people use it for

  • Track local trending topics
  • Collect trend rankings
  • Find supported trend locations

Other catalogue Actors for X (Twitter)

Twitter (X) Media Downloader

Download videos, photos, GIFs, audio and poster images from public Twitter/X posts - no login, no cookies. Works with post links or usernames,…

3/7 core fields 27 output fields $0.99 per 1K

X Post, Reply & Profile Lookup by Link or ID

Resolve X post links or IDs into text, author, media, polls, quoted/parent posts, engagement metrics and replies, or resolve a handle into that…

3/7 core fields 9 output fields $0.99 per 1K

X (Twitter) Profile & Post Engagement Extractor

Get any public X profile - bio, followers, verification, avatar, banner - plus latest, top and media posts with full engagement metrics. No login…

3/7 core fields 29 output fields $0.99 per 1K

X Video Subtitle & Caption Transcript Converter

Convert public X (Twitter) videos into timestamped transcripts and downloadable SRT/VTT subtitle files, using native captions when available and…

3/7 core fields 29 output fields $0.99 per 1K

X/Twitter Keyword & Hashtag Tweet Search

Search X (Twitter) by keyword, phrase or hashtag and get tweet text, author, engagement metrics, media and language. Every row says which keyword…

3/7 core fields 18 output fields $0.99 per 1K

X Keyword Search with Mention & Reply Operators

Search X (Twitter) by keyword with filters for date, language, engagement, media, verification, mentioned handle, author, reply target, and…

3/7 core fields 21 output fields $0.99 per 1K

Google Trends Interest & Related Query Scraper

Get interest-over-time, interest-by-region, and related topics/queries for any keyword, location, time range and Google surface, with side-by-side…

36 output fields $0.99 per 1K

Facebook Business Page Finder by Keyword & City

Find Facebook business pages by direct URL, or discover them by keyword and city, and get names, categories, addresses, follower counts, contact…

25 output fields $0.99 per 1K

StockTwits Ticker Sentiment & Trending Symbol Feed

Reads StockTwits' public message stream for any ticker or user, the market-wide trending-symbols list with trend summaries, and ticker search,…

12 output fields $0.99 per 1K

Meetup & Lu.ma Event Finder by City, Group & Calendar

Search, browse, or look up events on Meetup and Lu.ma by city, group, or calendar: dates, venue, organizer, attendee count, photo and RSVP status…

10 output fields $0.99 per 1K

Pinterest Trending Topics & Shopping Category Scraper

Collect Pinterest's public featured and editorial trend topics, its shopping category taxonomy, and shopping-category click metrics with history…

9 output fields $0.99 per 1K

Quora Space Activity & Content Change Monitor

Monitor a Quora Space's metadata, feed and contributors, or track any public Quora question, answer, profile, topic or post for content changes…

120 output fields $0.99 per 1K

Questions people ask

How much does X Trends Lookup by Country, City & WOEID cost?

The published result rate depends on your Apify plan: $0.99 per 1,000 on Free, $0.82 per 1,000 on Starter, $0.66 per 1,000 on Scale, $0.49 per 1,000 on Business. So 10,000 results cost about $9.90 on the Free plan and $4.90 on Business, plus a start fee of $0.10 per run per GB of memory on Free. Platform usage is billed separately.

What data does X Trends Lookup by Country, City & WOEID return?

Its published output schema lists 10 fields: type, location, rank, trend, trendType, countryCode, locationCount, searchUrl, asOf, collectedAt. A listed field is not guaranteed to be filled in every row.

What input does X Trends Lookup by Country, City & WOEID need?

Required: mode. Optional settings include locations, allLocations, maxTrendsPerLocation, excludeHashtags, trendNameContains, dedupeAcrossLocations.

What are the alternatives to X Trends Lookup by Country, City & WOEID for X (Twitter)?

12 catalogue Actors cover X (Twitter). Close alternatives: Twitter (X) Media Downloader; X Post, Reply & Profile Lookup by Link or ID; X (Twitter) Profile & Post Engagement Extractor. The X (Twitter) page compares all of them field by field.

How do I run X Trends Lookup by Country, City & WOEID from Python or the API?

Use the Apify API client: in Python, ApifyClient(token).actor("nimbryxo-studio/x-trends-lookup-by-country-city-and-woeid").call(run_input=...), then read the run's default dataset (run.default_dataset_id); in JavaScript the same call is client.actor("nimbryxo-studio/x-trends-lookup-by-country-city-and-woeid").call(input). Without a client, POST the input JSON to https://api.apify.com/v2/actors/nimbryxo-studio~x-trends-lookup-by-country-city-and-woeid/run-sync-get-dataset-items with your API token. Ready-to-paste code with the example input is on this page.

Sources

Actor updated 2026-11-02 Data synced 2026-11-12
Cite this page

Scraper Finder. "X Trends Lookup by Country, City & WOEID." https://scraperfinder.com/catalogue/x-trends-lookup-by-country-city-and-woeid/ (data checked 2026-11-12).

Run X Trends Lookup by Country, City & WOEID

$0.99 per 1,000 results. Paste the example input above, set your X (Twitter) query, then export the dataset. Still choosing? Compare every X (Twitter) route.

Open in Apify Store