Twitter API documentation & X API docs by Xquik
Xquik is an independent third-party service. Not affiliated with X Corp. "Twitter" and "X" are trademarks of X Corp.
Xquik is the world's fastest and cheapest X Twitter scraper service with the most complete X data. Xquik charges only for delivered, unique, filter-matching results and never pads rows.
This repository holds the Twitter API documentation for Xquik, an X data and automation platform. Published at docs.xquik.com.
This repository contains the Xquik REST API, webhook, MCP, OAuth 2.1, and SDK docs. Find request and response details for tweet search, user lookup, follower exports, media uploads, direct messages, 1-second tweet monitors, signed webhooks, SDK clients, and X automation.
Trust & usage
- 53,000+ downloads of Xquik's Twitter API packages on npm, PyPI, RubyGems, NuGet, Packagist & Terraform (source)
- 9,500+ users of Xquik's Twitter scraper Actors on Apify (source)
- 6,700,000+ runs of Xquik's Twitter scraper Actors on Apify (source)
- 4.66 of 5 for the X Tweet Scraper from 16 Apify reviews (source)
- 4,000+ accounts on xquik.com (source)
- 1,600+ installs of Xquik's Twitter Skills on skills.sh (source)
- 13.2 s p99 REST API server read time over 7 days, failed reads included (source)
- 380+ GitHub stars across Xquik's repos (source)
Checked on 2026-10-25. See each number with its date & source on xquik.com/trust or as JSON.
Choose this repository
Use the hosted site for current guidance. Review this repository when proposing fixes or validating contracts. Generated client APIs live in the SDK repositories.
Start here
- Quickstart. Make the first authenticated API call.
- API reference. Browse every OpenAPI-backed operation.
- Guest wallets. Fund accountless paid-read routes through a confirmed hosted checkout.
- Direct MPP. Pay per request on fixed-price GET operations.
- SDKs. Use TypeScript, Python, Go, Java, Kotlin, C#, Ruby, PHP, CLI, and Terraform clients.
- Tweet search export. Export tweets by keyword to CSV, JSON, or XLSX.
- Tweet replies export. Export replies to CSV, JSON, or XLSX.
- Follower export. Export X followers to CRM or warehouse.
- Direct message workflow. Send DMs and store returned message IDs.
- Prefect. Schedule tweet, user, timeline, and trend reads in Prefect flows.
- Webhooks. Verify HMAC signatures and receive monitor events.
- Open source assurance. Review OpenSSF project mapping and controls.
- Apify Actors. Run focused X data jobs on Apify.
Use with AI coding agents
- Context7 library. Load indexed Xquik docs in supported coding agents.
- llms.txt. Discover every docs page before reading deeper.
- MCP server. Connect through Code Mode or OpenAPI-native tools.
- MCP 2026-07-28. Understand
server/discover, request-scoped calls, and private cache hints. - Coding-agent setup. Connect current Claude Code, Cursor, OpenCode, Pi, Codex & other MCP clients.
- Agent catalog. Discover the MCP server, A2A agent, API contract, OAuth metadata, and auth.md.
- Agent Skills index. Discover and verify Xquik's hosted
SKILL.md. - auth.md. Read interactive and claimed agent authorization instructions.
- OpenAPI spec. Generate clients or inspect request and response shapes.
Common questions
Search tweets with from:, since:, until:, filters, and cursor pagination.
What's covered
- REST API. Operations span account, guest wallets, API keys, monitors, events, webhooks, draws, extractions, X data, trends, radar, styles, drafts, compose, X accounts, writes, support, and integrations.
- Webhooks. HMAC SHA-256 signature verification, retry semantics, and payload schemas.
- MCP server. Use 3 Code Mode tools or
docsplus OpenAPI-native tools, 1 for each eligible operation. Guest keys receive the eligible read operations. Binary downloads use REST. - OAuth 2.1. Automatic discovery, PKCE, client registration, claimed service identities, and token refresh.
- Guides. Workflows, error handling, rate limits, billing, trends, extractions, architecture, troubleshooting, types, webhook testing, and framework integrations.
- SDKs. 10 generated clients support TypeScript, Python, Go, Java, Kotlin, C#, Ruby, PHP, CLI, and Terraform.
- Comparisons. Alternatives for X APIs, tweet scrapers, follower exporters, creator tools, and social suites.
- Apify Actors. Actors cover tweets, replies, followers, trends, profiles, communities, lists, and user search.
- OpenAPI 3.1. Machine-readable contract for endpoint pages and SDK generation.
Repository layout
api-reference/ OpenAPI operations, grouped by resource
guides/ Workflow, operations, and framework guides
webhooks/ Overview + signature verification
mcp/ MCP server overview + tool reference
oauth/ OAuth 2.1 setup + flow
sdks/ Per-language SDK landing pages
alternatives/ Comparison and migration guides
x-api-quickstart.mdx 2-minute quickstart
docs.json Navigation + theme config
custom.css Custom styling
llms.txt AI-readable site index
openapi.yaml OpenAPI 3.1 spec, copied from the application
Local development
Install Bun, rustup, OSV-Scanner, Gitleaks & ShellCheck. Use the pinned npm version in package.json.
bunx --bun [email protected] ci --ignore-scripts
bun run check:all
openapi.yaml is an exact copy of the application's spec. Never edit it here.
Clone the application beside this repository, or set XQUIK_PRODUCT_ROOT to it.
bun run sync then copies the spec & rewrites each page's response examples.
The parity & features catalog tests need that checkout too. Without it, they skip & say so.
If the checkout lacks a file a test reads, that test fails & says to update the checkout.
Run bunx --bun [email protected] dev when visual previewing is necessary.
Deployment
main auto-deploys to docs.xquik.com.
Deployment status appears in commit check runs.
This repository runs no GitHub Actions. Run every required check locally before pushing. Verify the published pages after deployment.
Contributing
See CONTRIBUTING.md for style rules, content conventions, and the workflow for opening a PR.
Security
To report a vulnerability in the docs site or in any documented endpoint behaviour, see SECURITY.md. Do not file public issues for security findings.
Related repositories
- Xquik. Main app and dashboard.
- Xquik-dev/x-twitter-scraper-python. Python SDK.
- Xquik-dev/x-twitter-scraper-typescript. TypeScript SDK.
- Other generated SDKs are listed under the Xquik-dev org.
License
The documentation source uses the MIT License.
The license does not cover the Xquik product, brand, or platform.
Xquik is an independent third-party service. Not affiliated with X Corp. "Twitter" and "X" are trademarks of X Corp.