Skip to main content

Error envelope

Errors use the same envelope as success, with status: false and a human message in error:
The HTTP status code carries the machine‑readable meaning.

Status codes

Billing on failure

You are never charged for our errors, auth failures, rate limits, or upstream problems (401, 402, 429, 5xx). A successful call (200) is charged $0.001. Genuine “not found” lookups are not charged.

Idempotent actions

Several write endpoints are idempotent — calling them when the action is already done returns 200 success rather than an error:
  • Like / Unlike, Retweet / Unretweet, Bookmark / Unbookmark — repeating succeeds.
  • Delete Tweet — deleting an already‑deleted tweet returns deleted: true, already: true.
  • Follow / Unfollow — repeating reflects the current state.

Common X error mappings

Some X‑specific conditions map to friendly statuses: