X (Twitter) API

X (Twitter) API — free tier with API key

AUTH APIKEYCORS AGENT ?HTTPS COMMERCIAL ?

X (Twitter) API exposes a free-tier JSON API. Register for an API key if required; we verified a public or demo endpoint.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
ON PROBE SCHEDULE

We probe a documented GET and expect 2xx JSON — full uptime and health score. Open provider docs ↗

Uptime historystarts after first probe

On our probe schedule. Uptime charts appear after the first check lands.

Example responsefrom provider docs — not verified by us
GET https://console.x.com/api/credits/pricing

{
  "eventTypePricing": {
    "ProfileUpdate": 0.005,
    "Like": 0.001,
    "Follow": 0.01,
    "OwnedRead": 0.001,
    "Community": 0.005,
    "Space": 0.005,
    "Post": 0.005,
    "DirectMessage": 0.01
  },
  "requestTypePricing": {
    "DmInteractionCreate": 0.015,
    "InteractionDelete": 0.01,
    "ContentCreateWithUrl": 0.2,
    "MediaMetadata": 0.005,
    "PrivacyUpdate": 0.01,
    "ListManage": 0.005,
    "ContentManage": 0.005,
    "Bookmark": 0.005
  },
  "defaultCost": 0
}
Call itcurl · fetch · python
curl "https://console.x.com/api/credits/pricing"
const res = await fetch("https://console.x.com/api/credits/pricing");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://console.x.com/api/credits/pricing")
print(res.json())
Endpoints · 5On scheduleFULL DOCS ↗
On schedule — GET /api/credits/pricing awaits first probe
GET/api/credits/pricingPROBED

X (Twitter) API — free tier with API key

GET/api

Api — documented GET route.

GET/api/1

Api details by ID (example: 1).

GET/api?limit=10

Api — documented GET route.

GET/api/search?q=test

Search by query parameters.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Not tracked yet. Shape-change history starts once this API joins our probe schedule.

X (Twitter) API: common questions

Is X (Twitter) API free to use?

Yes — X (Twitter) API is a free social & work API. Free tier: Free tier — API key required. Whether the free tier allows commercial use is unclear — check the provider docs.

Does X (Twitter) API need an API key?

Yes — X (Twitter) API needs a free API key, which you pass on each request. Rate limits: Unpublished.

Can I call X (Twitter) API from the browser?

Yes — X (Twitter) API returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is X (Twitter) API up right now?

X (Twitter) API is catalogued but not yet on our probe schedule, so we don't publish a live status for it. Check the provider's own status page or docs for its current state.