Discover/Google API
live

Google APItrends.google.com

Retrieve real-time trending searches from Google Trends for any country. Get search volume, growth percentage, related queries, and category filters via one endpoint.

Endpoint health
verified 1d ago
get_trending
1/1 passing latest checkself-healing
Endpoints
1
Updated
22d ago

What is the Google API?

The Google Trends API exposes 1 endpoint — get_trending — that returns up to 500 ranked trending search topics for any supported country, including 7 response fields per trend such as search volume, growth percentage, and related queries. You can filter by ISO country code, time window, content category, and language, making it straightforward to pull region-specific trend data for any supported market.

Try it
ISO 2-letter country code (e.g., US, GB, DE, JP, BR)
Time window in hours to look back for trends (e.g., 4, 24, 48, 168)
Maximum number of trending topics to return (1-500)
Category filter. 0=All, 1=Business, 2=Entertainment, 3=Health, 4=Sci/Tech, 5=Top Stories, 7=Sports, 11=World, 18=Gaming, 20=Weather
Language code for results (e.g., en, es, fr, de, ja)
api.parse.bot/scraper/dd96362a-dd1b-43d9-a5e8-ed8db3cd66ae/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/dd96362a-dd1b-43d9-a5e8-ed8db3cd66ae/get_trending?geo=US&hours=4&limit=50&category=0&language=en' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace trends-google-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.google_trends_trending_searches_api import GoogleTrends, TrendCategory

client = GoogleTrends()

for trend in client.trends.list(geo="US", category=TrendCategory.SPORTS, limit=5):
    print(trend.title, trend.search_volume_formatted, trend.growth_percentage, trend.categories)
All endpoints · 1 totalmissing one? ·

Get currently trending searches from Google Trends for a specific country. Returns ranked trending topics with search volume, growth metrics, related queries, and topic categories. Each trend includes a rank, search volume (raw and formatted), growth percentage, related search queries, and category classifications. The server returns up to 500 trends in a single response; use the limit param to cap client-side.

Input
ParamTypeDescription
geostringISO 2-letter country code (e.g., US, GB, DE, JP, BR)
hoursintegerTime window in hours to look back for trends (e.g., 4, 24, 48, 168)
limitintegerMaximum number of trending topics to return (1-500)
categoryintegerCategory filter. 0=All, 1=Business, 2=Entertainment, 3=Health, 4=Sci/Tech, 5=Top Stories, 7=Sports, 11=World, 18=Gaming, 20=Weather
languagestringLanguage code for results (e.g., en, es, fr, de, ja)
Response
{
  "type": "object",
  "fields": {
    "geo": "string - country code used for the request",
    "hours": "integer - time window in hours",
    "trends": "array of trend objects with title, geo, started_at, search_volume, search_volume_formatted, growth_percentage, related_queries, categories, article_count, and rank",
    "category": "integer - category filter used",
    "language": "string - language code used for the request",
    "returned": "integer - number of trends returned (limited by limit param)",
    "total_available": "integer - total trends available from Google"
  },
  "sample": {
    "data": {
      "geo": "US",
      "hours": 24,
      "trends": [
        {
          "geo": "US",
          "rank": 1,
          "title": "portugal vs nigeria",
          "categories": [
            "Sports"
          ],
          "started_at": 1781103000,
          "article_count": 19,
          "search_volume": 200000,
          "related_queries": [
            "portugal vs nigeria",
            "portugal - nigeria",
            "portugal"
          ],
          "growth_percentage": 1000,
          "search_volume_formatted": "200K+"
        }
      ],
      "category": 0,
      "language": "en",
      "returned": 3,
      "total_available": 346
    },
    "status": "success"
  }
}

About the Google API

What the API Returns

The get_trending endpoint returns an array of trend objects, each containing a title, search_volume, search_volume_formatted, growth_percentage, related_queries, started_at timestamp, and geographic context via geo. The response also surfaces metadata: the total_available count of trends Google holds for the request window versus the returned count actually delivered, letting you paginate or adjust the limit parameter (1–500) accordingly.

Filtering and Scope

The geo parameter accepts any ISO 3166-1 alpha-2 country code (e.g., US, GB, JP, BR). The hours parameter controls the lookback window — pass 4 for near-real-time bursts, 168 for a full week of trend data. The category parameter narrows results to one of eight verticals: All (0), Business (1), Entertainment (2), Health (3), Sci/Tech (4), Top Stories (5), Sports (7), or World (11). The language parameter controls the display language of returned titles and related queries.

