logo

Trends Data

Get search interest over time, by region, related queries, and related topics

Returns Google Trends data for a keyword: interest over time, interest by region, related queries, and related topics.

Endpoint: GET https://api.scrape.do/plugin/google/trends


Parameters

Required

ParameterTypeDescription
tokenstringYour Scrape.do API token
qstringSearch keyword (e.g., bitcoin, climate change)

Optional

ParameterTypeDefaultDescription
geostring(worldwide)Location code. Defaults to worldwide when empty. Examples: US, GB, DE, US-CA
hlstringenLanguage code for the interface (e.g., en, es, fr)
datestringtoday 12-mTime range. Examples: today 12-m, today 3-m, today 5-y, 2024-01-01 2024-12-31
tzstring420Timezone offset in minutes from UTC
data_typestring(default)Widget filter. See table below. When omitted, returns TIMESERIES + GEO_MAP
catstring(all)Category ID to narrow results (e.g., 71 for Food & Drink)
gpropstring(web search)Google property. Options: (empty) for Web Search, images, news, youtube, froogle
regionstring(auto)Granularity for geo data: COUNTRY, REGION, DMA, CITY

data_type Options

ValueDescription
(omitted)Returns TIMESERIES + GEO_MAP (default)
TIMESERIESInterest over time only
GEO_MAPCompared breakdown by region (multiple queries)
GEO_MAP_0Interest by region (single query only)
RELATED_QUERIESRelated queries (single query only)
RELATED_TOPICSRelated topics (single query only, uses separate embed endpoint)

RELATED_QUERIES and RELATED_TOPICS are not included in the default response. Request them explicitly with data_type=RELATED_QUERIES or data_type=RELATED_TOPICS.


Example Requests

# Default: interest over time + regional breakdown, US, last 12 months
curl "https://api.scrape.do/plugin/google/trends?q=bitcoin&token=YOUR_TOKEN&geo=US"

# Interest over time only
curl "https://api.scrape.do/plugin/google/trends?q=bitcoin&token=YOUR_TOKEN&geo=US&data_type=TIMESERIES"

# Regional breakdown at city level
curl "https://api.scrape.do/plugin/google/trends?q=bitcoin&token=YOUR_TOKEN&geo=US&data_type=GEO_MAP_0&region=CITY"

# Related queries
curl "https://api.scrape.do/plugin/google/trends?q=bitcoin&token=YOUR_TOKEN&geo=US&data_type=RELATED_QUERIES"

# Related topics
curl "https://api.scrape.do/plugin/google/trends?q=bitcoin&token=YOUR_TOKEN&geo=US&data_type=RELATED_TOPICS"

# YouTube trends, last 3 months
curl "https://api.scrape.do/plugin/google/trends?q=bitcoin&token=YOUR_TOKEN&geo=US&gprop=youtube&date=today%203-m"

# Last 5 years
curl "https://api.scrape.do/plugin/google/trends?q=bitcoin&token=YOUR_TOKEN&geo=US&date=today%205-y"

Responses

Default (no data_type)

Returns weekly interest over time and regional breakdown.

{
  "search_parameters": {
    "q": "bitcoin",
    "geo": "US",
    "hl": "en",
    "date": "today 12-m",
    "tz": "420"
  },
  "interest_over_time": {
    "timeline_data": [
      {
        "date": "Apr 6 – 12, 2025",
        "timestamp": "1743897600",
        "values": [
          {
            "query": "bitcoin",
            "value": "40",
            "extracted_value": 40
          }
        ]
      },
      {
        "date": "Feb 1 – 7, 2026",
        "timestamp": "1769904000",
        "values": [
          {
            "query": "bitcoin",
            "value": "100",
            "extracted_value": 100
          }
        ]
      }
    ]
  },
  "interest_by_region": [
    {
      "geo": "US-HI",
      "location": "Hawaii",
      "max_value_index": 0,
      "value": "100",
      "extracted_value": 100
    },
    {
      "geo": "US-NV",
      "location": "Nevada",
      "max_value_index": 0,
      "value": "99",
      "extracted_value": 99
    }
  ]
}

data_type=RELATED_QUERIES

{
  "search_parameters": {
    "q": "bitcoin",
    "geo": "US",
    "hl": "en",
    "date": "today 12-m",
    "tz": "420",
    "data_type": "RELATED_QUERIES"
  },
  "related_queries": {
    "top": [
      {
        "query": "bitcoin price",
        "value": "100",
        "extracted_value": 100,
        "link": "https://trends.google.com/trends/explore?q=bitcoin+price&date=today+12-m&geo=US"
      }
    ],
    "rising": [
      {
        "query": "how to buy bitcoin safely",
        "value": "Breakout",
        "extracted_value": 9750,
        "link": "https://trends.google.com/trends/explore?q=how+to+buy+bitcoin+safely&date=today+12-m&geo=US"
      }
    ]
  }
}

data_type=RELATED_TOPICS

{
  "search_parameters": {
    "q": "bitcoin",
    "geo": "US",
    "hl": "en",
    "date": "today 12-m",
    "tz": "420",
    "data_type": "RELATED_TOPICS"
  },
  "related_topics": {
    "top": [
      {
        "topic": {
          "value": "/m/0vpj4_b",
          "title": "Bitcoin",
          "type": "Cryptocurrency"
        },
        "value": "100",
        "extracted_value": 100,
        "link": "https://trends.google.com/trends/explore?q=/m/0vpj4_b&date=today+12-m&geo=US"
      }
    ],
    "rising": [
      {
        "topic": {
          "value": "/g/11g8vsrxcc",
          "title": "NVIDIA",
          "type": "Topic"
        },
        "value": "Breakout",
        "extracted_value": 71150,
        "link": "https://trends.google.com/trends/explore?q=/g/11g8vsrxcc&date=today+12-m&geo=US"
      }
    ]
  }
}

Response Fields

interest_over_time.timeline_data[]

Weekly data points, normalized 0–100 relative to the peak. A value of 100 is the peak popularity for the time period. A value of 50 means half as popular.

FieldTypeDescription
datestringHuman-readable date range
timestampstringUnix timestamp (start of period)
values[].querystringThe search keyword
values[].valuestringNormalized interest value (0–100)
values[].extracted_valueintegerNumeric version of value

interest_by_region[]

Breakdown by region (state, country, city depending on geo and region params).

FieldTypeDescription
geostringGoogle region code (e.g., US-CA)
locationstringHuman-readable location name
valuestringNormalized interest value (0–100)
extracted_valueintegerNumeric version of value

Only returned when data_type=RELATED_QUERIES.

  • top: Most popular related queries ranked by search volume
  • rising: Queries with the biggest increase in frequency. "Breakout" means >5000% growth

Only returned when data_type=RELATED_TOPICS. Same structure as related queries but with topic entities (Knowledge Graph title, type, ID).

On this page