Price alert Hurry up! Google SERP API from $0.03/1K calls — prices likely to rise 10× from December 2026.Hurry up! Google SERP from $0.03/1K — likely 10× from Dec 2026Google SERP $0.03/1K · likely 10× from Dec$0.03/1K · likely 10× in Dec Deposit Now

Google Trends Data for SEO Content Planning

By Anurag Pathak · · 15 min read

Use Google Trends data to answer three planning questions: when demand for a topic starts rising, which of several topics is bigger, and where it peaks. Fetch five years of weekly interest for one term to find the seasonal wake-up week, compare up to five topics in a single call, and repeat the call per region.

Short answer: For seasonal topics, pull five years of weekly data, average each week of the year, and start publishing a few weeks before interest passes a quarter of its peak. To choose between topics, put up to five in one request so they share a scale, and chain batches with a common anchor term. For regions, compare when each peaks rather than how big it is. Each call costs from $0.022 per 1,000 requests — pay as you go, no subscription. Trends values are relative, so pair them with real search volume before you commit budget.

Most content calendars are built on guesses about timing. You know a topic is seasonal, but not whether interest begins to climb in August or in September, and an article published in the peak week arrives after the people who got there first. Trends data answers the timing question directly, and it is cheap enough to run for a whole backlog.

This guide builds the planning workflow in Python. Every snippet's printed output below comes from real answers of the Serpent Google Trends endpoint, captured on 21 and 22 November 2026 and fed to the post's own code. Some of what they show is not flattering to the example topics, and the post says so where it happens. Swap in your own key and your own topics to get answers for your market.

What can Trends data tell a content planner, and what can't it?

It tells you the shape of interest over time and the relative size of topics inside one chart. It does not tell you how many searches a topic gets. Google's help page explains that each data point is divided by the total searches of its region and time range, and that the result is scaled to a 0 to 100 index. The same page warns that low-volume terms can show as zero and that sampling noise is most visible on low-interest queries (Google Trends help: how Trends data is adjusted).

So treat Trends as a timing and ranking tool. It answers “when” and “which first” well, and “how many visits” badly. For volume, pair it with a keyword-volume source, and see the guide to estimating keyword search volume without Google Ads for ways to do that.

Google also says Trends should be “one data point among others” before you draw conclusions. That is good advice for a calendar too: use it to order and time work, then confirm with your own search data.

How do you find the week demand starts rising?

Fetch five years of weekly interest for one term, group the points by ISO week of the year, and average each group. The week with the highest average is the seasonal peak, and the first week that reaches a set share of the peak is when demand wakes up. Publish a few weeks before that.

Google's own SEO guide says that “some changes might take effect in a few hours, others could take several months” (SEO starter guide), so a lead time of weeks is a sensible starting assumption for a new page, not a rule. The two numbers in the code, a 25 percent rise threshold and an 8-week lead, are knobs for you to tune against your own pages.

import datetime as dt
from collections import defaultdict

import requests

API_KEY = "sk_live_your_api_key"
URL = "https://apiserpent.com/api/trends/interest"


def get_trends(q, geo="", time="today 12-m", prop="web"):
    params = {"q": q, "time": time, "property": prop}
    if geo:
        params["geo"] = geo
    r = requests.get(URL, params=params, headers={"X-API-Key": API_KEY}, timeout=60)
    r.raise_for_status()
    return r.json()


def week_profile(term, geo="US"):
    """Average interest per ISO week of the year, over the five-year range."""
    data = get_trends(term, geo=geo, time="today 5-y")
    by_week = defaultdict(list)
    for row in data["timeline"]:
        value = row["values"][0]
        if value is None or row["is_partial"]:
            continue  # skip weeks with no data and the week still in progress
        # Weeks run Sunday to Saturday and the timestamp is the Sunday, which ISO counts in the
        # previous week: date each row by its Wednesday so it lands where most of its days are.
        mid = dt.datetime.fromtimestamp(row["timestamp"], dt.timezone.utc) + dt.timedelta(days=3)
        week = mid.isocalendar().week
        by_week[week].append(value)
    return {w: sum(v) / len(v) for w, v in sorted(by_week.items())}


