Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
List the topics Google Trends suggests for a text.
Endpoint
/v1/google-trends/suggestions
Query
Text to suggest topics for, 1 to 120 characters.
Interface language, as Google calls `hl` (`en-US`, `de`, `ja`, `ar`). It localises names, dates and type text; it does not translate the queries.
const response = await fetch( "https://api.socialfetch.dev/v1/google-trends/suggestions?query=coffee", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);