DataForSEO Google Top Searches
https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/top_searches/liveBrowse popular Google keywords for a location and language with search volume, CPC and competition, filtered and sorted as needed.
- Prix
- À partir de $0.0132USD / appel
- Méthode
- POST
- Réponse
- JSON
- Paramètres
- 0 obligatoires · 3 facultatifs
Bac à sable
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
README de l'API
Google Top Searches API
Returns a list of popular Google keywords for a location and language. Each keyword comes with search volume, CPC, competition, keyword difficulty and average backlink data. You send location_code and language_code, and you can set limit to control how many rows come back.
Use cases
- Pull the highest-volume Google keywords in the US to see what people search for most.
- Build a keyword list with CPC and competition values to estimate paid search costs for a market.
- Check the monthly search history of a top keyword to see how its volume changed over recent months.
- Compare
keyword_difficultyand backlink averages across top keywords to judge how hard they are to rank for.
Request
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/top_searches/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"location_code": 2840, "language_code": "en", "limit": 10}'
The result is returned in outputs[0].
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
language_code | string | No | |
limit | integer | No | |
location_code | integer | No |
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"data": {
"api": "dataforseo_labs",
"function": "top_searches",
"language_code": "en",
"limit": 10,
"location_code": 2840,
"se_type": "google"
},
"id": "11030829-1614-0404-0000-dc861d282e14",
"path": [
"v3"
],
"result": [
{
"items": [
{
"avg_backlinks_info": {
"backlinks": 323337.2,
"dofollow": 183183,
"last_updated_time": "2023-10-12 06:04:23 +00:00",
"main_domain_rank": 846.3,
"rank": 268.1,
"referring_domains": 1969.1,
"referring_main_domains": 3611.4,
"referring_pages": 228521.2
},
"clickstream_keyword_info": null,
"keyword": "yout7be",
"keyword_info": {
"categories": [
10007
],
"competition": 0.01,
"competition_level": "LOW",
"cpc": 0.03,
"high_top_of_page_bid": 0.02,
"last_updated_time": "2026-10-16 04:37:35 +00:00",
"low_top_of_page_bid": 0.01,
"monthly_searches": [
{
"month": 9,
"search_volume": 226000000,
"year": 2026
}
]
},
"keyword_info_normalized_with_bing": null,
"keyword_info_normalized_with_clickstream": null,
"keyword_properties": {
"core_keyword": "youtube",
"detected_language": "fi",
"is_another_language": true,
"keyword_difficulty": 100,
"se_type": "google",
"synonym_clustering_algorithm": "keyword_metrics",
"words_count": 1
},
"language_code": "en"
}
],
"items_count": 10,
"language_code": "en",
"location_code": 2840,
"offset": 0,
"offset_token": "eyJDdXJy…",
"se_type": "google",
"total_count": 1244400009
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "6.4702 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "6.4872 sec.",
"version": "0.1.20261022"
}
Response fields
| Field | Meaning |
|---|---|
tasks[].result[].items[].keyword | The popular search term. |
tasks[].result[].items[].keyword_info.monthly_searches[] | Search volume per month. Each row has year, month and search_volume. |
tasks[].result[].items[].keyword_info.cpc | Cost per click for the keyword, as a number. |
tasks[].result[].items[].keyword_info.competition / tasks[].result[].items[].keyword_info.competition_level | Competition as a number and as a label such as LOW. |
tasks[].result[].items[].keyword_info.low_top_of_page_bid / tasks[].result[].items[].keyword_info.high_top_of_page_bid | Low and high top-of-page bid values for the keyword. |
tasks[].result[].items[].keyword_info.categories[] | Numeric category IDs assigned to the keyword. |
tasks[].result[].items[].keyword_properties.keyword_difficulty | Difficulty score for ranking on this keyword. The sample shows 100 for the top rows. |
tasks[].result[].items[].keyword_properties.detected_language / tasks[].result[].items[].keyword_properties.is_another_language | The language detected in the keyword text, and whether it differs from the requested language. |
tasks[].result[].items[].avg_backlinks_info.backlinks / tasks[].result[].items[].avg_backlinks_info.referring_domains | Average backlink and referring domain counts for pages that rank for the keyword. |
tasks[].result[].total_count | Total number of keywords available for this location and language. |
Notes
- Use
location_code2840andlanguage_codeenfor the example request. The response echoes both values intasks[].result[]. - To get the next page, pass the value of
tasks[].result[].offset_tokenfrom the response. The response also reportsoffsetanditems_count. keyword_info.last_updated_timeandavg_backlinks_info.last_updated_timeuse the formatYYYY-MM-DD HH:MM:SS +00:00.- Some top keywords are misspellings or other-language terms. Check
keyword_properties.is_another_languageto filter them out.
Pricing
Billed at the actual cost of each call, about $0.0132 for the request above. Failed calls are not charged.
Commencer à construire
Envoyez votre première requête
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/top_searches/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 10,
"language_code": "en",
"location_code": 2840
}'2. Authentification
Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
3. Paramètres
language_codestring
limitinteger
4. Réponse
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
APIs associées
| API | Prix | Réponse |
|---|---|---|
DataForSEO Google Top SearchesCette API DataForSEO | À partir de $0.0132 par appel | JSON |
DataForSEO | À partir de $0.0102 par appel | JSON |
DataForSEO | À partir de $0.000724 par appel | JSON |
DataForSEO | $0.004 par appel | JSON |
DataForSEO | À partir de $0.00162 par appel | JSON |
DataForSEO | À partir de $0.001105 par appel | JSON |
Questions
FAQ
Comment utiliser l’API DataForSEO Google Top Searches ?
Envoyez une requête POST à https://api.sandbase.ai/v1/api/dataforseo/v3/dataforseo_labs/google/top_searches/live avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
Combien coûte l’API DataForSEO Google Top Searches ?
À partir de $0.0132 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Quels paramètres l’API DataForSEO Google Top Searches accepte-t-elle ?
Aucun paramètre n’est requis. Facultatif : location_code (integer), language_code (string) et limit (integer). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Que renvoie l’API DataForSEO Google Top Searches ?
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Ai-je besoin d’un compte développeur ou d’une clé API DataForSEO ?
Non. DataForSEO Google Top Searches fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API DataForSEO séparément.