def plan(term, year, geo="US", lead_weeks=8, rise_share=0.25):
    profile = week_profile(term, geo)
    peak = max(profile, key=profile.get)
    # First week of the year where interest reaches a quarter of the peak: the demand is waking up.
    rise = next(w for w in profile if profile[w] >= rise_share * profile[peak])
    monday = lambda week: dt.date.fromisocalendar(year, week, 1)
    return {
        "term": term,
        "peak_week": peak,
        "peak_monday": monday(peak),
        "rise_week": rise,
        "publish_by": monday(max(rise - lead_weeks, 1)),
    }


if __name__ == "__main__":
    for term in ["halloween costumes", "black friday"]:
        p = plan(term, year=2027)
        print(f'{p["term"]}: peak week {p["peak_week"]} (Monday {p["peak_monday"]}), '
              f'demand wakes up in week {p["rise_week"]}, publish by {p["publish_by"]}')

Run on 21 November 2026 against real United States answers (261 weekly points each, late November 2021 to the current week), it prints:

halloween costumes: peak week 43 (Monday 2027-10-25), demand wakes up in week 36, publish by 2027-07-12
black friday: peak week 47 (Monday 2027-11-22), demand wakes up in week 46, publish by 2027-09-20

Read the first line like this: the average peak falls in ISO week 43, the week before Halloween; demand passes a quarter of that peak in week 36, early September; and with an 8-week lead the page should be live by the Monday of week 28, 12 July 2027. Black Friday behaves differently: interest stays low until the week before and then jumps to its peak, so the lead time does all the work. The code skips weeks with no data and the week still in progress (is_partial), because a half-finished week drags an average down.

Two cautions. Holidays that move, such as Easter, land on a different week from year to year, so one ISO-week average blurs them; if the topic follows a moving date, look at each year's own peak instead. And five years of weekly data is only about 262 rows, which is thin for a niche term: confirm any date you act on against a second term for the same season.

How do you decide which topic to write first?

Put up to five topics in one request. They share one 0 to 100 scale, so the averages are directly comparable and the highest value in a row is the topic in the lead. The Google News Initiative lesson describes the scale this way: “each point on the graph is divided by the highest point” (understanding the data). Divided by the highest point of that chart, not of every chart you ever draw.

That is why three separate requests cannot be compared: every one of them will show its own peak as 100. This snippet puts five topics in one call and prints each one's average and how the first and second halves of the 12 months compare, so you can see which are rising or fading:

import requests

API_KEY = "sk_live_your_api_key"
URL = "https://apiserpent.com/api/trends/interest"

topics = ["keto diet", "sunscreen", "black friday", "halloween costumes", "garden tools"]
r = requests.get(
    URL,
    params={"q": ",".join(topics), "geo": "US", "time": "today 12-m"},
    headers={"X-API-Key": API_KEY},
    timeout=60,
)
r.raise_for_status()
data = r.json()

rows = data["timeline"]
half = len(rows) // 2
print(f'{len(rows)} points, one shared 0-100 scale, geo {data["geo"]}')
print(f'{"topic":<20}{"average":>8}{"first half":>12}{"second half":>13}')
for i, t in sorted(enumerate(data["terms"]), key=lambda x: -x[1]["average"]):
    first = [r["values"][i] for r in rows[:half] if r["values"][i] is not None]
    second = [r["values"][i] for r in rows[half:] if r["values"][i] is not None]
    print(f'{t["term"]:<20}{t["average"]:>8}{sum(first) / len(first):>12.1f}{sum(second) / len(second):>13.1f}')

Run on 22 November 2026 against a real United States answer (54 weekly points, 16 November 2025 to the current week; the first half is the 27 weeks up to 23 May 2026), it prints:

54 points, one shared 0-100 scale, geo US
topic                average  first half  second half
black friday               5         6.1          4.5
sunscreen                  3         2.8          2.7
halloween costumes         1         0.0          1.4
keto diet                  0         0.0          0.0
garden tools               0         0.0          0.0

