GET /2/tweets/search/all

twitter.com:current

Summary: Full-archive search
Operation ID: tweetsFullarchiveSearch
Auth: unknown
Description

Returns Tweets that match a search query.

Parameters (15)

end_time (string, query, optional)

YYYY-MM-DDTHH:mm:ssZ. The newest, most recent UTC timestamp to which the Tweets will be provided. Timestamp is in second granularity and is exclusive (i.e. 12:00:01 excludes the first second of the minute).

expansions (array, query, optional)

A comma separated list of fields to expand.

max_results (integer, query, optional, default: 10)

The maximum number of search results to be returned by a request.

Constraints: {'minimum': 10, 'maximum': 500}

media.fields (array, query, optional)

A comma separated list of Media fields to display.

next_token (?, query, optional)

This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.

pagination_token (?, query, optional)

This parameter is used to get the next 'page' of results. The value used with the parameter is pulled directly from the response provided by the API, and should not be modified.

place.fields (array, query, optional)

A comma separated list of Place fields to display.

poll.fields (array, query, optional)

A comma separated list of Poll fields to display.

query (string, query, required)

One query/rule/filter for matching Tweets. Refer to https://t.co/rulelength to identify the max query length.

Constraints: {'minLength': 1, 'maxLength': 4096}

since_id (?, query, optional)

Returns results with a Tweet ID greater than (that is, more recent than) the specified ID.

sort_order (string, query, optional)

This order in which to return results.

Constraints: {'enum': ['recency', 'relevancy']}

start_time (string, query, optional)

YYYY-MM-DDTHH:mm:ssZ. The oldest UTC timestamp from which the Tweets will be provided. Timestamp is in second granularity and is inclusive (i.e. 12:00:01 includes the first second of the minute).

tweet.fields (array, query, optional)

A comma separated list of Tweet fields to display.

until_id (?, query, optional)

Returns results with a Tweet ID less than (that is, older than) the specified ID.

user.fields (array, query, optional)

A comma separated list of User fields to display.

No probe data for this endpoint yet.