Skip to content

Twitter/X API & scraper for your
AI agent, 250x cheaper

Let your agent scrape Twitter/X without a browser, proxies or your X login. One line connects Claude Code, Cursor, Codex, Grok or Hermes to read-only tools, with tweets from $0.014 per 1,000 instead of $5.00 on the official X API.

No credit card, and they never expire.

40
Read-only tools
For your agent
20req/s
On every plan
The free start too
2022
In production since
Formerly TweetScout API
0
Risk to your X account
No login, no posting

Connect your agent in one line.

Copy the line for your agent and put your key in place of YOUR_API_KEY. It finds every tool by itself, so you just ask in plain words.

Then ask, for example:

Terminal
claude mcp add sorsa --scope user -e SORSA_API_KEY=YOUR_API_KEY -- npx -y sorsa-mcp

Run it once. --scope user makes Sorsa API available in every project.

Your API keyIt goes in place of YOUR_API_KEY. 100 free requests, no credit card.
Get 100 free requests

Other clients and the full tool list: Twitter MCP server

Or let your agent write the code.

Coding agents get an API right when they know it. Teach yours Sorsa API once, or hand it the docs in one file, then start from a tested prompt.

1

Teach your agent Sorsa API once

Pick one way. Every session after that calls the API the right way.

Agent skill
npx skills add Sorsa-io/sorsa-x-api-skill -g

One command teaches Claude Code, Cursor, Codex, Grok, Hermes and 70+ more agents the endpoints, batches, pagination and errors.

