Twitter API — FetchLayer Docs

Twitter API v1

Independent Twitter/X API with 13 REST endpoints. All requests go to https://api.fetchlayer.dev/twitter/{endpoint} with a JSON body and Bearer auth header.

OpenAPI JSON

Twitter API at a glance

This is the reference: every endpoint, its parameters and the fields it returns. The essentials first.

Returns
Posts, profiles, and search, as typed JSON.
Endpoints
13 endpoints, grouped as Search, Content, Profile and Network. See them all
Request
POST https://api.fetchlayer.dev/twitter/<endpoint> with a JSON body.
Auth
Your FetchLayer API key as a Bearer token. One key works for every platform we support. Authentication
Cost
1 credit per page of results a call returns; the exact figure is on every response. Credits are $1.99 per 1,000 pay-as-you-go, plans start at $25 a month, and new accounts get 30 free requests.
MCP
Also on our MCP server for AI agents, with the same key and the same billing. Connect an agent

What teams use it for, with worked examples: Twitter API

Available endpoints by category

Quick reference

Product overview Twitter API: what it returns, pricing and use cases