API Hop

Documentation

API Hop Docs

Google Trends API

Explore Google Trends interest, suggestions, trending searches and related news.

Concurrency limit

AI and Data each share an account-wide pool of concurrent slots: 5 AI / 2 Data by default, adjusted by your subscription. Endpoint overrides still cannot exceed the category pool. Reaching either limit returns HTTP 429. Asynchronous tasks occupy a slot until execution ends.

GET /v1/google-trends/search
Default limit: 2
GET /v1/google-trends/autocomplete
Default limit: 2
GET /v1/google-trends/news
Default limit: 2
GET /v1/google-trends/trending-now
Default limit: 2

Explore Google Trends interest, suggestions, trending searches and related news.

Authentication and billing

The default price is $0.0003 (300 credits) per successful request. Use your API Hop API key. Availability depends on active gateways and key permissions. Check the current catalog and your account for the price per successful request; account-specific pricing takes precedence. Successful empty results are billable. Failed requests release the credit reservation. Requests time out after 60 seconds, with no automatic retry or pagination. Settlement failures never repeat the upstream request.

http
Authorization: Bearer YOUR_API_KEY

Request parameters

Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected, except the documented empty geo and gprop values. JSON only; no automatic pagination or retry. AND = both, OR = either, XOR = exactly one, NOT = excluded, => = requires. Copy identifiers and news tokens from fresh responses; illustrative examples are not live acceptance results. Each successful lookup is billed separately.

GET https://api.apihop.ai/v1/google-trends/search

Examples

bash
curl --get "https://api.apihop.ai/v1/google-trends/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=tesla"

GET https://api.apihop.ai/v1/google-trends/autocomplete

Examples

bash
curl --get "https://api.apihop.ai/v1/google-trends/autocomplete" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "query=tesla"

GET https://api.apihop.ai/v1/google-trends/news

Examples

bash
curl --get "https://api.apihop.ai/v1/google-trends/news" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "page_token=${NEWS_PAGE_TOKEN}"

GET https://api.apihop.ai/v1/google-trends/trending-now

Examples

bash
curl --get "https://api.apihop.ai/v1/google-trends/trending-now" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "country=us"

Responses and errors

The native JSON response and numeric precision are preserved. The example below illustrates an empty successful result, not a live call. HTTP 400 means invalid input; 401 authentication required; 402 insufficient credit; 403 unavailable or unauthorized; 405 unsupported method; 429 rate limit; 5xx service or upstream failure. Keep X-Request-Id for diagnosis.

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}