{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"5ee4fae0-138a-4615-ae47-ac4be7904df2","name":"Xquik REST API","description":"Xquik's REST API for X data, writes, monitors & webhooks. Every request here comes from Xquik's OpenAPI spec.\n\n## Get started\n\n1. Create an API key on the [API keys page](https://dashboard.xquik.com/en/api-keys).\n2. Open this collection's Variables tab & paste the key into `apiKey`.\n3. Pick a request & select Send.\n\nEach request sends the key in the `x-api-key` header. Keep the key private & out of shared forks. To use OAuth 2.1 instead, set the collection's auth to Bearer Token.\n\nRead the [docs](https://docs.xquik.com), the [API reference](https://docs.xquik.com/api-reference/overview) & the [OpenAPI spec](https://xquik.com/openapi.json).\n\nXquik is an independent third-party service. Not affiliated with X Corp. \"Twitter\" and \"X\" are trademarks of X Corp. Read and automate X. Paid reads accept credits. Some lookups accept MPP. Writes require an API key or OAuth 2.1. Reads without your own X account return public data only.\n\n## What you get\n\n### Complete results\n\n- Searches return posts that X's own search tab leaves out.\n- Each answer holds the fullest data X has for it.\n\n### Accurate rows\n\n- Reposts carry the full original text.\n- Every ID in a row stays exact.\n- Mentions, links, hashtags & highlights line up with the text.\n- Verified badges match what x.com shows.\n- Rows hold public data only.\n- Ads & promoted entries never reach your rows.\n\n### Fresh data\n\n- Reads keep working when X ships changes.\n\n### Speed\n\n- A slow X answer doesn't hold up your request.\n- Repeated lookups answer at once.\n- Reads finish the moment their rows arrive.\n\n### Fair billing\n\n- You pay only for the rows you get, after filters & duplicate removal.\n- A retried page is free.\n- A low balance trims results instead of failing.\n\n### Reliability\n\n- A one-off X failure doesn't fail your request.\n- Paging stays consistent from one page to the next.\n- Paging never loops forever.\n- A deadline returns the rows already found, with diagnostics.\n- Problems on X's side are fixed before they reach your reads.\n\n### Built for agents\n\n- Agents reach the whole API through a few MCP tools.\n- Paid results are saved under a `result_id`, so failed scripts never pay twice.\n- Large answers fit the agent's context, capped at 24,000 characters.\n- Clients can run reads without prompts & confirm writes.\n- 1 stable shape with snake_case, Unix seconds, `has_more` & `next_cursor`. REST calls get it with `xquik-api-contract: 2026-04-29`.\n- Sign-in works in modern MCP clients with OAuth 2.1 & PKCE.\n- `whoami` returns an account ID that never changes.\n- Agents can pay per call without an account.\n- Tool input errors say what to change.\n- MCP shows why a post or search failed.\n- Rate limits & deprecations come as machine-readable headers.\n- Common names for cursor, limit, sort & type just work.\n- Pause a runaway agent's API key in 1 click, then resume it anytime.\n- Lock an API key to the IPs or CIDR ranges your servers call from.\n- Cap what an API key spends each month, with an email at 80%.\n\n### Rich data\n\n- Rows carry source apps, media counts & professional account data.\n- Short links resolve, & list rows can carry full profiles.\n- Community Notes contributors & notes, Space replays & job listings as Markdown.\n\n### Quality checks\n\n- Every field X shows is served, left out on purpose or proven absent.\n- Every read is checked live each hour.\n- Xquik checks each API spec change against the docs before it ships.\n\n## Rate limits\n\nEvery authenticated response carries `RateLimit-Policy`, your limit for that kind of request, and `RateLimit`, your requests left & seconds until the window resets. A refused request gets 429 with `Retry-After`.\n\n## Credits charged\n\nAn answer to a read carries `X-Xquik-Credits-Charged`, the credits that request charged. It is 0 for a page a filter empties & for a page sent again. A write names its charge in its body's `billing`.\n\n## Deprecation\n\nv1 stays compatible. A breaking removal gets at least 90 days of notice. A request with a deprecated query parameter or search filter gets an RFC 9745 `Deprecation` header. The answer's `Link` header points to the [deprecation policy](https://xquik.com/deprecation-policy.md). Once a removal date is set, an RFC 8594 `Sunset` header gives that date. Each operation that sends these headers declares them on its success answer. The [versioning guide](https://docs.xquik.com/guides/versioning) lists today's deprecations.\n\n## Client libraries\n\n[SDK, CLI, Terraform](https://docs.xquik.com/sdks) and [TweetClaw](https://docs.xquik.com/guides/tweetclaw).","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":true,"owner":"12709954","team":14944327,"collectionId":"5ee4fae0-138a-4615-ae47-ac4be7904df2","publishedId":"2sBY4TpxXK","public":true,"publicUrl":"https://documenter-api.postman.tech/view/12709954/2sBY4TpxXK","privateUrl":"https://go.postman.co/documentation/12709954-5ee4fae0-138a-4615-ae47-ac4be7904df2","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":"Official Xquik REST API collection for public X data, connected-account actions, automation, webhooks, exports, monitoring, and MCP. Includes safe starter requests, authentication guidance, live OpenAPI 3.1, and complete documentation links. Not affiliated with X Corp."},{"name":"title","value":"Xquik REST API: Public X Data, Automation &amp; MCP"}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.12.12","publishDate":"2026-08-01T15:50:16.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"Xquik REST API: Public X Data, Automation &amp; MCP","description":"Official Xquik REST API collection for public X data, connected-account actions, automation, webhooks, exports, monitoring, and MCP. Includes safe starter requests, authentication guidance, live OpenAPI 3.1, and complete documentation links. Not affiliated with X Corp."},"logos":{"logoLight":null,"logoDark":null}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/aed3db7290557fabe54fad7f34fa46dc1a6e88c865e34b11c5e0cc4f687ad0d6","favicon":"https://postman-image-service.postman.com/api/cloudinary-proxy/postman/image/upload/v1791845716/team/7b0553783eabf3fcc0cc3d23792c773c"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documenter.gw.postman.com/view/metadata/2sBY4TpxXK"}