Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.xquik.com/llms.txt

Use this file to discover all available pages before exploring further.

Official Xquik SDKs wrap the REST API with generated request types, response models, retries, pagination helpers, and consistent authentication.

TypeScript / Node.js

Use typed REST calls from Node.js, Bun, Next.js route handlers, workers, and backend services.

Python

Build sync or async Python jobs for tweet search, user lookup, exports, monitors, and webhook automation.

Go

Add X data workflows to Go services with generated models, request options, and context-aware calls.

Java

Use Maven or Gradle to add the Java SDK to Spring, worker, and JVM backend applications.

Kotlin

Use idiomatic Kotlin types, nullable values, sequences, and suspend-friendly client surfaces.

C# / .NET

Install from NuGet and call Xquik from .NET services, workers, and command-line tools.

Ruby

Use the Ruby gem with Yard, RBS, RBI, retries, and connection pooling.

PHP

Add the Composer package to PHP 8.1+ applications with named parameters and typed exceptions.

CLI

Install the command-line tool for shell workflows, JSON output, and scripted API calls.

Terraform Provider

Manage Xquik resources as infrastructure and prepare for provider registry publication.

Choose an SDK

SDKInstallSource
TypeScriptnpm install x-twitter-scraperGitHub
Pythonpip install x_twitter_scraperGitHub
Gogo get github.com/Xquik-dev/x-twitter-scraper-goGitHub
Javacom.x_twitter_scraper.api:x-twitter-scraper-javaGitHub
Kotlincom.x_twitter_scraper.api:x-twitter-scraper-kotlinGitHub
C# / .NETdotnet add package XTwitterScraperGitHub
Rubygem install x-twitter-scraperGitHub
PHPcomposer require xquik/x-twitter-scraperGitHub
CLIgo install github.com/Xquik-dev/x-twitter-scraper-cli/cmd/x-twitter-scraper@latestGitHub
TerraformLocal provider build while registry publication is pendingGitHub

Authentication

All SDKs accept the same API credentials as the REST API:
export X_TWITTER_SCRAPER_API_KEY="xq_YOUR_KEY_HERE"
OAuth 2.1 bearer tokens are supported where the generated SDK exposes X_TWITTER_SCRAPER_BEARER_TOKEN.

Common Workflows

Error Handling & Pagination

Generated SDKs map HTTP errors into language-native exception or error types. Start with the error handling guide for status code semantics and the per-language page for idiomatic handling. Paginated endpoints return a page object with a next-page marker such as has_next_page, hasNextPage, or HasNextPage depending on language casing. Use the SDK’s generated pagination helpers when available, or pass the cursor fields documented on each endpoint.