Google Tendances API
Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions.
Statut
Chargement du statut...
Recevoir les e-mails de panne de cet endpoint
Voir tous les endpoints sur la page de statutTarifs et fournisseurs
Tarifs de l’API Google Tendances : une API, 2 fournisseurs interchangeables
Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.
Essayer
Obtenez Google Tendances en une requête
{
"data": {
"geo": "example",
"series": [
{
"keyword": "a1b2c3d4",
"points": [
{
"partial": true,
"startUtc": 12.5,
"value": 20
}
]
}
],
"timeframe": "2024-01-15T09:30:00Z"
},
"found": true,
"reason": "not_found"
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-11-26 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- keywordsarray
["coffee","tea"]
Search terms to compare, 1 to 5, each 2 to 100 characters and without commas (e.g. ["coffee", "tea"]). Values are relative across the whole set, so the same term scores differently next to different terms.
- geostring
US
Where the searches came from: an uppercase ISO country code (US, GB, DE) or a country subdivision (US-CA, GB-ENG). Omit it, or send worldwide, for worldwide interest.
- timeframeenum
12m
The window to chart, ending now: 1h, 4h, 1d or 7d (hours and days), 1m or 3m (months), 12m, 5y, or all (back to January 2004). Buckets grow with the window: minutes up to 1d, hours for 7d, days for 1m and 3m, weeks for 12m and 5y, months for all.
Réponse
JSON, une valeur d’exemple par champ.
The interest-over-time record, or null when nothing was found.
- geostring
The place the series cover: the country or subdivision code you sent, or worldwide.
- timeframestring
The window the series cover: the timeframe you sent, or 12m when you sent none.
One series per search term, in the order you sent the terms. All series share one 0-100 scale. Populated whenever the provider has data for the entity.
- keywordstring
The search term this series charts. Populated whenever the provider has data for the entity.
One point per time bucket, oldest first. Populated whenever the provider has data for the entity.
- partialboolean
True when Google is still counting this bucket, normally the newest one, so it reads lower than it will end. Present only when the source reports it.
- startUtcnumber
Start of the time bucket. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
- valueinteger
Search interest in this bucket on Google's 0-100 scale, where 100 is the peak of any term in the response and 0 means there was not enough data. Populated whenever the provider has data for the entity.
- foundboolean
False when Google Trends holds too little search interest for these terms, place and window to chart them.
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
FAQ
À propos de l’API Google Tendances
L’API Google Tendances d’AnyAPI renvoie des données Google en JSON normalisé à partir d’un appel POST à /v1/run/google.trends. Google Trends interest over time for up to 5 search terms compared on one 0-100 scale, where 100 is the peak search interest of any term in the window. Returns one series per term, in the order you sent them, with a value for every time bucket. Choose the country or region with geo (worldwide when omitted) and the window with timeframe (the past 12 months when omitted); both are echoed in the response. Interest over time only, not related queries or regions. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 2 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 88,2% des appels Google Tendances passés par AnyAPI ont réussi, avec un temps de réponse médian de 1,6 secondes, sur 9 855 appels mesurés.