InsightSocial API
Google Trends

Google Trends Related Queries API reference

Your first 10 calls are free, no card needed. Pricing and FAQ

Get a free API key
Example request
curl "https://api.insightsocial.app/v1/googletrends/related-queries?query=<query>" \
  -H "x-api-key: $INSIGHTSOCIAL_API_KEY"
GET
/v1/googletrends/related-queries

Get the top and rising related queries on Google Trends.

Beta. The source's own structure under our naming rules (snake_case keys, string ids, ISO times where the source gives a timestamp), not one of the schema-2 entities. Fields may change. See Beta endpoints.

20 credits per call.

x-api-key<token>

Your key from the dashboard. It starts with isk_.

In: header

Query Parameters

query*string

One search term, or a topic as id: followed by a Knowledge Graph id (id:/m/02vqfm). A single term may contain a comma; send it as one parameter value.

geo?string

Place: a country code (US, DE), a subdivision (US-CA, DE-BY) or an empty string for worldwide. Lowercase input is accepted and normalised to uppercase. Default: US.

category?integer

Category id from the categories endpoint. 0 (the default) means all categories.

Range0 <= value <= 9999999
source?string

Property to search: web (default), images, news, youtube or shopping.

Value in

  • "web"
  • "images"
  • "news"
  • "youtube"
  • "shopping"
language?string

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

time?string

Time range: now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all, or a custom YYYY-MM-DD YYYY-MM-DD range (hourly YYYY-MM-DDTHH is accepted).

dry_run?"1"

Set to 1 to get the price of this call without making it: data.dry_run carries credits_min and credits_max. Nothing is charged.

Value in

  • "1"

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.insightsocial.app/v1/googletrends/related-queries?query=string"
{  "success": true,  "platform": "string",  "endpoint": "string",  "schema_version": "2",  "pagination": {    "next_cursor": "string",    "has_more": true,    "page_size": 0,    "stopped_at": "since"  },  "unavailable": [    "string"  ],  "credits_used": 0,  "credits_remaining": 0,  "request_id": "string",  "cached": true,  "idempotent_replay": true,  "charge_reason": "string",  "free_call": true,  "data": {    "property1": null,    "property2": null  }}