Google Trends Trending Now API
API health status
Healthy Available Limited Mostly unavailable No data
Loading health status...
Get Google trends Trending Now data, including latest trending topics, region and time-window filters, and volume indicators, for breaking-trend monitoring and editorial planning.
Tags: Google Trends
Parameters
| Name | Required | Type | Default | Description |
|---|---|---|---|---|
geo | Yes | string | The geographic location code to retrieve real-time trends for (e.g., 'US' for United States). Default is 'US'. | |
hours | No | string | Time window for trending topics. Available Values: - PAST_4_HOURS: Past 4 hours. Legacy value 4 is also accepted.- PAST_24_HOURS: Past 24 hours. Legacy value 24 is also accepted.- PAST_48_HOURS: Past 48 hours. Legacy value 48 is also accepted.- PAST_7_DAYS: Past 7 days. Legacy value 168 is also accepted. | |
language | No | string | en | Set the language for the results using its two-letter code (e.g., 'en'). |
Copy Request
bash
curl -X GET "https://api.justserpapi.com/api/v1/google/trends/trending-now?geo=YOUR_VALUE" \
-H "X-API-Key: YOUR_API_KEY"js
const res = await fetch("https://api.justserpapi.com/api/v1/google/trends/trending-now?geo=YOUR_VALUE", {
headers: { "X-API-Key": "YOUR_API_KEY" }
});
const data = await res.json();
console.log(data);python
import requests
url = "https://api.justserpapi.com/api/v1/google/trends/trending-now"
headers = { "X-API-Key": "YOUR_API_KEY" }
params = {
"geo": "YOUR_VALUE"
}
response = requests.get(url, headers=headers, params=params)
print(response.json())php
<?php
$url = "https://api.justserpapi.com/api/v1/google/trends/trending-now?geo=YOUR_VALUE";
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, [
"X-API-Key: YOUR_API_KEY"
]);
$response = curl_exec($ch);
curl_close($ch);
echo $response;go
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
client := &http.Client{}
req, _ := http.NewRequest("GET", "https://api.justserpapi.com/api/v1/google/trends/trending-now?geo=YOUR_VALUE", nil)
req.Header.Set("X-API-Key", "YOUR_API_KEY")
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}Response
Loading the latest response example...
