X API
PAYG
X's v2 REST API gives programmatic access to posts, users, lists, Spaces, DMs, trends, filtered streaming and webhook activity events, billed pay-per-use from prepaid credits.
API surface
- Official docs
- https://docs.x.com/x-api/introduction
| Endpoint | Does | Returns | Docs |
|---|---|---|---|
POST /2/tweets/search/stream/rules | Add (or manage) filtering rules for the filtered stream, e.g. one rule tracking a specific account. | The result of the rule add/management request; rules then govern which posts the stream delivers. | Docs |
GET /2/tweets/search/stream | Connect to the filtered stream to receive matching posts in near real-time as they are published. | A near real-time stream of posts matching your defined filtering rules. | Docs |
GET /2/tweets/search/all | Full-archive search over the complete history of public posts back to 2006, using query operators. | Posts matching the query, searchable across the full public archive. | Docs |
GET /2/usage/tweets | Retrieve usage data to track Post consumption against budget and generate usage reports. | Daily Post consumption counts. | Docs |
Register locally with SkeletonKey
This page does not collect your key. Install SkeletonKey on your own machine (setup: npx -y @dormy/skeletonkey init), then let your agent find and register X API for you: it signs up on the vendor's own pages under your own account, sign-up codes and payment stay with you, and the key it gets back is saved to your own local vault — never shown to an AI assistant, and never sent to this site.
Connect
- Base URL
https://api.x.com- Auth
- oauth ·
Authorization: Bearer {key} - Docs
- https://docs.x.com/x-api/introduction
Sign up
- Method
- oauth-other
- Signup page
- https://console.x.com
- Card required
- Yes
- Phone required
- —
Pricing
- Model
- payg
- Unit
- per resource returned (reads) or per request (writes/actions); webhook events billed per event delivered; resources deduplicated within a 24-hour UTC window
- Free tier
- No · No recurring free tier. Two one-time promotional credits, up to $70 total: $20 in free X API credits after an account with its first eligible card completes its first credit purchase, and a match of the first successful auto-recharge up to $50. Both are applied automatically, are one-time per account and per physical card, and the free credits expire 3 months after they are granted.
- Minimum top-up
- None stated
| Plan | Price | Per | Notes |
|---|---|---|---|
| Posts: Read | $0.005 | per resource | Read operations are charged per resource returned in the response. |
| User: Read | $0.010 | per resource | |
| DM Event: Read | $0.010 | per resource | |
| Following/Followers: Read | $0.010 | per resource | |
| List: Read | $0.005 | per resource | |
| Space: Read | $0.005 | per resource | |
| Community: Read | $0.005 | per resource | |
| Note: Read | $0.005 | per resource | |
| Like: Read | $0.001 | per resource | |
| Mute: Read | $0.001 | per resource | |
| Block: Read | $0.001 | per resource | |
| Profile Update: Read | $0.005 | per resource | |
| Owned Reads | $0.001 | per resource | Your own app reading your own data (your posts, mentions, likes, bookmarks, followers, following, blocking, muting, owned/followed/membership/pinned lists) - '1,000 resources for $1'. |
| Post: Create | $0.015 | per request | Write operations are charged per request. |
| Post: Create (with URL) | $0.200 | per request | |
| Post: Create (summoned) | $0.010 | per request | |
| DM Interaction: Create | $0.015 | per request | |
| User Interaction: Create | $0.015 | per request | |
| Interaction: Delete | $0.010 | per request | |
| Content: Manage | $0.005 | per request | |
| List: Create | $0.010 | per request | |
| List: Manage | $0.005 | per request | |
| Bookmark | $0.005 | per request | |
| Media Metadata | $0.005 | per request | |
| Privacy: Update | $0.010 | per request | |
| Mute: Delete | $0.005 | per request | |
| Counts: Recent | $0.005 | per request | |
| Counts: All | $0.010 | per request | |
| Trends | $0.010 | per request | |
| Enterprise | Separate Enterprise plan required above the pay-per-use cap of 3 million Post reads per monthly billing cycle; no price published. |
Prices as shown on the vendor pricing page on 2026-10-26. Check there before you buy.
Pricing summary
- Model
- —
- Free tier
- —
- Starting price
- —
- Pricing page
- https://docs.x.com/x-api/getting-started/pricing
- Notes
- —
Listed in: Glasser.
Sources
Other routes (reference only)
For comparison: besides registering your own account (see Register locally above), this data has also shown up through aggregator gateways, each billed through that gateway's own key, not yours. SkeletonKey does not recommend routing your calls through a gateway key instead of your own account. Every figure here is ours, as of the last updated date; routes with no price readable there show none.
| Route | Price | Signup | Payment | Vendor key | Free tier | Coverage |
|---|---|---|---|---|---|---|
| DirectX API | $0.001 per call | oauth-othercard: yes | payg | Yes | No | All endpoints |
| Glasserlisting | $0.0005 per result | google, github, emailcard: no | prepaid_credits, payg | No | Yes | 3 endpointse.g. /user-verified-followers |
| Apify Storelisting | from $0.40 / 1,000 tweets | google, apple, microsoft, emailcard: no | prepaid_credits, payg, subscription, x402 | Unknown | Yes | — |
| RapidAPI (Nokia API Hub)listing | Basic $1.00 /mo — Requests 1,000 / Month | email, google, github, facebookcard: — | prepaid_credits, payg, subscription | Unknown | Yes | — |
What differs between them
- Direct signup requires a card; the Glasser route needs only google, github, email sign-in and prepaid credit.
- Only the direct route exposes all endpoints; Glasser exposes 3 endpoints.
- Listed prices: direct $0.001 per call; Glasser $0.0005 per result; Apify Store from $0.40 / 1,000 tweets; RapidAPI (Nokia API Hub) Basic $1.00 /mo — Requests 1,000 / Month.
- The Apify Store route can be paid per call in USDC over x402.
Route notes
- Glasser
- Glasser's X page listed 3 endpoints and the verified-followers one was the cheapest at $0.0005 per result. Free credit or trial: Every new workspace starts with a signup Grant of free balance.
- Apify Store
- Apify's dominant X/Twitter Actor (over 169M runs) shows a headline price of $0.40 per thousand tweets. Free credit or trial: Free plan renewing $5/month of prepaid usage credit, plus paid monthly plans ($19 Starter / $199 Scale / $999 Business) that add pay-as-you-go usage.
- RapidAPI (Nokia API Hub)
- The Twttr API pricing tab starts at $1.00/mo for 1,000 requests, with Pro at $25.00/mo. Free credit or trial: Per-API recurring monthly subscription plans (many with a free BASIC tier) plus overage fees per call above a plan's quota