Skip to documentation
Browse documentation

List trending searches

Return Google Trending Now searches by country and time window, with categories, related queries and an optional category filter.

Capability ID google_trends.trending.list
Maximum runtime 60 seconds
View raw

POST /execute Shared execution endpoint

Input parameters

category_id integer optional

Trending Now category ID; 0 includes all. Filters the complete fetched window before sorting and limiting. This is not an Explore category ID. Allowed values: `0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `13`, `14`, `15`, `16`, `17`, `18`, `19`, `20`. Default: `0`.

Available values 012345678910111314151617181920
country string required

Assigned ISO 3166-1 alpha-2 country code, case-insensitive (for example US or IN); XK is accepted for Kosovo. Availability depends on Trending Now.

Example US
hours integer optional

Allowed values: `4`, `24`, `48`, `168`. Default: `24`.

Example 24
Available values 42448168
include_ended boolean optional

Default: `false`.

limit integer optional

Maximum number of results to return. From 1 to 500. Default: `100`.

Example 25
sort string optional

Sort order for returned results. Allowed values: `relevance`, `title`, `volume`, `started_at`. Default: `relevance`.

Example started_at
Available values relevancetitlevolumestarted_at

Response

Successful output is returned in results[0].data.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

Illustrative sample The example response is shown in the response panel.

Illustrative output fields

Values illustrate one response. Read the guidance above for missing values and limits; fields can vary with the requested operation and the data available.

PathObserved typeExample
country string US
execution object 1 fields
execution.country_verified boolean true
hours integer 24
trends array 2 items
trends array 2 items

Execution behavior

A 200 response completed inline. A 202 response was queued; poll GET /jobs/:id until the job reaches completed or failed.