This output is a warning more than a ranking. “Black friday” had one enormous week (23 to 29 November 2025 is 100 on the scale), so everything else is squeezed into the bottom of the same 0 to 100 range: sunscreen peaks at 7, halloween costumes at 8, and keto diet and garden tools round to 0. The averages are whole numbers, so a 0 means “under half a point on this scale”, not “nobody searches”; Google's help page says low-volume terms can show as zero. If you want to rank steady topics against each other, keep a spiking topic out of the call, or compare terms of a similar size.

The halves need care too. Black friday's “first half” holds last year's spike, so it reads as falling (6.1 to 4.5) while this year's rise is still arriving in the last weeks. Sunscreen's summer peak straddles the split, so it reads flat (2.8 and 2.7). Only halloween costumes shows a clean rise, from 0.0 to 1.4, because its run-up to Halloween falls entirely in the second half. A half-year split on a seasonal term mostly tells you where the 12-month window happens to start, so for timing use the week-of-year profile above instead.

What if you have twenty topics? Each call holds five, so chain the batches with an anchor: one steady term that goes into every call. Within a call, a topic's average divided by the anchor's average does not depend on the scale, so the ratios from different calls line up. The averages are whole numbers, so choose an anchor with a healthy average and treat small ratio gaps as noise. The run below shows why that advice matters.

import requests

API_KEY = "sk_live_your_api_key"
URL = "https://apiserpent.com/api/trends/interest"

ANCHOR = "garden tools"  # swap in a term whose average stays well above 0 in every call
topics = ["keto diet", "sunscreen", "black friday", "halloween costumes",
          "yoga mats", "air fryer", "standing desk", "rain jacket"]

ratios = {}
for i in range(0, len(topics), 4):          # four topics plus the anchor = five terms per call
    group = topics[i:i + 4]
    r = requests.get(
        URL,
        params={"q": ",".join([ANCHOR] + group), "geo": "US", "time": "today 12-m"},
        headers={"X-API-Key": API_KEY},
        timeout=60,
    )
    r.raise_for_status()
    avg = {t["term"]: t["average"] for t in r.json()["terms"]}
    if not avg.get(ANCHOR):
        print("anchor had no data in this call, skipping", group)
        continue
    for term in group:
        if avg.get(term) is not None:
            ratios[term] = avg[term] / avg[ANCHOR]  # scale-free: both numbers came from one call

for term, x in sorted(ratios.items(), key=lambda kv: -kv[1]):
    print(f"{term:<20}{x:5.2f} x the anchor")

Run on 22 November 2026 against two real United States answers, it prints:

anchor had no data in this call, skipping ['keto diet', 'sunscreen', 'black friday', 'halloween costumes']
air fryer           67.00 x the anchor
standing desk        6.00 x the anchor
rain jacket          5.00 x the anchor
yoga mats            1.00 x the anchor

Two calls were meant to cover eight topics, and only one produced ratios, for four of them. In the first call “garden tools” averaged 0 on the shared scale, so the guard in the code refused to divide by it and skipped that batch (keto diet, sunscreen, black friday and halloween costumes got no ratio). In the second call the anchor averaged 1, so the ratios came out, but they are coarse: an average of 1 stands for anything from 0.5 up to 1.5, so each ratio could be anywhere from about two thirds to double the printed figure. The honest reading is that “garden tools” was a poor anchor for this list, not that the method failed. Air fryer averaged 67 in the second call and might serve as an anchor, but a large anchor squeezes small topics down to 0, as in the comparison above, so pick one in the same size range as the topics you want to rank. I have not tested air fryer or any other replacement as an anchor.

The practical rule: run each call, read the anchor's average first, and only trust a batch where it is well above zero. Because only one call here had a usable anchor, this run does not show ratios from two calls lining up; that is the claim of the method, and it is still untested on my data. For a long list, an anchor is the cheap way to rank everything on a single ruler once it is chosen well, and the same pattern feeds a dashboard such as the one in building an SEO dashboard from SERP data.

How do you plan around regions?

Repeat the call with a different geo and compare when each region peaks. A country code such as US or GB works, and so does a region such as US-TX. Because every call is scaled to its own peak, this tells you timing and shape, not which region is bigger.

import datetime as dt
import requests

API_KEY = "sk_live_your_api_key"
URL = "https://apiserpent.com/api/trends/interest"

