Apinoa Docs

Trending

Get what is trending on Google in a country right now.

View raw .mdx
GET | POST /v1/google-trends/trending

Send parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.

Request

curl "https://gateway.apinoa.com/v1/google-trends/trending?country=US" \
  -H "x-api-key: $APINOA_API_KEY"

Parameters

ParameterTypeRequiredNotes
countryenumyesThe country, as an ISO 3166 code. AE AL AM AO AR AT AU AZ BA BD BE BF BG BH BJ BO BR BY CA CD CH CI CL CM CO CR CU CY CZ DE DK DO DZ EC EE EG ES ET FI FR GB GE GH GR GT HK HN HR HT HU ID IE IL IN IQ IR IT JM JO JP KE KG KH KR KW KZ LB LK LT LV LY MA MD MK ML MM MX MY MZ NG NI NL NO NP NZ OM PA PE PH PK PL PR PS PT PY QA RO RS RU SA SE SG SI SK SN SV SY TH TM TN TR TT TW TZ UA UG US UY UZ VE VN YE ZA ZM ZW
categoryintegerOnly trends in this category (trending now's own 1-20; 0 = all).
includeenumarticles: every news article Trends holds for each trend, for the first 300 trends (charged as one more unit). articles
langstringInterface language: the language of topic names and labels (en, pt-BR).
subregionstringA state or province inside country (US-CA).
windowenumThe period: past 4 hours, 24 hours (default), 48 hours or 7 days. 4h 24h 48h 7d

The same parameters, and every response type, are in the OpenAPI document.

Response

Returns TrendingPage in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "engine": "google-trends",
    "country": "US",
    "window": "24h",
    "items": [
      {
        "rank": 1,
        "query": "patrick stewart",
        "volume": "2M+",
        "minVolume": 2000000,
        "growth": "+1,000%",
        "startedAt": "2026-10-29T19:30:00Z",
        "active": true,
        "categories": ["Entertainment"],
        "related": ["patrick stewart", "sir patrick stewart"],
        "ext": {"categoryIds": [4], "articleIds": [[4906062271]]}
      },
      {
        "rank": 2,
        "query": "panthers vs packers",
        "volume": "500K+",
        "minVolume": 500000,
        "growth": "+1,000%",
        "startedAt": "2026-10-29T05:30:00Z",
        "active": true,
        "categories": ["Sports"],
        "related": ["panthers vs packers", "packers vs panthers"],
        "ext": {"categoryIds": [17], "articleIds": [[4899588623]]}
      }
    ],
    "fetchedAt": "2026-10-30T01:00:30.090Z",
    "ext": {"listed": 537}
  }
}

Errors

StatusCodeMeaning
400INVALID_PARAMSA parameter is missing, unknown or out of range, or the engine does not take it. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_BALANCEThe balance does not cover this call. Top up in the dashboard.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe engine answered with something unusable. Retry with backoff.
503SERVICE_UNAVAILABLEA temporary failure. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price $0.0012 per call, plus $0.0012 for each extra call it makes — at most 1 more, so $0.0024 in total. List price; the rate steps down above 1,000 calls a day.

Notes

  • include=articles adds every news article Trends holds for each trend, for one more unit.

On this page