Installation
Get an Access Key
Sign up and get your token at xpoz.ai/get-token.Create a Client
The Python SDK provides both synchronous and asynchronous clients.- Sync
- Async
Configuration Options
Your First Call
- Sync
- Async
Context Managers
Use context managers to automatically close the client when done.- Sync
- Async
Field Selection
All methods accept afields parameter. Use snake_case field names — the SDK automatically converts to camelCase for the API.
Query Syntax
Thequery parameter on search_posts, get_users_by_keywords, and similar methods supports Lucene-style full-text search:
Do not use
from:, lang:, since:, or until: in the query string. Use the dedicated parameters (author_username, language, start_date, end_date) instead.Environment Variables
Next Steps
- Pagination — navigate large result sets and export CSV
- Error Handling — handle errors gracefully
- SDK Reference — full list of methods and type models
- TypeScript SDK Quickstart — equivalent guide for the TypeScript SDK

