Google Trends Scraper

Creating a Google Trends Scraping Task

Submit a Google Trends scraping task to retrieve interest over time, interest by region, related queries, related topics and autocomplete suggestions for a search term.

Requires the google-trends scope on your API key.

Endpoint

POST /api/parsing/v1/google-trends

Request Body

NameTypeRequiredDescription
qstringyesSearch term to explore (e.g. iphone)
typestring[]noWhich datasets to collect: periods, geo, queries, topics, autocomplete. Defaults to ["periods","geo","queries","topics"]
geostringnoCountry or region code (e.g. US, GB, US-CA). Omit for worldwide
datestringnoTime range in Google Trends syntax (e.g. now 1-d, today 1-m, all). Defaults to now 1-d
catnumbernoGoogle Trends category ID. 0 (default) means all categories
gpropstringnoGoogle property to search: web, images, news, froogle (Shopping), youtube. Defaults to web
hlstringnoInterface language code (e.g. en-US, de-DE). Defaults to en-US
tznumbernoTimezone offset in minutes from UTC (e.g. 0, -120). Defaults to 0
resolutionstringnoGranularity for interest by region: COUNTRY, REGION, CITY, DMA. Chosen automatically from geo when omitted
callbackUrlstringnoWebhook URL to POST result when done

type values

ValueReturnsResponse field
periodsInterest over time for the terminterestOverTime
geoInterest broken down by regioninterestByGeo
queriesTop and rising related search queriesrelatedQueries
topicsTop and rising related topicsrelatedTopics
autocompleteMatching Google Trends entities (used to disambiguate a term)autocomplete

date values

Any Google Trends range string is accepted. Common presets:

ValueRange
now 1-dPast day
now 7-dPast 7 days
today 1-mPast 30 days
today 3-mPast 90 days
today 12-mPast 12 months
today 5-yPast 5 years
all2004 – present

resolution values

ValueGranularity
COUNTRYCountry level
REGIONRegion / state level
CITYCity level
DMAUS metro area (Designated Market Area)

Example Request

curl -X POST 'https://app.scrapering.com/api/parsing/v1/google-trends' \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -d '{"q":"iphone","type":["periods","geo","queries","autocomplete"],"geo":"US","date":"today 1-m","gprop":"web","hl":"en-US","callbackUrl":"https://my-server.com/webhook/parsing"}'

Example Response

{
  "id": "ac9c7911-b32c-4890-a850-227003ee2d35",
  "status": "parsing",
  "scope": "google-trends",
  "costCredits": 10,
  "createdAt": "2026-09-28T10:00:00.000Z"
}
FieldTypeDescription
idstringTask ID used to poll for the result
statusstringCurrent task status (parsing, done, error)
scopestringTask type — always google-trends for this endpoint
costCreditsnumberCredits charged for the task
createdAtstringISO 8601 timestamp of when the task was created

A request costs 10 credits regardless of how many type datasets you request.

The task is processed asynchronously. Use the id to poll for the result or set callbackUrl to receive a webhook when parsing completes.

Next steps