v1

latestOpenAPI 3.1.02026-07-26180242448.0 KB
Users

Search users

Search for users by username, display name, or keywords in their bio. Returns matching user profiles with comprehensive data. Useful for finding accounts related to specific topics or interests.

get/v1/twitter/users/search_users

Query parameters

querystring required
Example:machine learning

Search query to match against usernames, display names, and bios.

cursorstring

Pagination cursor for fetching the next page of results.

Response

Successfully retrieved search results.

next_cursorstring nullable

Cursor for fetching the next page. Null if no more results.

Example response

{
  "data": [
    {
      "id": "44196397",
      "username": "elonmusk",
      "name": "Elon Musk",
      "description": "Mars & Cars, Chips & Dips",
      "location": "Mars",
      "created_at": "Tue Jun 02 20:12:29 +0000 2009"
    }
  ]
}