for geo in ["US", "GB", "AU", "BR"]:
    r = requests.get(
        URL,
        params={"q": "sunscreen", "geo": geo, "time": "today 12-m"},
        headers={"X-API-Key": API_KEY},
        timeout=60,
    )
    r.raise_for_status()
    rows = [x for x in r.json()["timeline"] if x["values"][0] is not None]
    top = max(rows, key=lambda x: x["values"][0])
    day = dt.datetime.fromtimestamp(top["timestamp"], dt.timezone.utc).date()
    # Each call is scaled to its own peak, so compare WHEN a region peaks, not how big it is.
    print(f"{geo}: peak week starts {day} ({day.strftime('%B')})")

Run on 22 November 2026 against four real answers (the English term “sunscreen”, 12 months, 54 weekly points each), it prints:

US: peak week starts 2026-06-07 (June)
GB: peak week starts 2026-05-24 (May)
AU: peak week starts 2026-01-04 (January)
BR: peak week starts 2026-06-21 (June)

Three of the four behave as the seasons suggest. The US peaks in the week of 7 to 13 June, the UK in the week of 24 to 30 May, and Australia flips to the southern summer, peaking in the week of 4 to 10 January 2026, roughly half a year away from the US peak. Australia's curve is also a long plateau rather than a point: every week from 16 November 2025 to 31 January 2026 scores 75 or more, and the current, still-open week is already 84. The US shows the same flat top, with 99, 97 and 100 in the weeks of 12 April, 17 May and 7 June, so a single “peak week” is only the tallest point of a broad season; plan the publish date from when the curve starts to rise, as in the seasonality section.

Brazil does not flip. Its peak, the week of 21 to 27 June 2026, falls in the southern winter, in step with the US pattern rather than with Australia. The data does not say why. One plausible reason, which I did not test, is that people in Brazil search in Portuguese, so the English word “sunscreen” reflects a different, smaller audience than the local term. If you plan for a market with its own language, run the check with the local-language term (for Brazil, “protetor solar”) before you trust a date. The lesson for the calendar is the same either way: a peak you read for an English keyword in one country is not automatically the peak for that market.

This check matters most for products with weather or school-calendar demand, where one global publishing date would be wrong for half the audience. If you want to know which region is bigger, put a steady anchor term in each call and compare the anchor-scaled ratios, or use a volume source. For a local business, geo=US-TX style codes narrow it to a state, and the local rank tracking tutorial shows how to follow the results on the search page itself.

Which search type should you measure?

The property parameter picks the Google search that is measured: web (the default), images, news, youtube or shopping. The same term can have a very different shape on each, and the right one depends on where your content will appear.

The five search types, and what each is good for in a content plan.
propertyBest forWhat to compare it with
webArticles and landing pages; the defaultThe other four, for the same term
youtubeTopics you will also cover on videoThe web curve, whose peak may fall in a different week
shoppingProduct-led pages and buying guidesThe web curve, for the same term
newsEvents and anything that spikes and fades, with a short range such as now 7-d, which returned 169 hourly points in the 61-query checkA longer range, to tell a spike from a season
imagesVisual topics such as recipes, crafts and fashionThe web curve

Run the same term through two or three of them and compare the peak weeks. If the shopping peak comes a month before the web peak, publish the buying guide first. The Shopping API, News API and YouTube API give you the search results themselves.

How often should you refresh, and what does it cost?

Seasonal profiles barely move, so run the five-year call once per topic per quarter. Rising-topic comparisons age faster, so run those monthly. A calendar of 200 topics with three calls each (a seasonal profile, a comparison batch and a region check) is 600 calls, which is 60 percent of one 1,000-call block at whichever rate you are on.

Serpent's Google Trends API is from $0.022 per 1,000 requests — pay as you go, no subscription, and one request is one charge however many terms (up to five) it carries. The pricing page shows how deposit size sets the rate, and the price comparison sets it beside the other providers. A call took about 5.4 seconds at the median on a fixed set of 61 queries, so run batches in a small thread pool rather than one at a time.

Write the numbers to a table you own, so your planning does not depend on today's call. The guide to automating SEO reports and programmatic SEO with a SERP API cover the surrounding workflow.

Which workflow should you pick?

