Users
Users by IDs
Profiles of up to 500 accounts in one call.
Reference: https://www.twittrapi.com/docs/reference/user-users-by-ids
get/user/users/by/ids
Request
- Base URL: https://api.twittrapi.com
- URL: https://api.twittrapi.com/user/users/by/ids
- Auth: API key in header X-API-KEY
Query parameters
idsstring[] required
Numeric user IDs separated by commas. At most 500.
format'raw' | 'simple'
raw (default): X's JSON passed through. simple: flat camelCase JSON with a fixed schema and a {data, nextCursor, previousCursor, hasNextPage} envelope. Same price. The header X-Response-Format: simple does the same.
Response
Raw JSON of X's UsersByRestIds query (data.users, one result per ID).
With format=simple: Collection of User objects without cursors (hasNextPage false). Accounts X does not return are left out.
Changes
No recorded changes to this operation across all 1 revision of this API.