Log in

API usage

Add &scraper=google-trends-explore to a Crawling API request. URL-encode the target URL in the url parameter. Filters such as geo, time range, category, and search type are passed as query-string parameters on the Google Trends URL itself.

curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
  --data-urlencode 'url=https://trends.google.com/trends/explore?q=/g/11cs9m5kkd' \
  --data-urlencode 'scraper=google-trends-explore' -G
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
    'https://trends.google.com/trends/explore?q=/g/11cs9m5kkd',
    {'scraper': 'google-trends-explore'}
)

import json
data = json.loads(res['body'])
const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });

const res = await api.get(
  'https://trends.google.com/trends/explore?q=/g/11cs9m5kkd',
  { scraper: 'google-trends-explore' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

res = api.get('https://trends.google.com/trends/explore?q=/g/11cs9m5kkd', scraper: 'google-trends-explore')
data = JSON.parse(res.body)

Example input URL

The URL passed in the url parameter (URL-decoded for readability):

https://trends.google.com/trends/explore?q=/g/11cs9m5kkd

Response shape

JSON response body. Field types may be null when the source page omits the value.

topic
string
Resolved topic label for the Explore query (a Knowledge-Graph topic name, or the literal search term when no topic is matched).
filters
object
Filter state reflected by the page, decoded from the Google Trends URL.
filters.geo
string
Resolved geography label (country or sub-region) the comparison is scoped to. Defaults to Worldwide when no geo is set.
filters.timeRange
string
Time-range label the comparison is filtered by (for example Past 12 months, Past 7 days).
filters.category
string
Category filter label (for example All categories).
filters.searchType
string
Search-type filter label (for example Web Search, YouTube Search).
filters.description
string
Human-readable summary of the active filters (typically geo joined with timeRange).
interestOverTime
object
Interest-over-time chart block.
interestOverTime.title
string
Section heading as rendered by Google (typically Interest over time).
interestOverTime.timeline
array
Time-series points for the topic, ordered chronologically.
interestOverTime.timeline[].date
string
Localized date label for the data point.
interestOverTime.timeline[].value
number
Normalized interest score for the data point, on a 0-100 scale where 100 is peak popularity for the period.
interestOverTime.timelineCount
integer
Total number of points in timeline.
interestBySubregion
object
Interest-by-sub-region block (country, sub-region, metro, or city, depending on the active geo).
interestBySubregion.title
string
Section heading as rendered by Google (typically Interest by region, Interest by sub-region, etc.).
interestBySubregion.view
string
Active view tab (typically Top or Rising).
interestBySubregion.totalItems
integer
Total number of regions available across all pages.
interestBySubregion.paginationText
string
Localized pagination summary (for example Showing 1-5 of 87 regions).
interestBySubregion.items
array
Regions on the current page, ordered by position.
interestBySubregion.items[].position
integer
Rank of the region within the response (1-based).
interestBySubregion.items[].name
string
Region name as shown by Google.
interestBySubregion.items[].value
number
Normalized interest score for the region on a 0-100 scale.
relatedTopics
object
Related-topics block.
relatedTopics.title
string
Section heading as rendered by Google (typically Related topics).
relatedTopics.view
string
Active view tab (typically Top or Rising).
relatedTopics.items
array
Related topics on the current page, ordered by position.
relatedTopics.items[].position
integer
Rank of the topic within the response (1-based).
relatedTopics.items[].name
string
Topic name as shown by Google.
relatedTopics.items[].value
string
Score label as shown by Google: a percentage growth string (for example +250%) on the Rising view, or Breakout for new entrants; a relative score on the Top view.
relatedTopics.items[].link
string
Google Trends Explore URL for the related topic.
relatedQueries
object
Related-queries block.
relatedQueries.title
string
Section heading as rendered by Google (typically Related queries).
relatedQueries.view
string
Active view tab (typically Top or Rising).
relatedQueries.items
array
Related queries on the current page, ordered by position.
relatedQueries.items[].position
integer
Rank of the query within the response (1-based).
relatedQueries.items[].name
string
Search query as shown by Google.
relatedQueries.items[].value
string
Score label as shown by Google: a percentage growth string (for example +250%) on the Rising view, or Breakout for new entrants; a relative score on the Top view.
relatedQueries.items[].link
string
Google Trends Explore URL for the related query.

Sample response

{
  "topic": "YouTube Music",
  "filters": {
    "geo": "Worldwide",
    "timeRange": "Past 12 months",
    "category": "All categories",
    "searchType": "Web Search",
    "description": "Worldwide, Past 12 months"
  },
  "interestOverTime": {
    "title": "Interest over time",
    "timeline": [
      {
        "date": "Jun 15, 2025",
        "value": 100
      }
    ],
    "timelineCount": 53
  },
  "interestBySubregion": {
    "title": "Interest by region",
    "view": "Top",
    "totalItems": 87,
    "paginationText": "Showing 1-5 of 87 regions",
    "items": [
      {
        "position": 1,
        "name": "South Africa",
        "value": 100
      }
    ]
  },
  "relatedTopics": {
    "title": "Related topics",
    "view": "Rising",
    "items": [
      {
        "position": 1,
        "name": "Spotify - Topic",
        "value": "Breakout",
        "link": "https://trends.google.com/trends/explore?q=/g/11hy9l1k8h&date=today+12-m"
      }
    ]
  },
  "relatedQueries": {
    "title": "Related queries",
    "view": "Rising",
    "items": [
      {
        "position": 1,
        "name": "youtube muzica",
        "value": "+250%",
        "link": "https://trends.google.com/trends/explore?q=youtube+muzica&date=today+12-m"
      }
    ]
  }
}