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 code",
          "topic": null,
          "value": 98,
          "formatted_value": "98",
          "link": "https://trends.google.com/trends/explore?q=python+code&date=today+12-m"
        },
        {
          "query": "online python",
          "topic": null,
          "value": 88,
          "formatted_value": "88",
          "link": "https://trends.google.com/trends/explore?q=online+python&date=today+12-m"
        },
        {
          "query": "python list",
          "topic": null,
          "value": 82,
          "formatted_value": "82",
          "link": "https://trends.google.com/trends/explore?q=python+list&date=today+12-m"
        },
        {
          "query": "download python",
          "topic": null,
          "value": 60,
          "formatted_value": "60",
          "link": "https://trends.google.com/trends/explore?q=download+python&date=today+12-m"
        },
        {
          "query": "install python",
          "topic": null,
          "value": 48,
          "formatted_value": "48",
          "link": "https://trends.google.com/trends/explore?q=install+python&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": "python programming",
          "topic": null,
          "value": 43,
          "formatted_value": "43",
          "link": "https://trends.google.com/trends/explore?q=python+programming&date=today+12-m"
        },
        {
          "query": "compiler python",
          "topic": null,
          "value": 34,
          "formatted_value": "34",
          "link": "https://trends.google.com/trends/explore?q=compiler+python&date=today+12-m"
        },
        {
          "query": "python data analysis",
          "topic": null,
          "value": 28,
          "formatted_value": "28",
          "link": "https://trends.google.com/trends/explore?q=python+data+analysis&date=today+12-m"
        },
        {
          "query": "python web framework",
          "topic": null,
          "value": 24,
          "formatted_value": "24",
          "link": "https://trends.google.com/trends/explore?q=python+web+framework&date=today+12-m"
        },
        {
          "query": "python online compiler",
          "topic": null,
          "value": 22,
          "formatted_value": "22",
          "link": "https://trends.google.com/trends/explore?q=python+online+compiler&date=today+12-m"
        },
        {
          "query": "python programming tutorial",
          "topic": null,
          "value": 21,
          "formatted_value": "21",
          "link": "https://trends.google.com/trends/explore?q=python+programming+tutorial&date=today+12-m"
        },
        {
          "query": "ball python",
          "topic": null,
          "value": 20,
          "formatted_value": "20",
          "link": "https://trends.google.com/trends/explore?q=ball+python&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": "monty python",
          "topic": null,
          "value": 19,
          "formatted_value": "19",
          "link": "https://trends.google.com/trends/explore?q=monty+python&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": "java",
          "topic": null,
          "value": 18,
          "formatted_value": "18",
          "link": "https://trends.google.com/trends/explore?q=java&date=today+12-m"
        },
        {
          "query": "python map",
          "topic": null,
          "value": 17,
          "formatted_value": "17",
          "link": "https://trends.google.com/trends/explore?q=python+map&date=today+12-m"
        },
        {
          "query": "python dictionary",
          "topic": null,
          "value": 17,
          "formatted_value": "17",
          "link": "https://trends.google.com/trends/explore?q=python+dictionary&date=today+12-m"
        },
        {
          "query": "pandas python",
          "topic": null,
          "value": 16,
          "formatted_value": "16",
          "link": "https://trends.google.com/trends/explore?q=pandas+python&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": "python coding",
          "topic": null,
          "value": 14,
          "formatted_value": "14",
          "link": "https://trends.google.com/trends/explore?q=python+coding&date=today+12-m"
        },
        {
          "query": "wikipedia",
          "topic": null,
          "value": 14,
          "formatted_value": "14",
          "link": "https://trends.google.com/trends/explore?q=wikipedia&date=today+12-m"
        },
        {
          "query": "numpy",
          "topic": null,
          "value": 11,
          "formatted_value": "11",
          "link": "https://trends.google.com/trends/explore?q=numpy&date=today+12-m"
        }
      ],
      "rising": [
        {
          "query": "python programming tutorial",
          "topic": null,
          "value": 5950,
          "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": 3650,
          "formatted_value": "+3,650%",
          "link": "https://trends.google.com/trends/explore?q=python+web+framework&date=today+12-m"
        },
        {
          "query": "wikipedia",
          "topic": null,
          "value": 550,
          "formatted_value": "+550%",
          "link": "https://trends.google.com/trends/explore?q=wikipedia&date=today+12-m"
        },
        {
          "query": "python data analysis",
          "topic": null,
          "value": 550,
          "formatted_value": "+550%",
          "link": "https://trends.google.com/trends/explore?q=python+data+analysis&date=today+12-m"
        },
        {
          "query": "how to make sushi",
          "topic": null,
          "value": 450,
          "formatted_value": "+450%",
          "link": "https://trends.google.com/trends/explore?q=how+to+make+sushi&date=today+12-m"
        },
        {
          "query": "python 3.15",
          "topic": null,
          "value": 450,
          "formatted_value": "+450%",
          "link": "https://trends.google.com/trends/explore?q=python+3.15&date=today+12-m"
        },
        {
          "query": "python 3.14",
          "topic": null,
          "value": 300,
          "formatted_value": "+300%",
          "link": "https://trends.google.com/trends/explore?q=python+3.14&date=today+12-m"
        },
        {
          "query": "best time to visit maldives",
          "topic": null,
          "value": 300,
          "formatted_value": "+300%",
          "link": "https://trends.google.com/trends/explore?q=best+time+to+visit+maldives&date=today+12-m"
        },
        {
          "query": "joy of cooking",
          "topic": null,
          "value": 250,
          "formatted_value": "+250%",
          "link": "https://trends.google.com/trends/explore?q=joy+of+cooking&date=today+12-m"
        },
        {
          "query": "best laptop for work",
          "topic": null,
          "value": 250,
          "formatted_value": "+250%",
          "link": "https://trends.google.com/trends/explore?q=best+laptop+for+work&date=today+12-m"
        },
        {
          "query": "zen of python",
          "topic": null,
          "value": 200,
          "formatted_value": "+200%",
          "link": "https://trends.google.com/trends/explore?q=zen+of+python&date=today+12-m"
        },
        {
          "query": "python tutorial",
          "topic": null,
          "value": 200,
          "formatted_value": "+200%",
          "link": "https://trends.google.com/trends/explore?q=python+tutorial&date=today+12-m"
        },
        {
          "query": "florida burmese python removal strategy",
          "topic": null,
          "value": 200,
          "formatted_value": "+200%",
          "link": "https://trends.google.com/trends/explore?q=florida+burmese+python+removal+strategy&date=today+12-m"
        },
        {
          "query": "meaning of life",
          "topic": null,
          "value": 170,
          "formatted_value": "+170%",
          "link": "https://trends.google.com/trends/explore?q=meaning+of+life&date=today+12-m"
        },
        {
          "query": "cloud",
          "topic": null,
          "value": 150,
          "formatted_value": "+150%",
          "link": "https://trends.google.com/trends/explore?q=cloud&date=today+12-m"
        },
        {
          "query": "python programming",
          "topic": null,
          "value": 120,
          "formatted_value": "+120%",
          "link": "https://trends.google.com/trends/explore?q=python+programming&date=today+12-m"
        },
        {
          "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": "computer",
          "topic": null,
          "value": 90,
          "formatted_value": "+90%",
          "link": "https://trends.google.com/trends/explore?q=computer&date=today+12-m"
        },
        {
          "query": "python map",
          "topic": null,
          "value": 80,
          "formatted_value": "+80%",
          "link": "https://trends.google.com/trends/explore?q=python+map&date=today+12-m"
        },
        {
          "query": "vs code",
          "topic": null,
          "value": 50,
          "formatted_value": "+50%",
          "link": "https://trends.google.com/trends/explore?q=vs+code&date=today+12-m"
        }
      ]
    }
  ]
}