v3

latestOpenAPI 3.0.32026-08-02415689.9 KB
Search

Search Tweets

Searches for tweets matching a text query using the same syntax as Twitter/X Advanced Search. Supports operators such as from:, to:, since:, until:, exact phrases in quotes, and hashtags. Returns up to 20 results per page, sortable by popular or latest. For a full list of supported query operators, see: https://github.com/igorbrigadir/twitter-advanced-search

post/search-tweets

Request body

next_cursorstring
orderstring
querystring

Example request

{
  "next_cursor": "JKHSJFHADUYJKSDy2y3u123",
  "order": "popular",
  "query": "elonmusk"
}

Response

OK

next_cursorstring

Cursor for fetching the next page of results. Null or absent if no more pages.