AGENTS.md block
## X (Twitter) data
This project reads public X data through Sorsa API (https://api.sorsa.io/v3).
- Auth: send the key from SORSA_API_KEY in the ApiKey header. Server-side only.
- Docs: https://api.sorsa.io/v3/static/sorsa_api_v3_documentation_en.txt (index: https://docs.sorsa.io/llms.txt). Spec: https://api.sorsa.io/v3/swagger.json
- Every call costs 1 request. Use POST /tweet-info-bulk and GET /info-batch for up to 100 items per call.
- Paginate with next_cursor until it is empty. On 429, wait 1 second and retry.

Paste it into AGENTS.md or CLAUDE.md, and every session in that repo calls Sorsa API the right way.

Docs in one file
https://api.sorsa.io/v3/static/sorsa_api_v3_documentation_en.txt

Every endpoint, parameter and response in one text file, for any chat or agent. Docs MCP for coding agents: https://docs.sorsa.io/mcp.

2

Then ask for the code

Start from a tested prompt, or copy one into your agent.

What your agent’s tasks cost.

One tool call is one request, and batch tools return up to 100 posts or profiles in that call. Pick a task to see its receipt next to what the official X API bills for the same data.

Task receipt

“A research session: 10 pages of search, 100 posts by ID and 50 profiles.”

search_tweets × 10$0.014
get_tweet_info_bulk × 1$0.0014
get_user_info_batch × 1$0.0014
Authors of every post$0.00
Total, from$0.017
Official X API, same data$5.00
300 posts$1.50
50 profiles$0.50
The posts’ authors$3.00

Thank you for not overpaying

Plans run from 10K to 10M requests a month, with every endpoint and 20 requests per second on all of them. See Sorsa API pricing.

Safe to hand to an agent.

Your agent can read any public post. It can’t press a single button.

  • No X login.Sorsa API never asks for it, so there’s nothing of yours to suspend.
  • Public data only.Protected accounts and DMs stay closed.
  • Bills you set.A fixed plan. Pay as you go runs only if you turn it on, up to your limit.
Your free API key
100requests
Up to 10K tweets or 20K profiles.
•••• •••• •••• 7f3aReady after sign-up
No credit card And they never expire.
Get 100 free requests

AI questions, answered.

Yes. One line gives your agent live X data through Sorsa MCP, and one more installs the Sorsa API skill so it writes correct API code. Grok Bot, Hermes Agent, Gemini CLI, OpenClaw and any MCP client work the same way, and you start with 100 free requests.

Yes. Sorsa MCP gives AI agents 40 read-only tools for X data: search back to 2006, profiles, followers, posts, replies, quotes, Lists, Communities, Spaces, trends, and follow, repost, quote and comment checks. It installs with npx -y sorsa-mcp and runs on one Sorsa API key. Setup for every client is on the Twitter MCP server page.

In Claude Code, run claude mcp add sorsa --scope user -e SORSA_API_KEY=YOUR_API_KEY -- npx -y sorsa-mcp. In Claude Desktop, add the same server to claude_desktop_config.json. Then ask in plain words, for example: find this week’s most-liked posts about a topic and who wrote them.

No, and that’s the point. Sorsa API is read-only by design: no endpoint posts, likes, follows or sends DMs, so an agent with a Sorsa API key can’t do any of it, whatever it is told. It never touches your X account either.

No. One Sorsa API key is all your agent needs: no X developer app, no OAuth, no approval. Sorsa API never asks for your X login or cookies.

One tool call is one request on your plan, and batch tools return up to 100 posts or profiles in that call. Tweets cost from $0.014 per 1,000, 250x less than on the official X API, and followers from $0.007. A research session of 10 search pages, 100 posts by ID and 50 profiles costs from $0.017; the official X API bills $5.00 for the same data with authors.

A plan has a fixed price and a fixed number of requests, so an agent can’t run up a bill: when the requests run out, calls stop. Pay as you go keeps them running only if you turn it on, and, if you set a monthly limit, never past it.

https://api.sorsa.io/v3/static/sorsa_api_v3_documentation_en.txt: every endpoint, parameter and response in one text file. Coding agents can also read the index at https://docs.sorsa.io/llms.txt, any docs page as Markdown, or search the docs through the docs MCP at https://docs.sorsa.io/mcp.

Yes. npx skills add Sorsa-io/sorsa-x-api-skill -g installs it into Claude Code, Codex, Cursor, Gemini CLI, Grok, Hermes Agent, OpenClaw and more. It teaches your agent the endpoints, batches of 100, pagination and error handling, so it writes the integration correctly.

Add the Sorsa API block to your project’s AGENTS.md or CLAUDE.md. Coding agents read that file at the start of every session, so each one knows to call Sorsa API with your key, batch up to 100 items per call and page with next_cursor.

Yes, in one call each: check_follow, check_retweet, check_quoted, check_comment and check_community_member. A repost check looks through 100 reposts per request and continues with next_cursor on bigger posts.

The official X MCP needs your own X developer app, bills every read at X’s rates ($5.00 per 1,000 posts) and, signed in through its local bridge, acts as your X account and can write to it. Sorsa MCP runs on one Sorsa API key, is read-only, reads posts from $0.014 per 1,000, 250x less, and adds one-call follow and repost checks the X MCP doesn’t have.

Sorsa MCP has 40 read-only tools against 12, including follow, repost, quote, comment and Community checks, plus Lists, Communities and Spaces. Tweets cost from $0.014 per 1,000 against $0.15 on TwitterAPI.io, and Sorsa API has no write endpoints at all, so the key you give an agent can never post.

Yes. Frameworks that speak MCP (the OpenAI Agents SDK, LangChain through its MCP adapters, CrewAI, Mastra, the Vercel AI SDK) run sorsa-mcp as a local server. Anything else calls the REST API with one ApiKey header, including the HTTP Request node in an n8n AI Agent workflow.

Yes. Every new account gets 100 free requests, up to 10K tweets or 20K profiles, with no credit card, and they never expire. They work on every endpoint and every tool.

Twitter/X API & scraper for your
AI agent, 250x cheaper

Let your agent scrape Twitter/X without a browser, proxies or your X login. Read-only tools, tweets from $0.014 per 1,000.

40Read-only toolsFor your agent
20req/sOn every planThe free start too
2022In production sinceFormerly TweetScout API
0Risk to your X accountNo login, no posting

Connect your agent in one line.

Copy the line and put your key in place of YOUR_API_KEY.

Terminal
claude mcp add sorsa --scope user -e SORSA_API_KEY=YOUR_API_KEY -- npx -y sorsa-mcp

Or let your agent write the code.

Teach it Sorsa API once. Every session after that calls it the right way.

Agent skill
npx skills add Sorsa-io/sorsa-x-api-skill -g

One command teaches Claude Code, Cursor, Codex, Grok, Hermes and 70+ more agents the endpoints, batches, pagination and errors.

Start from a tested prompt.

Open one in ChatGPT or Claude, or copy it into your agent.

Search to CSV

Using Sorsa API (docs: https://api.sorsa.io/v3/static/sorsa_api_v3_documentation_en.txt), write a Python script that finds the 500 most-liked posts about "vector databases" from the last 30 days and saves author, likes, date and link to posts.csv. Read the API key from SORSA_API_KEY and follow next_cursor until you have 500.

Uses /search-tweets. 500 posts with their authors from $0.035; the official X API bills $7.50.

Export followers

Using Sorsa API (docs: https://api.sorsa.io/v3/static/sorsa_api_v3_documentation_en.txt), export every follower of @YOUR_HANDLE with name, bio, location and follower count to followers.csv. /followers returns 200 per page: read the key from SORSA_API_KEY and page with next_cursor until it is empty.

Uses /followers. 10K followers from $0.07; the official X API bills $100.00.

Enrich handles

Using Sorsa API (docs: https://api.sorsa.io/v3/static/sorsa_api_v3_documentation_en.txt), add followers, bio and location to every handle in handles.csv. Look up 100 handles per call with /info-batch, read the key from SORSA_API_KEY and write enriched.csv.

Uses /info-batch. 5,000 profiles from $0.07; the official X API bills $50.00.

Rehydrate IDs

Using Sorsa API (docs: https://api.sorsa.io/v3/static/sorsa_api_v3_documentation_en.txt), turn the tweet IDs in ids.txt into a JSONL dataset with text, metrics and author. Send 100 IDs per call to /tweet-info-bulk, read the key from SORSA_API_KEY, and list the IDs that came back missing.

Uses /tweet-info-bulk. 10K tweets with their authors from $0.14; the official X API bills $150.00.

Brand alerts

Using Sorsa API (docs: https://api.sorsa.io/v3/static/sorsa_api_v3_documentation_en.txt), build a small Node.js worker that checks every 5 minutes for new posts mentioning @YOUR_BRAND with 10 or more likes and sends each one to a Slack webhook. Read the key from SORSA_API_KEY and remember the last post it saw.

Uses /mentions. One request per check, 20 requests per second on every plan.

Move off the X API

Migrate this code from the official X API v2 to Sorsa API. Read https://api.sorsa.io/v3/static/sorsa_api_v3_documentation_en.txt first. Use the base URL https://api.sorsa.io/v3 and send the key from SORSA_API_KEY in the ApiKey header instead of OAuth. Map each X endpoint to its Sorsa API endpoint, drop expansions because every tweet carries its author in user, and paginate with next_cursor instead of pagination_token. Keep any posting on the official X API.

One header and a few paths change. Tweets from $0.014 per 1,000 instead of $5.00.

What your agent’s tasks cost.

One tool call is one request. Tap a task for its receipt next to the official X API’s bill.

Safe to hand to an agent.

Sorsa API keyRead-only

This key can

  • Search posts back to 2006
  • Read profiles, followers and following
  • Read replies, quotes and reposts
  • Read Lists, Communities and Spaces
  • Check follows, reposts, quotes and comments

This key can’t

  • Post, reply or quote
  • Like or repost
  • Follow or unfollow
  • Send DMs or see protected accounts
  • Use your X login
100requests
Your free API key

Up to 10K tweets or 20K profiles.

•••• •••• •••• 7f3aReady after sign-up
No credit cardAnd they never expire.
Get 100 free requests

AI questions, answered.