How do I get X (Twitter) trends for a country?

Call OneFeedAPI's X (Twitter) trends with the country's two-letter code as region, and you get its top 30 trends with their rank. Ten countries are covered: US, GB, CA, AU, IN, JP, DE, FR, BR and MX; without region the list is worldwide. OneFeedAPI reads X (Twitter) with 21 endpoints, from $0.0003 a call; a failed call is not charged, and the free trial covers up to 333 calls.

Open in ChatGPTOpen in Claude

What a list has

Each trend has its name and rank, and nothing else: no count of posts, no heat, no ID. A list is a snapshot refreshed every five minutes, and meta.fetched_at says when it was taken.

To see what is behind a trend, search X posts with its name.

Countries not on the list

Only these ten countries and worldwide are offered. Any other code is refused as an invalid parameter and not run.

Why OneFeedAPI

  • Steady: endpoints were available 100% of the last 30 days, on a public status page you can check.
  • Fast: a paid call took 2.1 seconds at the median over the last 7 days (counted 2026-11-06).
  • Fewer tokens: across 21 endpoints on X (Twitter), one recorded real response each, the platform's own JSON comes to 247k tokens and what an AI reads through OneFeedAPI's MCP server to 60k, 76% fewer; the JSON of a direct API call is 61% fewer too (counted 2026-11-06). Every platform answers in one shape: the author in author, counts in metrics, the next page in page.next_cursor, so another platform needs no new parser.
  • See before you pay: every endpoint's page shows a recorded real response, field by field.
  • Spending you control: a failed call is not charged; each key can have a limit, X-Max-Price caps one call, and the same Idempotency-Key within 24 hours is never charged twice.
  • Ready for AI: a remote MCP server listed in the official MCP registry as com.onefeedapi/mcp, usable from Claude, Cursor and ChatGPT.
  • Free trial of up to 333 calls, no card.

Endpoints

Each with its price; every page has the parameters, the fields and a recorded response.

Start with one key.

253 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free