If you only need a quick look at one topic, the playground returns the same JSON without code, and the Google Trends API page lists every parameter. For the plain request in Python and Node, see how to get Google Trends data with Python and Node.

How we checked this

Code. Every printed output above comes from real answers of the Serpent Google Trends endpoint, saved in our records, and none of it is made up. The seasonal-calendar snippet (halloween costumes, black friday) was run on 21 November 2026 on two answers (United States, five years, 261 weekly points each). The five-topic comparison, the anchor batches and the hemisphere check were run on 22 November 2026 on seven answers of 54 weekly points each: one with five topics, two anchor batches, and sunscreen for the US, GB, AU and BR. All were run on Python 3.15.2, with each snippet's request line answered from the saved file for the same terms, country and range, and the rest of the code unchanged (one comment in the anchor snippet was reworded afterwards, which does not change what it does). The request URL, the X-API-Key header and the parameters were separately checked on 20 November 2026 against a local stand-in server, which returned made-up numbers and was used for nothing else. No snippet in this post still depends on made-up numbers.

Measured numbers. The 5.4-second median and the 169-point count come from a fixed list of 61 queries, drawn before any call was made. Of those, 59 returned a full timeline, 1 correctly came back with no data and 1 failed and was not charged. On three pages compared side by side with Google's own Trends page in a browser, every date and every value matched. Treat these as a vendor's own result and test your own list.

What I could not verify:

  • The 8-week lead time and the 25 percent threshold are assumptions to tune, not findings. I found no source that gives a universal lead time for new pages.
  • The anchor method relies on whole-number averages, so small gaps between ratios are within rounding. On real data (22 November 2026) one of the two calls had an anchor that averaged 0 and was skipped, and the other had an anchor averaging 1, so its ratios are coarse. I did not verify that ratios from two calls with a healthy anchor line up, and I did not test a replacement anchor.
  • The hemisphere check used one English term, in one 12-month window. Why Brazil does not flip is a guess (searches in Portuguese); I did not run “protetor solar” or any other local-language term.
  • Google's help pages were read on 20 November 2026; the description of sampling and scaling may be updated.
  • I did not compare the interest curves with real search volume.

Re-run the profile each quarter, because a topic's season can drift.

Plan your calendar with real data

Serpent's Google Trends API is from $0.022 per 1,000 requests — pay as you go, no subscription, with 10 free API calls to start. Try a topic in the playground, then run the code above with your own key.

Get Your Free API Key

Explore: Google Trends API · Playground · Docs · Pricing

FAQ

How do I use Google Trends for content planning?

Use it to decide timing and order. Fetch five years of weekly interest for a topic, average each week of the year, and publish a few weeks before interest reaches a quarter of its seasonal peak. Compare up to five topics in one request to choose which to write first. Pair the result with real search volume before you spend budget.

How far ahead should I publish before a seasonal peak?

There is no universal answer. Google's SEO starter guide says changes can take effect in a few hours or take several months, so an 8-week lead is a sensible starting assumption for a new page. Check your own pages: note how long they took to get traffic last season and set the lead from that.

Can I compare more than five topics on Google Trends?

Not in one request, since the website and Serpent's endpoint take up to five terms. To rank a longer list, put one steady anchor term in every call and compare each topic's average divided by the anchor's average. Those ratios do not depend on the scale of a single call, so they line up across calls. Choose an anchor whose average stays well above zero in every call, because the averages are whole numbers.

Are Google Trends numbers search volumes?

No. Google divides each point by the total searches of its region and time range and scales the result from 0 to 100, so a value is relative interest. Low-volume terms can show as zero. Use Trends for timing and ranking, and a keyword-volume source for how many searches a term gets.

Can I compare regions with Google Trends?

You can compare timing, but not size, across separate calls. Each call is scaled to its own peak, so two regions can both show 100. Compare the weeks each region peaks, or add a steady anchor term to each call and compare anchor-scaled ratios. A region code such as US-TX narrows a call to one state.

How much does it cost to plan a year of content with Trends data?

Very little. A calendar of 200 topics with three calls each is 600 calls, which is 60 percent of one block of 1,000 calls at your rate. Serpent's Google Trends API is from $0.022 per 1,000 requests, pay as you go with no subscription, and a new account starts with 10 free API calls.

Related Posts