GET /2/tweets/counts/recent

Returns Post Counts from the last 7 days that match a search query.

Servers

Query parameters

Name Type Required Description
query String Yes

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

until_id String No

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

next_token String No

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.

start_time String No

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

since_id String No

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

search_count.fields[] Array No

A comma separated list of SearchCount fields to display.

granularity String No

The granularity for the search counts results.

Possible values:

  • "day"
  • "minute"
  • "hour"

Default value: "hour"

end_time String No

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

pagination_token String No

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.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.