Response Shape and Data Points

Each trend object includes related_queries, which is an array of associated search terms that provide context around why a topic is trending. The growth_percentage field indicates relative momentum — useful for distinguishing a high-volume evergreen topic from a fast-accelerating breakout term. The started_at field marks when the trend was first detected within the selected window.

Official API Status

Google does not publish an official public API for Google Trends data. The Parse API fills that gap with a structured, consistently-shaped response you can integrate directly.

Reliability & maintenanceVerified

The Google API is a managed, monitored endpoint for trends.google.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when trends.google.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official trends.google.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
1d ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Monitor hourly breakout searches in a target country using hours=4 to catch viral topics before they peak
  • Filter Sci/Tech trending searches with category=4 to track emerging technology interest signals
  • Compare growth_percentage across trending topics to rank the fastest-accelerating searches in a market
  • Pull related_queries arrays to expand keyword lists for SEO and content planning
  • Use search_volume data to weight trending topics by actual query frequency for media monitoring dashboards
  • Segment trending searches by country and category to inform regional marketing campaign timing
  • Track started_at timestamps to reconstruct trend timelines and identify recurring seasonal spikes
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Google provide an official public API for Google Trends?+
No. Google retired its public Trends API years ago and has not replaced it with a documented developer endpoint. The Parse API provides structured access to Google Trends data without requiring any unofficial workarounds on your end.
What does the `get_trending` endpoint return beyond just trend titles?+
Each trend object includes search_volume, search_volume_formatted, growth_percentage, started_at, related_queries (an array of associated search terms), and the geo the trend belongs to. The response wrapper also tells you total_available versus returned, so you know whether you've hit your limit ceiling.
Does the API support historical trend data or interest-over-time charts?+
Not currently. The API covers real-time and recent trending searches via the hours lookback window (from 4 hours up to 168 hours). Interest-over-time series, regional breakdowns by sub-region, and compare-term data are not exposed. You can fork this API on Parse and revise it to add those missing endpoints.
How fresh is the trending data returned by the API?+
The started_at field on each trend object indicates when Google first detected the trend. Using hours=4 returns topics that emerged within the last four hours, giving you a close approximation of real-time trend state. There is no sub-minute refresh guarantee; freshness depends on how frequently Google updates its trends index for the requested geo.
Can I retrieve trend data for cities or states rather than whole countries?+
Not currently. The geo parameter accepts country-level ISO codes only; metro or sub-region granularity is not supported by this endpoint. You can fork the API on Parse and revise it to add sub-region filtering if your use case requires city-level trend data.
Page content last updated . Spec covers 1 endpoint from trends.google.com.
Related APIs in News MediaSee all →
explodingtopics.com API
Discover rapidly growing trends, emerging startups, and top-performing websites by filtering through trending topics by category and volatility. Programmatically access detailed trend analysis, related topics, blog coverage, and curated highlights to stay ahead of market movements.
stocktwits.com API
Discover which stocks are generating the most buzz on Stocktwits by accessing real-time trending symbols along with company names, trending scores, current price data, and community sentiment summaries. Stay ahead of market conversations by monitoring what the investing community is actively discussing and trading.
top.baidu.com API
Access real-time trending search data from Baidu's Top platform. Retrieve ranked hot search terms, novels, movies, and TV dramas, with support for genre and category filtering across all board tabs.
tomtom.com API
Get TomTom Traffic Index congestion rankings for cities worldwide or within a specific country, and retrieve detailed traffic metrics for a given city (including AM/PM and monthly trends).
insights.trendforce.com API
Access semiconductor and AI industry analysis articles from TrendForce Insights, browsing post listings and retrieving full article content organized into text sections and figures. Perfect for staying updated on tech industry trends and feeding structured article data into language models for analysis.
toolify.ai API
Search and browse premium .ai domain names available on the Toolify marketplace, filtering by keywords, categories, prices, and domain attributes to find the perfect domain for your project. Explore curated domain listings organized by category to discover valuable .ai domains suited to your needs.
steamcharts.com API
Track player counts and trending games on Steam, search for specific titles, and view historical statistics for individual games. Monitor which games are gaining popularity and get detailed player data to stay informed about the gaming landscape.
worlddata.info API
Explore global statistics and compare countries across population, economy, demographics, quality of life, education, and health metrics. Search worldwide data on everything from life expectancy and languages to religions and regional breakdowns to gain comprehensive insights into how nations rank against each other.