v1

latestOpenAPI 3.0.1MIT2026-07-26589101.4 KB

Advanced search for tweets.Each page returns up to 20 replies(Sometimes less than 20,because we will filter out ads or other not tweets).

get/twitter/tweet/advanced_search

Query parameters

querystring string required

The query to search for.eg. "AI" OR "Twitter" from:elonmusk since_time:1776045662 until_time:1776081762 .please don't use since:2021-12-31_23:59:59_UTC and until:2021-12-31_23:59:59_UTC, it's not supported now!!! Get more examples from https://github.com/igorbrigadir/twitter-advanced-search

queryType'Latest' | 'Top' required

The query type to search for.eg. "Latest" OR "Top"

cursorstring string

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

Response

Tweets response

has_next_pageboolean required

Indicates if there are more results available

next_cursorstring required

Cursor for fetching the next page of results