Use the C# SDK for typed .NET Standard 2.0+ access to Xquik from services, workers, console tools, and ASP.NET backends.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.
Install
Authenticate
new XTwitterScraperClient() reads X_TWITTER_SCRAPER_API_KEY, X_TWITTER_SCRAPER_BEARER_TOKEN, and X_TWITTER_SCRAPER_BASE_URL.
Basic Example
Error Handling
The C# SDK throws generated exception types for non-success responses and connection failures.| Status | Exception |
|---|---|
| 400 | XTwitterScraperBadRequestException |
| 401 | XTwitterScraperUnauthorizedException |
| 403 | XTwitterScraperForbiddenException |
| 404 | XTwitterScraperNotFoundException |
| 422 | XTwitterScraperUnprocessableEntityException |
| 429 | XTwitterScraperRateLimitException |
| 5xx | XTwitterScraper5xxException |
Pagination
Paginated responses expose generated fields such asHasNextPage. Pass cursor parameters from the previous response when an endpoint supports cursor pagination.