Built-in tool

Get Google Trends

Get Google Trends interest over time for up to five search terms. Compare demand and research seasonal peaks for Google Search, YouTube, News, Images or Shopping.

1 creditNo API key needed

Endpoint

Parameters

NameTypeRequiredNote
keywordsstring · requiredstringrequired

One to five search terms, comma-separated (or an array). Each term must be 2–100 characters. These are search terms, not website-traffic lookups.

time_rangestring · optionalstringoptional

History window. Use past_5_years when investigating annual seasonality.

One of: past_7_days, past_30_days, past_90_days, past_12_months, past_5_years

Default: past_12_months

search_typestring · optionalstringoptional

Search channel: web = Google Search, froogle = Google Shopping.

One of: web, youtube, news, images, froogle

Default: web

language_namestring · optionalstringoptional

Google Trends interface language; not a search-language filter. Defaults to English.

Default: English

Example: English

location_namestring · optionalstringoptional

Google Trends location name, e.g. United States or United Kingdom. Omit or leave blank for Worldwide. Use the business’s target market when known.

Example: United States or United Kingdom

Response schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "elements",
    "location_used",
    "search_type",
    "time_range",
    "metric"
  ],
  "properties": {
    "metric": {
      "type": "string",
      "const": "relative_interest_0_100"
    },
    "elements": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "keyword",
          "average_interest",
          "check_url",
          "collected_at",
          "timeline"
        ],
        "properties": {
          "keyword": {
            "type": "string"
          },
          "timeline": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "date_from",
                "date_to",
                "timestamp",
                "interest",
                "missing_data"
              ],
              "properties": {
                "date_to": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "interest": {
                  "anyOf": [
                    {
                      "type": "number",
                      "maximum": 100,
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Relative interest, not search volume. Zero means insufficient data; null means no value was returned."
                },
                "date_from": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "timestamp": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "missing_data": {
                  "type": [
                    "boolean",
                    "null"
                  ],
                  "description": "True marks an incomplete or unavailable interval. Exclude it from growth and seasonality comparisons."
                }
              },
              "additionalProperties": false
            },
            "description": "The complete dated series returned by Google Trends, including missing intervals."
          },
          "check_url": {
            "type": [
              "string",
              "null"
            ]
          },
          "collected_at": {
            "type": [
              "string",
              "null"
            ]
          },
          "average_interest": {
            "type": [
              "number",
              "null"
            ]
          }
        },
        "additionalProperties": false
      }
    },
    "returned": {
      "type": "number",
      "description": "How many rows this run returned, after any Limit was applied."
    },
    "truncated": {
      "type": "boolean"
    },
    "suggestion": {
      "type": "string"
    },
    "time_range": {
      "type": "string"
    },
    "totalCount": {
      "type": "number",
      "description": "How many records the provider says MATCH in total, independent of Limit — routinely in the millions (spotify.com has 2,583,327 ranking pages). It is a match count, NOT how many this endpoint will serve: Limit caps what one call returns, so do not compare it against the row count to judge completeness and do not paginate towards it. Absent when the provider sent no count."
    },
    "search_type": {
      "type": "string"
    },
    "location_used": {
      "type": "string"
    },
    "totalElements": {
      "type": "number",
      "description": "DEPRECATED — despite the name this is the count RETURNED by this run, not a grand total, so it equals your Limit on a limited run. Kept at that value deliberately: ENG-17058 asked for depth 5 to report 5, and it is a live number in existing flows. Use `returned` for this number or `totalCount` for how many records match."
    }
  },
  "additionalProperties": true
}

Get started

How to use this tool

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, and this tool comes with it. There’s no API key or account to set up.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this tool when the job calls for it, along with any others it needs.

  3. Make it a workflow

    Add it as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether it runs on its own or asks first. When it asks, you see an Allow or Deny card before any credits are spent.