Skip to content
G2
4.7/5
Excellent
Trustpilot

Turn Google Trends
into structured data

Access Google Trends data through Scrape.ly and collect search interest, regional demand, related queries, topic trends, and popularity signals without building your own scraper.

01-Integration

Integrate Google Trends API your way

Connect to Scrape.ly using Python, JavaScript, HTTP, cURL, OpenAPI, or MCP and start extracting Google Trends data in minutes.

from scrapely_client import ScrapelyClient
client = ScrapelyClient('YOUR_TOKEN', api_url='https://api.scrape.ly')
run = client.actor('querystone/google-trends-scraper').call(
run_input={
'searchTerms': ['webscraping'],
'maxItems': 10,
}
)
for item in client.dataset(run.default_dataset_id).iterate_items():
print(item)
02-Input & Output

Send search terms, get clean trend data

Pass search terms, Trends URLs, regions, categories, and time ranges into Scrape.ly. Get structured outputs with interest over time, interest by country, region, and city, related topics, and top and rising queries, and more.

Input
1 2 3 4 5 6
{
 "searchTerms": [
  "webscraping"
 ],
 "maxItems": 10
}
Output
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
{
 "searchTerm": "webscraping",
 "geo": "US",
 "timeRange": "today 12-m",
 "interestOverTime_averages": [
  64
 ],
 "interestBy": [
  {
   "geoName": "California",
   "value": [
    100
   ]
  }
 ],
 "relatedQueries_top": [
  {
   "query": "web scraping python",
   "value": 100
  }
 ],
 "relatedQueries_rising": [
  {
   "query": "ai web scraper",
   "value": "Breakout"
  }
 ]
}
03-How it works

Start extracting Google Trends data in four simple steps

Scrape.ly keeps the setup simple so you can move from signup to live Google Trends data without wasting time on scraping infrastructure.

Step 1

Create your Scrape.ly account

Create your account and get access to ready-made APIs, scrapers, and automation tools.

Step 2

Get your Scrape.ly API token

Copy your API token from the Scrape.ly dashboard and use it to authenticate your requests.

Step 3

Connect Google Trends API

Choose Python, JavaScript, HTTP, or MCP and connect Scrape.ly to your app or workflow.

Step 4

Fetch Google Trends data

Send your search terms, Trends URLs, regions, categories, and time ranges, then receive clean structured data ready for analysis.

04-Why Scrape.ly

Everything you need to extract data reliably

Scrape.ly gives you ready-made APIs, proxy support, monitoring, exports, integrations, and scalable infrastructure in one platform.

Never Get Blocked

Use built-in proxy support to reduce blocks, rate limits, and failed requests.

Export Any Format

Get results in JSON, CSV, Excel, XML, HTML table, RSS, or other workflow-friendly formats.

Monitor Every Run

Track scraper status, performance, failures, retries, and outputs from one dashboard.

Built-In Integrations

Connect with webhooks, APIs, automation tools, cloud apps, and internal systems.

Scalable Infrastructure

Run small tests or high-volume extraction jobs without rebuilding your scraping stack.

Developer-Friendly

Use clean APIs, SDKs, docs, examples, and structured outputs built for real workflows.

05-AI-Ready Data

FeedGoogle Trendsdata into your tools instantly

Connect Scrape.ly with your apps, dashboards, sheets, agents, and automation workflows to turn Google Trends data into action.

06-Explore APIs

More Google Trends APIs on Scrape.ly

Browse ready-made Google Trends scrapers and APIs available inside Scrape.ly and choose the one that fits your workflow.

//07-FAQ\\

Common questions about Google Trends API

Quick answers about using Scrape.ly's Google Trends API, available data, setup, and legal usage.

Got more questions?Reach out to us


Official APIs, where they exist, usually need approval, keys, or paid tiers and limit which public data you can pull. Scrape.ly's Google Trends API collects the public data shown on Google Trends and returns it as structured JSON, with no approval process.

G2
4.7/5
Excellent
Trustpilot

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.

No credit card. No setup calls.