Twitter Trends Scraper API
Get what's trending on X in a country or city as JSON: the 50 trends X lists, in its order, with the number of posts where X gives it.
Pay as you go from $1.99 · No credit card required
Available X scrapers
Send an X link or a search and get the data back as JSON. Each scraper lists what it returns and what it costs.
Posts per credit, from a search or a profile
Bookmarks and quotes on every post
Trends for a country or city
For links that fail
Twitter Trends Scraper API pricing
1 credit per place. Run it on a monitor to see what's trending through the day.
One-time packs. No subscription, and the credits last 12 months.
Mini
Try a real job before you commit.
$1.99one time
200 credits
About 200 pages, or 2,000 search results
- Per 1,000 credits
- $9.95
- Credits last
- 12 months
- Renews
- Never
Small
For a one-off list or a small project.
$4.99one time
500 credits
About 500 pages, or 5,000 search results
- Per 1,000 credits
- $9.98
- Credits last
- 12 months
- Renews
- Never
Proxy bandwidth for Stealth Mode comes in packs too: 1 GB $7 · 5 GB $28 · 10 GB $52.
From place to trends in 3 steps
Pick the places
A country, a city or Worldwide.
Run it
Once, or on a schedule with a monitor.
Get every trend
One row per trend, with its rank and post count.
API call
1curl -X POST https://api.spidra.io/api/scrape \2 -H "Authorization: Bearer $SPIDRA_API_KEY" \3 -H "Content-Type: application/json" \4 -d '{5 "urls": [{ "url": "https://x.com/explore/tabs/trending?place=United%20States" }],6 "output": "json"7 }'
Response
1{2 "place": "United States",3 "woeid": 23424977,4 "countryCode": "US",5 "asOf": "2026-12-04T21:12:21Z",6 "trendCount": 50,7 "trends": [8 {9 "position": 1,10 "name": "John Bolton",11 "postCount": 33018,12 "url": "https://x.com/search?q=%22John%20Bolton%22"13 },14 {15 "position": 2,16 "name": "Happy Hanukkah",17 "postCount": 16867,18 "url": "https://x.com/search?q=%22Happy%20Hanukkah%22"19 },20 {21 "position": 3,22 "name": "Josh Hart",23 "postCount": null,24 "url": "https://x.com/search?q=%22Josh%20Hart%22"25 },26 "… 27 more"27 ]28}
Plug X into your agent
Connect the Spidra MCP server and your agent searches X and reads posts, profiles and trends on its own. Works in Claude, Cursor, VS Code and any MCP client.
- 1Hosted, nothing to install
- 2Ask in plain words
- 3JSON straight back to your agent
- 4Same credits as the API
Tell your agent
Use Spidra to find this week's posts on X about our product launch and list the ones with the most views.
Connect it once
claude mcp add --transport http spidra https://mcp.spidra.io/mcp
Or run it on your machine
npx -y spidra-mcp
X data, put to work
From brands and agencies to analysts, journalists and AI teams.
Questions, answered
X
20 posts from a search or a profile cost 1 credit. A profile, a single post with its replies, or a place's trends is 1 credit each. Packs start at $1.99 for 200 credits with no subscription, and new accounts get 300 free credits.
Track X trends today.
300 free credits, no card. Pay as you go from $1.99 when you need more.
Spidra is not affiliated with, endorsed by, or sponsored by X Corp. X and Twitter are trademarks of X Corp. Check X's terms and the laws that apply to you before you collect data.