Skip to main content
GET
Advanced Search
Search X posts by keyword or query with X’s advanced search operators, sorted by Latest (default) or Top. This is the primary entry point for X content research when you do not yet have tweet IDs or handles. Supports operators in the query string such as from:, to:, since:, until:, min_faves:, and -filter:replies. Cursor-paginated; returns tweets with has_next_page and next_cursor. To search accounts rather than posts use get_twitter_user_search. To read one account’s own posts use get_twitter_user_tweet_timeline.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

query
string
required

The query to search for.

queryType
enum<string>
default:Latest
required

The query type to search for.

Available options:
Latest,
Top
cursor
string

The cursor to paginate through the results. First page is empty.

Response

200 - application/json

Successful response

tweets
object[]
has_next_page
boolean
next_cursor
string