Skip to main content
GET
Reference example

Request contract

  • Method and path: GET /apis/v1/serpapi/google-trends
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/serpapi/google-trends
  • data_type: query; optional
  • date: query; optional
  • engine: query; required
  • geo: query; optional
  • q: query; required
  • Runtime facts: 1d8d2010628130bd331b470b564dd1cd5784989899ccf3e384a8de02a69e0558
Complete OpenAPI definition Effective request and pricing declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based billing; Default request estimate: $0.015 USD (not a fixed price). Declared unit rate: $0.000001 USD per provider_credit. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.
  • Default request reference estimate (USD): 0.015
  • Declared unit rate (USD): 1e-06
  • Billing unit: provider_credit
  • Cost contract: response_units
  • Published reference multiplier: 1.0
  • Settlement evidence source: response_header

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

data_type
string

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"

date
string

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

Example:

"today 12-m"

engine
enum<string>
required
Available options:
google_trends
Minimum string length: 1
geo
string

region code; default Worldwide

Example:

"US"

q
string
required

up to 5 comma-separated terms

Example:

"coffee,milk"

Response

Successful response