Google Trends Trending Now API Documentation

The Google Trends Trending Now API provides trending queries and search keywords in real-time, using the /api/v1/search?engine=google_trends_trending_now endpoint.

API Parameters

Localization

Filters

  • Name
    time
    Required
    Optional
    Description

    Filters trending queries based on the specified time duration. Available options:

    • past_4_hours
    • past_24_hours Default
    • past_48_hours
    • past_7_days

Engine

  • Name
    engine
    Required
    Required
    Description

    Parameter defines an engine that will be used to retrieve real-time data. It must be set to google_trends_trending_now.

API key

  • Name
    api_key
    Required
    Required
    Description

    The api_key authenticates your requests. Use it as a query parameter (https://www.searchapi.io/api/v1/search?api_key=YOUR_API_KEY) or in the Authorization header (Bearer YOUR_API_KEY).

API Examples

Trending Now

All possible categories:

  • all
  • autos_and_vehicles
  • beauty_and_fashion
  • business_and_finance
  • entertainment
  • food_and_drink
  • games
  • health
  • hobbies_and_leisure
  • jobs_and_education
  • law_and_government
  • other
  • pets_and_animals
  • politics
  • science
  • shopping
  • sports
  • technology
  • travel_and_transportation
  • climate
GET
https://www.searchapi.io/api/v1/search?engine=google_trends_trending_now&geo=US
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_trends_trending_now",
  "geo": "US"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_0E6M9wDPgb74HKyDoRnqybBA",
    "status": "Success",
    "created_at": "2025-01-08T23:38:48Z",
    "request_time_taken": 1.28,
    "parsing_time_taken": 0.05,
    "total_time_taken": 1.33,
    "request_url": "https://trends.google.com/trending?geo=US&hl=en&hours=24",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_0E6M9wDPgb74HKyDoRnqybBA.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_0E6M9wDPgb74HKyDoRnqybBA"
  },
  "search_parameters": {
    "engine": "google_trends_trending_now",
    "geo": "US",
    "time": "past_24_hours",
    "hl": "en"
  },
  "trends": [
    {
      "position": 1,
      "query": "hollywood hills fire",
      "search_volume": 1000000,
      "percentage_increase": 1000,
      "location": "US",
      "categories": ["other"],
      "start_date": "2025-01-09T01:30:00Z",
      "is_active": true,
      "keywords": [
        "hollywood hills fire",
        "sunset fire",
        ...
      ]
    },
    ...
  ]
}
Trending Now Past 7 Days
GET
https://www.searchapi.io/api/v1/search?engine=google_trends_trending_now&geo=US&time=past_7_days
Request
import requests

url = "https://www.searchapi.io/api/v1/search"
params = {
  "engine": "google_trends_trending_now",
  "geo": "US",
  "time": "past_7_days"
}

response = requests.get(url, params=params)
print(response.text)
Response
{
  "search_metadata": {
    "id": "search_mQdZY24X3k8Nt2PVpyxG15W7",
    "status": "Success",
    "created_at": "2025-01-09T15:58:03Z",
    "request_time_taken": 1.4,
    "parsing_time_taken": 0.05,
    "total_time_taken": 1.45,
    "request_url": "https://trends.google.com/trending?geo=US&hl=en&hours=168",
    "html_url": "https://www.searchapi.io/api/v1/searches/search_mQdZY24X3k8Nt2PVpyxG15W7.html",
    "json_url": "https://www.searchapi.io/api/v1/searches/search_mQdZY24X3k8Nt2PVpyxG15W7"
  },
  "search_parameters": {
    "engine": "google_trends_trending_now",
    "geo": "US",
    "time": "past_7_days",
    "hl": "en"
  },
  "trends": [
    {
      "position": 1,
      "query": "la fires",
      "search_volume": 10000000,
      "percentage_increase": 1000,
      "location": "US",
      "categories": ["other"],
      "start_date": "2025-01-07T19:30:00Z",
      "is_active": true,
      "keywords": [
        "la fires",
        ...
      ]
    },
    ...
    {
      "position": 3006,
      "query": "argentina",
      "search_volume": 100,
      "percentage_increase": 50,
      "location": "US",
      "categories": ["law_and_government", "politics"],
      "start_date": "2025-01-03T10:50:00Z",
      "end_date": "2025-01-03T11:10:00Z",
      "time_active_minutes": 20,
      "keywords": ["argentina"]
    }
  ]
}