Google Trends Scraper

Receiving Google Trends Results

Poll this endpoint to retrieve the result of a submitted Google Trends scraping task.

Endpoint

GET /api/parsing/v1/result/google-trends/{requestId}

Keep polling until status is no longer "parsing".

Path Parameters

NameTypeRequiredDescription
requestIdstring (uuid)yesTask ID returned from the submit endpoint

Example Request

curl https://app.scrapering.com/api/parsing/v1/result/google-trends/YOUR_REQUEST_ID \
  --header 'Authorization: Bearer YOUR_API_KEY'

Responses

In progress — task is still being processed:

{
  "status": "parsing"
}

Ready — task completed successfully. Only the datasets listed in the request type array are present:

{
  "data": {
    "input": {
      "q": "iphone",
      "hl": "en-US",
      "tz": 0,
      "cat": 0,
      "geo": "US",
      "date": "today 1-m",
      "type": ["periods", "geo", "queries", "autocomplete"],
      "gprop": "",
      "resolution": null,
      "original_url": "https://trends.google.com/explore?q=iphone&date=today%201-m&hl=en-US&geo=US"
    },
    "autocomplete": [
      { "mid": "/m/027lnzs", "type": "Mobile phone", "title": "iPhone" },
      { "mid": "/g/11jd9g0sn8", "type": "Mobile phone", "title": "IPhone 12" },
      { "mid": "/g/11fmzcj1r3", "type": "Mobile phone", "title": "iPhone 11" }
    ],
    "interestOverTime": [
      { "time": "2026-08-28T00:00:00.000Z", "value": 41 },
      { "time": "2026-08-29T00:00:00.000Z", "value": 44 },
      { "time": "2026-09-09T00:00:00.000Z", "value": 100 }
    ],
    "interestByGeo": [
      { "value": 100, "geoCode": "US-KS", "geoName": "Kansas" },
      { "value": 57, "geoCode": "US-CA", "geoName": "California" },
      { "value": 56, "geoCode": "US-NY", "geoName": "New York" }
    ],
    "relatedQueries": {
      "top": [
        { "query": "iphone 18", "value": 100 },
        { "query": "iphone 18 pro", "value": 51 },
        { "query": "iphone 17", "value": 49 }
      ],
      "rising": [
        { "query": "iphone 18 duo", "value": 51800 },
        { "query": "iphone duo", "value": 22700 },
        { "query": "iphone 18 pro case", "value": "+1,750%" }
      ]
    }
  },
  "success": true
}

Response Fields

FieldTypeDescription
successbooleanWhether the scraping succeeded
dataobjectResult payload — contains one key per requested type
data.inputobjectNormalized request parameters the scrape was run with
data.input.original_urlstringGoogle Trends Explore URL equivalent to this request

data.interestOverTime — present when type includes periods:

FieldTypeDescription
timestringISO 8601 timestamp of the data point
valuenumberRelative search interest, 0–100 (100 = peak of the range)

data.interestByGeo — present when type includes geo:

FieldTypeDescription
geoNamestringRegion name (e.g. Kansas)
geoCodestringRegion code (e.g. US-KS)
valuenumberRelative search interest, 0–100, normalized across the returned regions

data.relatedQueries — present when type includes queries:

FieldTypeDescription
toparrayMost popular related queries in the range
top[].querystringRelated search query
top[].valuenumberRelative popularity, 0–100
risingarrayQueries with the fastest growth in the range
rising[].querystringRelated search query
rising[].valuenumber | stringGrowth figure — a number for a percentage increase, or a preformatted string such as "+1,750%"

data.relatedTopics — present when type includes topics. Same top / rising shape as relatedQueries, with topic entity metadata (title and type) in place of the query string.

data.autocomplete — present when type includes autocomplete:

FieldTypeDescription
midstringGoogle Knowledge Graph entity ID (e.g. /m/027lnzs)
titlestringEntity title (e.g. iPhone)
typestringEntity category (e.g. Mobile phone)

Trends values are relative, not absolute search volumes. 100 always marks the peak within the returned range, so values from two separate requests are not directly comparable.

Next steps