Google Search Scraper

ENDPOINTS
GET/trends/related

Related Queries & Topics

Top and rising related searches or topics for each keyword, as shown on Google Trends.

QUERY PARAMS

Up to 5 comma-separated search terms to compare (case kept).

Examples:

  • One: python
  • Compare: python,javascript

Related search queries, or related topics.

Default: queries

Allowed values: queries, topics

Time range of the data, or a custom YYYY-MM-DD YYYY-MM-DD range.

Default: past_12_months

Allowed values: past_hour, past_4_hours, past_day, past_7_days, past_30_days, past_90_days, past_12_months, past_5_years, all, or YYYY-MM-DD YYYY-MM-DD

2-letter country to limit the data to. Omit for worldwide.

Allowed values: any ISO 3166-1 alpha-2 code (US, GB, IN, ...)

Google Trends category id to narrow the data (e.g. 5 = Computers & Electronics). Omit for all categories.

Allowed values: 1-2000

Which Google property's searches to measure.

Default: web

Allowed values: web, images, news, youtube, shopping

Language of topic names and labels.

Default: en

Allowed values: any ISO 639-1 code (en, es, de, ...)

{
  "keywords": [
    "python"
  ],
  "country": "worldwide",
  "timeframe": "today 12-m",
  "category": 0,
  "property": "web",
  "language": "en-US",
  "type": "queries",
  "results": [
    {
      "keyword": "python",
      "top": [
        {
          "query": "what is python",
          "topic": null,
          "value": 100,
          "formatted_value": "100",
          "link": "https://trends.google.com/trends/explore?q=what+is+python&date=today+12-m"
        },
        {
          "query": "python list",
          "topic": null,
          "value": 89,
          "formatted_value": "89",
          "link": "https://trends.google.com/trends/explore?q=python+list&date=today+12-m"
        },
        {
          "query": "python code",
          "topic": null,
          "value": 89,
          "formatted_value": "89",
          "link": "https://trends.google.com/trends/explore?q=python+code&date=today+12-m"
        },
        {
          "query": "python online",
          "topic": null,
          "value": 83,
          "formatted_value": "83",
          "link": "https://trends.google.com/trends/explore?q=python+online&date=today+12-m"
        },
        {
          "query": "python news",
          "topic": null,
          "value": 68,
          "formatted_value": "68",
          "link": "https://trends.google.com/trends/explore?q=python+news&date=today+12-m"
        },
        {
          "query": "python download",
          "topic": null,
          "value": 62,
          "formatted_value": "62",
          "link": "https://trends.google.com/trends/explore?q=python+download&date=today+12-m"
        },
        {
          "query": "python install",
          "topic": null,
          "value": 47,
          "formatted_value": "47",
          "link": "https://trends.google.com/trends/explore?q=python+install&date=today+12-m"
        },
        {
          "query": "python tutorial",
          "topic": null,
          "value": 43,
          "formatted_value": "43",
          "link": "https://trends.google.com/trends/explore?q=python+tutorial&date=today+12-m"
        },
        {
          "query": "programming python",
          "topic": null,
          "value": 43,
          "formatted_value": "43",
          "link": "https://trends.google.com/trends/explore?q=programming+python&date=today+12-m"
        },
        {
          "query": "python compiler",
          "topic": null,
          "value": 33,
          "formatted_value": "33",
          "link": "https://trends.google.com/trends/explore?q=python+compiler&date=today+12-m"
        },
        {
          "query": "python set",
          "topic": null,
          "value": 31,
          "formatted_value": "31",
          "link": "https://trends.google.com/trends/explore?q=python+set&date=today+12-m"
        },
        {
          "query": "learn python",
          "topic": null,
          "value": 26,
          "formatted_value": "26",
          "link": "https://trends.google.com/trends/explore?q=learn+python&date=today+12-m"
        },
        {
          "query": "python data analysis",
          "topic": null,
          "value": 25,
          "formatted_value": "25",
          "link": "https://trends.google.com/trends/explore?q=python+data+analysis&date=today+12-m"
        },
        {
          "query": "python online compiler",
          "topic": null,
          "value": 21,
          "formatted_value": "21",
          "link": "https://trends.google.com/trends/explore?q=python+online+compiler&date=today+12-m"
        },
        {
          "query": "python web framework",
          "topic": null,
          "value": 21,
          "formatted_value": "21",
          "link": "https://trends.google.com/trends/explore?q=python+web+framework&date=today+12-m"
        },
        {
          "query": "python dictionary",
          "topic": null,
          "value": 20,
          "formatted_value": "20",
          "link": "https://trends.google.com/trends/explore?q=python+dictionary&date=today+12-m"
        },
        {
          "query": "cloud",
          "topic": null,
          "value": 20,
          "formatted_value": "20",
          "link": "https://trends.google.com/trends/explore?q=cloud&date=today+12-m"
        },
        {
          "query": "python programming tutorial",
          "topic": null,
          "value": 19,
          "formatted_value": "19",
          "link": "https://trends.google.com/trends/explore?q=python+programming+tutorial&date=today+12-m"
        },
        {
          "query": "vs code",
          "topic": null,
          "value": 18,
          "formatted_value": "18",
          "link": "https://trends.google.com/trends/explore?q=vs+code&date=today+12-m"
        },
        {
          "query": "monty python",
          "topic": null,
          "value": 18,
          "formatted_value": "18",
          "link": "https://trends.google.com/trends/explore?q=monty+python&date=today+12-m"
        },
        {
          "query": "ball python",
          "topic": null,
          "value": 18,
          "formatted_value": "18",
          "link": "https://trends.google.com/trends/explore?q=ball+python&date=today+12-m"
        },
        {
          "query": "java",
          "topic": null,
          "value": 17,
          "formatted_value": "17",
          "link": "https://trends.google.com/trends/explore?q=java&date=today+12-m"
        },
        {
          "query": "python range",
          "topic": null,
          "value": 17,
          "formatted_value": "17",
          "link": "https://trends.google.com/trends/explore?q=python+range&date=today+12-m"
        },
        {
          "query": "computer",
          "topic": null,
          "value": 15,
          "formatted_value": "15",
          "link": "https://trends.google.com/trends/explore?q=computer&date=today+12-m"
        },
        {
          "query": "wikipedia",
          "topic": null,
          "value": 13,
          "formatted_value": "13",
          "link": "https://trends.google.com/trends/explore?q=wikipedia&date=today+12-m"
        }
      ],
      "rising": [
        {
          "query": "lidl near me",
          "topic": null,
          "value": 23700,
          "formatted_value": "Breakout",
          "link": "https://trends.google.com/trends/explore?q=lidl+near+me&date=today+12-m"
        },
        {
          "query": "walmart near me",
          "topic": null,
          "value": 13400,
          "formatted_value": "Breakout",
          "link": "https://trends.google.com/trends/explore?q=walmart+near+me&date=today+12-m"
        },
        {
          "query": "老虎",
          "topic": null,
          "value": 6300,
          "formatted_value": "Breakout",
          "link": "https://trends.google.com/trends/explore?q=%E8%80%81%E8%99%8E&date=today+12-m"
        },
        {
          "query": "python programming tutorial",
          "topic": null,
          "value": 5450,
          "formatted_value": "Breakout",
          "link": "https://trends.google.com/trends/explore?q=python+programming+tutorial&date=today+12-m"
        },
        {
          "query": "python web framework",
          "topic": null,
          "value": 3350,
          "formatted_value": "+3,350%",
          "link": "https://trends.google.com/trends/explore?q=python+web+framework&date=today+12-m"
        },
        {
          "query": "internet of things examples",
          "topic": null,
          "value": 2550,
          "formatted_value": "+2,550%",
          "link": "https://trends.google.com/trends/explore?q=internet+of+things+examples&date=today+12-m"
        },
        {
          "query": "learn python for beginners",
          "topic": null,
          "value": 2200,
          "formatted_value": "+2,200%",
          "link": "https://trends.google.com/trends/explore?q=learn+python+for+beginners&date=today+12-m"
        },
        {
          "query": "software testing strategies",
          "topic": null,
          "value": 2050,
          "formatted_value": "+2,050%",
          "link": "https://trends.google.com/trends/explore?q=software+testing+strategies&date=today+12-m"
        },
        {
          "query": "api design principles",
          "topic": null,
          "value": 1750,
          "formatted_value": "+1,750%",
          "link": "https://trends.google.com/trends/explore?q=api+design+principles&date=today+12-m"
        },
        {
          "query": "docker containerization",
          "topic": null,
          "value": 1700,
          "formatted_value": "+1,700%",
          "link": "https://trends.google.com/trends/explore?q=docker+containerization&date=today+12-m"
        },
        {
          "query": "web development best practices",
          "topic": null,
          "value": 1500,
          "formatted_value": "+1,500%",
          "link": "https://trends.google.com/trends/explore?q=web+development+best+practices&date=today+12-m"
        },
        {
          "query": "cybersecurity tips",
          "topic": null,
          "value": 1300,
          "formatted_value": "+1,300%",
          "link": "https://trends.google.com/trends/explore?q=cybersecurity+tips&date=today+12-m"
        },
        {
          "query": "database optimization",
          "topic": null,
          "value": 1050,
          "formatted_value": "+1,050%",
          "link": "https://trends.google.com/trends/explore?q=database+optimization&date=today+12-m"
        },
        {
          "query": "computer vision projects",
          "topic": null,
          "value": 1050,
          "formatted_value": "+1,050%",
          "link": "https://trends.google.com/trends/explore?q=computer+vision+projects&date=today+12-m"
        },
        {
          "query": "node.js backend",
          "topic": null,
          "value": 1050,
          "formatted_value": "+1,050%",
          "link": "https://trends.google.com/trends/explore?q=node.js+backend&date=today+12-m"
        },
        {
          "query": "agile methodology",
          "topic": null,
          "value": 850,
          "formatted_value": "+850%",
          "link": "https://trends.google.com/trends/explore?q=agile+methodology&date=today+12-m"
        },
        {
          "query": "dance",
          "topic": null,
          "value": 800,
          "formatted_value": "+800%",
          "link": "https://trends.google.com/trends/explore?q=dance&date=today+12-m"
        },
        {
          "query": "frontend frameworks",
          "topic": null,
          "value": 800,
          "formatted_value": "+800%",
          "link": "https://trends.google.com/trends/explore?q=frontend+frameworks&date=today+12-m"
        },
        {
          "query": "microservices architecture",
          "topic": null,
          "value": 750,
          "formatted_value": "+750%",
          "link": "https://trends.google.com/trends/explore?q=microservices+architecture&date=today+12-m"
        },
        {
          "query": "wikipedia",
          "topic": null,
          "value": 700,
          "formatted_value": "+700%",
          "link": "https://trends.google.com/trends/explore?q=wikipedia&date=today+12-m"
        },
        {
          "query": "monkey",
          "topic": null,
          "value": 650,
          "formatted_value": "+650%",
          "link": "https://trends.google.com/trends/explore?q=monkey&date=today+12-m"
        },
        {
          "query": "blockchain technology",
          "topic": null,
          "value": 500,
          "formatted_value": "+500%",
          "link": "https://trends.google.com/trends/explore?q=blockchain+technology&date=today+12-m"
        },
        {
          "query": "python data analysis",
          "topic": null,
          "value": 500,
          "formatted_value": "+500%",
          "link": "https://trends.google.com/trends/explore?q=python+data+analysis&date=today+12-m"
        },
        {
          "query": "python news",
          "topic": null,
          "value": 250,
          "formatted_value": "+250%",
          "link": "https://trends.google.com/trends/explore?q=python+news&date=today+12-m"
        },
        {
          "query": "python tutorial",
          "topic": null,
          "value": 250,
          "formatted_value": "+250%",
          "link": "https://trends.google.com/trends/explore?q=python+tutorial&date=today+12-m"
        }
      ]
    }
  ]
}