X / Twitter User Tweets and Replies
Get up to the requested limit of tweets and replies authored by an X (Twitter) account, with engagement, views, language, and cursor pagination where available.
Price: billed per result - $0.18 per 1,000 requests base + $0.18 per 1,000 results, capped at $18.18 per 1,000 requests.
Routing: 2 independent lanes are available in execution order. A failed attempt uses the next lane only when the request’s payment authorizes that lane’s price; the normalized schema stays the same.
Catalog: X / Twitter User Tweets and Replies pricing and uptime - live USD price, lane routing, and measured 30-day uptime. Every X (Twitter) endpoint.
Authorizations
Your AnyAPI key as a Bearer token.
Headers
Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.
1 - 255Query Parameters
Optional. Comma-separated keys (dotted paths like author.name descend into nested objects) to keep on each result item. Keys are matched relative to each result item after the data/items envelope is unwrapped, not against the top-level response envelope, so use jq to reshape the whole envelope. Shrinks the response without changing cost.
Optional. Cap the number of result rows returned; a _truncated note reports how many were withheld so you can page via the API's own limit. Does not change cost.
x >= 0Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.
Optional. A jq expression applied to the result envelope; its output replaces output (multiple outputs collect into an array). Reshape freely, e.g. jq=.data | {title, description, md: .markdown[:3500]}. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a jqError. Does not change cost.
Body
Twitter/X handle without the leading @.
Opaque pagination cursor from a previous response's nextCursor. Omit for the first page.
Maximum number of authored tweets and replies to return in the current bulk call (1-1000). The provider may return fewer results.
1 <= x <= 1000Require a lane that can return the requested limit in one response.
Response
Normalized result.
USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.
Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count.
Normalized output, or null when the replay payload was not retained.
Always "AnyAPI".
True when this response replays the durable result of an earlier run without billing or upstream execution.
Optional one-line nudge, absent when there is nothing to say. large_result: suggests the fields/max_items/summary/jq controls for a big response. paging_unavailable: means this result came from a source that cannot return a nextCursor, so it may be INCOMPLETE and cannot be continued - re-run with requireCursor: true to be served only by a source that can page, which may cost more per request.
Present only when a jq expression failed; output then carries the full unshaped result and this explains why the reshape did not apply.
Opaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache.