api.twitterapi.io/x402/twitter/trends
Get current X (Twitter) trending topics for a location by WOEID (1 = worldwide), up to 50 trends. Fixed price per request; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.
GET
https://api.twitterapi.io/x402/twitter/trendsUptimeNot checked yet
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://api.twitterapi.io/x402/twitter/trends?count=30&woeid=1");
console.log(await res.json());Example input
{
"count": "30",
"woeid": "1"
}Price changes
- Nov 25, 20260.003 → 0.02
- Nov 25, 20260.02 → 0.003
More from twitterapi.io
- api.twitterapi.io/x402/twitter/tweet/advanced_searchSearch public X (Twitter) posts with advanced operators (from:, since:, until:, min_faves:, lang:). Returns one page of tweets and a cursor. Fixed price per request, for up to 20 results; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.0.006
- api.twitterapi.io/x402/twitter/user/followersGet one page of a public X (Twitter) user's followers by username, up to 200 profiles and a cursor. Fixed price per page; an empty page is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.0.008
- api.twitterapi.io/x402/twitter/user/infoGet a public X (Twitter) user profile by username: name, bio, follower and following counts, verification, creation date. Fixed price per request. Limited to 20 requests per second per paying wallet. No API key or account needed.0.005
- api.twitterapi.io/x402/twitter/user/last_tweetsGet a public X (Twitter) user's most recent posts by username or user ID, one page of tweets and a cursor. Fixed price per request, for up to 20 results; an empty result is still charged. Limited to 20 requests per second per paying wallet. No API key or account needed.0.006
