Google Trends

List Google Trends trending searches

List the searches trending on Google Trends by place.

GET/v1/google-trends/trending
1credit
x-api-keystringheader

API key (`sfk_...`)

Parameters
7
geostringquery

Place: an ISO 3166-1 country code (`US`, `DE`) or a subdivision code (`US-CA`, `DE-BY`). Lowercase input is accepted and normalised to uppercase. Default: `US`.

pattern: ^[A-Z]{2}(?:-[A-Z0-9]{1,3}){0,2}$

hoursquery

Window in hours: 4, 24, 48 or 168. Default: 24. Google Trends offers no other window.

categoryintegerquery

Trending category id: `0` (all, default), 1 to 11 or 13 to 20; for example `17` is Sports. This is the trending list's own set, not the categories endpoint's tree.

activebooleanquery

Only trends still active (`true`) or only ended ones (`false`). Omit for both.

sortstringquery

How to order the list: `recency` (newest start first, the default) or `volume` (largest search-volume bucket first).

one of: recency, volume

limitintegerquery

Trends per page, 1 to 100. Default: 25.

≥ 1 · ≤ 100

cursorstringquery

Cursor from `page.nextCursor` of the previous response. It only works with the same filters.

min 1 chars · max 1024 chars

Response fields
28

Endpoint-specific response payload.

datalookupStatus
string

`found` when Google Trends has a list for this geo. A geo Google Trends does not serve is a 400 from the API.

one of: found

datageo
string

The geo of this result.

datahours
integer

The window of this result, in hours.

datacategory
integernullable

The trending category filter that was applied; null when none was.

dataactive
booleannullable

The active/ended filter that was applied; null when both were kept.

datasort
string

The order of the rows.

one of: recency, volume

datalimit
integer

Maximum number of trends this page could carry.

≤ 100

Trends for this page, newest start first when sorted by recency. Google Trends lists at most a few thousand per geo and window.

datatrends[]query
string

The trending query, in the local language.

datatrends[]geo
stringnullable

The geo Google Trends echoes for the item; null when absent.

datatrends[]startedAt
stringnullable

When the trend started, ISO 8601 UTC; null when absent.

datatrends[]endedAt
stringnullable

When it stopped, ISO 8601 UTC; null while it is active.

datatrends[]searchVolume
integernullable

Search-volume bucket, e.g. 100, 1000 or 500000; null when absent.

datatrends[]growthPercent
integernullable

Growth step on Google Trends' own scale (50, 75, 100, 200 ... 1000), read as a percentage; null when absent.

Related searches; the first entry is the query itself.

datatrends[]relatedSearches[]
stringoptional

Category ids from the trending list's own category set; use the `category` parameter's list for their names.

datatrends[]categories[]
integeroptional

Names for the category ids above, in the same order; an id without a known name is omitted.

datatrends[]categoryNames[]
stringoptional

Pagination state for the current page.

datapagehasMore
boolean

Whether another page is available.

datapagenextCursor
stringnullable

Cursor for the next page; null on the last page.

Metadata describing the request and billing outcome.

metarequestId
string

Unique request identifier for tracing this API call.

min 1 chars

metacreditsCharged
integer

Credits charged for this request.

≥ 0

metaversion
string

Public API version that served the response.

one of: v1

Code example

curl "https://api.socialfetch.dev/v1/google-trends/trending?geo=US&hours=24&limit=10" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Google Trends trending.