Logo
Twitter API Documentation

User Lookup

Number of APIs: 4


1. User by ID

GET https://api.twitter.com/2/users/:id

This endpoint returns details about a user by ID.

For full details, see the API reference for this endpoint.



2. Users by ID

GET https://api.twitter.com/2/users?ids=

This endpoint returns details about up to 100 users by ID.

For full details, see the API reference for this endpoint.



3. User by Username

GET https://api.twitter.com/2/users/by/username/:username

This endpoint returns details about a user by username.

For full details, see the API reference for this endpoint.



4. Users by Username

GET https://api.twitter.com/2/users/by?usernames=

This endpoint returns details about up to 100 users specified by username.

For full details, see the API reference for this endpoint.



ENDPOINTS