Google Trends API

Retrieve search-interest data as a time series or geographic view. Compare terms and refine the request by geography, date, category, property, language and time zone.

/trends5 credits / requestSearch

Request

curl "https://api.fastaf.co/v1/trends?query=..." \
  -H "Authorization: Bearer YOUR_KEY"

Parameters

NameDescription
queryOptional. Search term or comma-separated terms
data_typeOptional. TIMESERIES | GEO_MAP | GEO_MAP_0
geoOptional. Geographic code
regionOptional. COUNTRY | REGION | DMA | CITY
languageOptional. Result language
dateOptional. Trend date range
catOptional. Category identifier
gpropOptional. images | news | froogle | youtube
tzOptional. Time-zone offset from -1439 to 1439

Response fields

  • interest_over_time
  • timeline_data
  • interest_by_region
  • query
  • value

Guides

FAQ

Which trend views are supported?

Use TIMESERIES, GEO_MAP or GEO_MAP_0 in data_type. TIMESERIES is the documented default.

What does a trends request cost?

Each request costs 5 credits, or about $1.93 per 1,000 requests on a 75k prepaid pack.