PaginatedResult
Methods that return large datasets use server-side pagination (100 items per page). These return aPaginatedResult[T] (sync) or AsyncPaginatedResult[T] (async) with built-in navigation helpers.
- Sync
- Async
Navigating Pages
- Sync
- Async
Exporting to CSV
Any paginated result can be exported to CSV. This triggers a server-side export and returns a download URL.- Sync
- Async
Response Types
Methods that returnPaginatedResult support a response_type parameter to control how results are fetched. Import the ResponseType enum:
Fast Mode (default)
Returns results immediately without polling. This is the default behavior whenresponse_type is not specified.
Paging Mode
Returns full paginated results (100 items per page). Use this when you need to iterate through all results.CSV Mode
Triggers a server-side CSV export. The result contains no inline data — callexport_csv() to get the download URL.
Methods Supporting Response Types
The following methods accept bothresponse_type and limit:
These methods accept
limit only (no response_type):
twitter.search_users(),instagram.search_users(),reddit.search_users(),reddit.search_subreddits(),tiktok.search_users()
For the equivalent pagination patterns in TypeScript, see TypeScript SDK Pagination. The TypeScript SDK uses
ResponseType.Fast, ResponseType.Paging, and ResponseType.Csv (PascalCase enum values) and camelCase field names.
