Trends

Search interest in a term over time and by region on Google's 0 to 100 scale, with its top and rising related queries.

Try it in the dashboard 100 free credits when you sign up, no card.

GET/v1/google/trends

Costs 1 credit per request. Only requests that return data are charged.

Parameters

NameTypeDescription
qrequired string One search term, up to 100 characters. Commas are not accepted: a request measures one term, not a comparison.
geooptional string Two-letter country code, such as US. Without it the answer is worldwide.
periodoptional string How far back to look: the past hour (1h), 4 hours (4h), day (1d), 7 days (7d), 30 days (1m), 90 days (3m), 12 months (12m), 5 years (5y), or everything since 2004 (all). One of: 1h, 4h, 1d, 7d, 1m, 3m, 12m, 5y, all. Default: 12m.

Example request

curl "https://pipefetch.com/v1/google/trends?q=pickleball&geo=US&period=12m" \
  -H "x-api-key: YOUR_API_KEY"

Example response

A real answer to the request above. Long texts and lists are shortened here, and the people who wrote comments, reviews or posts are replaced by a stand-in.

200 OK · application/json
{
  "data": {
    "term": "pickleball",
    "geo": "US",
    "geoName": "United States",
    "period": "12m",
    "startDate": "2025-11-19T00:00:00.000Z",
    "endDate": "2026-11-19T00:00:00.000Z",
    "interval": "WEEK",
    "url": "https://trends.google.com/trends/explore?date=today%2012-m&geo=US&q=pickleball&hl=en-US",
    "summary": {
      "averageInterest": 65,
      "latestInterest": 47,
      "latestDate": "2026-11-08T00:00:00.000Z",
      "peakInterest": 100,
      "peakDate": "2026-04-12T00:00:00.000Z",
      "trendChangePercent": -4.1,
      "trendDirection": "stable",
      "topRegion": "Wyoming",
      "topQuery": "pickleball paddle",
      "topRisingQuery": "best pickleball paddles 2026"
    },
    "interestOverTime": [
      {
        "date": "2025-11-16T00:00:00.000Z",
        "interest": 54,
        "isPartial": false,
        "label": "Nov 16 – 22, 2025"
      },
      {
        "date": "2025-11-23T00:00:00.000Z",
        "interest": 59,
        "isPartial": false,
        "label": "Nov 23 – 29, 2025"
      }
    ],
    "regionResolution": "REGION",
    "interestByRegion": [
      {
        "regionCode": "US-WY",
        "regionName": "Wyoming",
        "interest": 100
      },
      {
        "regionCode": "US-UT",
        "regionName": "Utah",
        "interest": 61
      }
    ],
    "relatedQueries": {
      "top": [
        {
          "query": "pickleball paddle",
          "value": 100,
          "url": "https://trends.google.com/trends/explore?q=pickleball+paddle&date=today+12-m&geo=US"
        },
        {
          "query": "pickleball courts",
          "value": 49,
          "url": "https://trends.google.com/trends/explore?q=pickleball+courts&date=today+12-m&geo=US"
        }
      ],
      "rising": [
        {
          "query": "best pickleball paddles 2026",
          "value": 3450,
          "formattedValue": "+3,450%",
          "isBreakout": false,
          "url": "https://trends.google.com/trends/explore?q=best+pickleball+paddles+2026&date=today+12-m&geo=US"
        },
        {
          "query": "pilla pickleball glasses",
          "value": 1750,
          "formattedValue": "+1,750%",
          "isBreakout": false,
          "url": "https://trends.google.com/trends/explore?q=pilla+pickleball+glasses&date=today+12-m&geo=US"
        }
      ]
    }
  },
  "credits": {
    "used": 1,
    "remaining": 99
  }
}

Good to know

  • The values are Google Trends' own, unfiltered: the same numbers and lists its page shows for the search (checked against the page on 2026-11-19). Every interest value is Google's index from 0 to 100, where 100 is the highest point of the period or the region with the most interest. It is not a number of searches.
  • Google Trends' data has oddities, and they are passed on as they are. For some terms the rising list holds queries that have nothing to do with the term, and one small state can stand far ahead of all the others: on 2026-11-19 Wyoming led the United States for coffee, pickleball and electric cars. Treat a surprising first region or rising query with the care you would on the page itself.
  • A point of the timeline covers a week when the period is 12 months, and less for shorter periods; interval names it. Its date is the first day it covers, so the first point can lie before startDate. The last point is usually incomplete and marked isPartial, and the summary leaves it out. summary.trendChangePercent sets the average of the last quarter of the period against the first quarter; trendDirection is rising from +10 %, falling from -10 % and stable in between.
  • Regions are countries when geo is left out, and the regions or states of the country when it is given. Up to 25 top and 25 rising related queries are returned. Not included: related topics, which Google does not give to automated clients although its page shows them, and comparisons of several terms.
  • A term with too little search volume for the place and period answers 404 no_data and costs nothing. Google Trends limits how many searches one address may make: when it turns ours away, the request answers 502 upstream_error, costs nothing and can be sent again.

Errors

Every error has the same shape, and none of them is charged. The full list is in the error reference.

Looking for an overview and use cases? See the Google Trends API page.