SerpApiGoogleSEO/AEO

Google Trends interest over time for search terms

serpapi.x.google-trends

Interest-over-time, regional breakdown, related topics or related queries for up to 5 comma-separated terms

Price
$0.015/successAt provider cost
Success rate
99.9%Last 30 days · 6,939 calls
Latency p50
2.4 sp95 10 s
Last verified
Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/serpapi.x.google-trends?q=coffee&geo=US&engine=google_trends&data_type=TIMESERIESPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

result key depends on data_type: TIMESERIES interest_over_time (single or multiple q); GEO_MAP compared_breakdown_by_region (multiple q only); GEO_MAP_0 interest_by_region (single q); RELATED_TOPICS related_topics (single q); RELATED_QUERIES related_queries (single q).

ParameterTypeRequiredDescriptionExample
Query parameters
qstringRequiredup to 5 comma-separated termscoffee,milk
geostringOptionalregion code; default WorldwideUS
datestringOptionale.g. "today 12-m", "now 7-d"today 12-m
enginestringRequiredgoogle_trends
data_typestringOptionalTIMESERIES (default; single or multiple queries) | GEO_MAP (compared breakdown by region; multiple comma-separated q only) | GEO_MAP_0 (interest by region; single query only) | RELATED_TOPICS (single query only) | RELATED_QUERIES (single query only)TIMESERIES
  • Query parameters
  • qstringRequired

    up to 5 comma-separated terms

    Example: coffee,milk

  • geostringOptional

    region code; default Worldwide

    Example: US

  • datestringOptional

    e.g. "today 12-m", "now 7-d"

    Example: today 12-m

  • enginestringRequired

    Example: google_trends

  • data_typestringOptional

    TIMESERIES (default; single or multiple queries) | GEO_MAP (compared breakdown by region; multiple comma-separated q only) | GEO_MAP_0 (interest by region; single query only) | RELATED_TOPICS (single query only) | RELATED_QUERIES (single query only)

    Example: TIMESERIES

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/serpapi.x.google-trends?q=coffee&geo=US&engine=google_trends&data_type=TIMESERIES' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.015/success, including the service fee.