Google Trends

List Google Trends places

List the places Google Trends explore requests accept.

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

API key (`sfk_...`)

Parameters
3
languagestringquery

Interface language, as Google calls `hl` (`en-US`, `de`, `ja`, `ar`). It localises names, dates and type text; it does not translate the queries.

pattern: ^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})?$

countrystringquery

Only the places of this country, e.g. `US`.

pattern: ^[A-Z]{2}$

levelstringquery

Only places at this level: `country`, `subdivision` (states, provinces, regions) or `metro` (US Nielsen DMAs).

one of: country, subdivision, metro

Response fields
15

Endpoint-specific response payload.

datalookupStatus
string

`found` when the filter matches at least one place; `not_found` when it matches none.

one of: found, not_found

datalanguage
string

The interface language the names use.

datacountry
stringnullable

The country filter that was applied; null when none was.

datalevel
stringnullable

The level filter that was applied; null when all levels were returned.

one of: country, subdivision, metro, null

datatotal
integer

Number of places in this response.

Flattened places: 250 countries, 3,130 subdivisions and 301 US metro areas when unfiltered.

datageos[]id
string

Full place id: `US`, `US-CA` or `US-CA-807` (parent codes prefixed).

datageos[]name
string

Place name, localised by language.

datageos[]level
string

Country, subdivision or US Nielsen metro area.

one of: country, subdivision, metro

datageos[]parentId
stringnullable

Parent place id; null for a country.

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/geos?country=US&level=metro" \
  -H "x-api-key: YOUR_API_KEY"

Responses

Google Trends places.