TwitterAPIs Docs

Overview

REST API for Twitter and X data. Search tweets and users, read profiles and timelines, walk the follower graph, and run write actions. Bearer auth, JSON.

A REST API for Twitter and X data. Search tweets and users, resolve a single tweet into its full thread, read profiles and timelines, page the follower graph, run write actions, and check your account, all from your code.

It is a plain HTTP and JSON interface. There is no OAuth handshake, no developer-account review, and no per-endpoint scope to request. One key, one header, JSON back.

Base URL: https://api.twitterapis.com

Auth: every request requires Authorization: Bearer <API_KEY>. Pass your key as a bearer token on every call.

Docs: docs.twitterapis.com

New here? Start with the Quickstart

The Quickstart takes you from zero to your first live response in under two minutes, with copy-paste curl, JavaScript, and Python.

Authentication

Every endpoint expects a bearer token in the Authorization header:

curl "https://api.twitterapis.com/tweet/advanced_search?query=from%3Anaval" \
  -H "Authorization: Bearer $TWITTERAPIS_KEY"

Endpoint categories

CategoryEndpointsDescription
Search2Full-text and structured search across tweets and users. Filter by query operators, author, date, language, and…
Tweet Details4Resolve a single tweet into its full object: replies, retweeters, and the complete conversation thread.
User Reads9Read a profile, its timeline, media, mentions, affiliates, and follow relationships by username or numeric ID.
Follower Graph5Page through followers and following lists, including the verified-only and v2 cursor-paginated variants.
List Data1Read the members of any public Twitter/X List.
Write Actions8Act on behalf of an authenticated account: like, retweet, bookmark, and follow, each with its undo. Billed at $0.0015…
Account2Read your own account: remaining credits, plan, and the per-call payment ledger. These calls are free.

Pricing

Pay per call. No subscription, no monthly minimum, no quota to negotiate. A standard read call costs $0.0008 and returns roughly 20 tweets, which works out to about $0.04 per 1,000 tweets. Write actions cost $0.0015 per call, and account reads are free. New accounts start with $0.50 in free credits.

Call typePrice per callNotes
Standard read$0.0008About 20 tweets per call, roughly $0.04 per 1,000 tweets.
Write action$0.0015Like, retweet, bookmark, follow, and each undo.
Account readFreeCredits, plan, and the payment ledger.

See Rate limits for the full pay-per-call model.

Start building

On this page