Free trial: 3 of 3 test requests left. Get your own API key with 100 free credits. No credit card.
List the searches trending on Google Trends by place.
Endpoint
/v1/google-trends/trending
Query
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`.
Window in hours: 4, 24, 48 or 168. Default: 24. Google Trends offers no other window.
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.
Only trends still active (`true`) or only ended ones (`false`). Omit for both.
How to order the list: `recency` (newest start first, the default) or `volume` (largest search-volume bucket first).
Trends per page, 1 to 100. Default: 25.
Cursor from `page.nextCursor` of the previous response. It only works with the same filters.
const response = await fetch( "https://api.socialfetch.dev/v1/google-trends/trending", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);