List Google Trends topic suggestions
List the topics Google Trends suggests for a text.
Headers
Get your API keyAPI key (`sfk_...`)
Text to suggest topics for, 1 to 120 characters.
min 1 chars · max 120 chars
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})?$
Endpoint-specific response payload.
`found` when at least one topic matches; `no_data` when the query has no matches.
one of: found, no_data
The text that was suggested for.
The interface language.
Google Trends suggests at most five topics; there is no parameter for more.
one of: 5
At most five topics; an unmatched query returns none.
Knowledge Graph id (`/m/...` or `/g/...`). Use it as `id:<id>` in a query to mean the topic.
Topic title, localised by language.
What the entity is, in the interface language (free text, not an enum).
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/google-trends/suggestions?query=coffee" \
-H "x-api-key: YOUR_API_KEY"Responses
Google Trends topic suggestions.