7-day offer$199$9
X-Autopilot
Tag

X api v2

6 posts tagged with x api v2.

Article·7 min read

X API Playground: the free local mock, and its limits

X ships a free local server that emulates the X API v2 so tests never spend credits. What it gets right, what it fakes badly, and why its cost meter is the real draw.

·→
Article·10 min read

X API Python: the official SDK and what it breaks on

X ships a first-party Python SDK now: pip install xdk. What it covers, the four bugs still open in the shipped build, and where its own docs are wrong.

·→
Article·7 min read

X API search: the two endpoints and what reads cost

X API search in 2026: recent vs full-archive, the retweet change nobody documented, why min_faves 400s, and the counts trick that sizes a query for $0.005.

·→
Article·8 min read

X News API: the two endpoints with no listed price

The X API news endpoints return Grok-written trending stories with tickers and post clusters. They work on pay-per-use, but no price table lists them.

·→
Article·9 min read

X API media upload: the v2 flow that actually works

X API media upload in v2: initialize, append, finalize, status. The real size limits, what it costs under pay-per-use, and the 403 after a clean upload.

·→
Article·15 min read

X API OAuth: pick the right auth for each endpoint

App-only, OAuth 1.0a or OAuth 2.0 with PKCE? The endpoints each one reaches, token lifetimes, and the 13 scopes X's live spec declares but its scope table never lists.

·→