As you probably know, the Keywords For Site endpoint in Google Ads API was deprecated due to low request limits. We promised that we would develop a complete substitute for it — and we kept it. Now you can use the Keywords For Site endpoint in DataForSEO Labs API. It works the same way as the previous endpoint, providing keywords relevant to the domain specified in a POST request.
To call the new endpoint, use the following URL:
POST https://api.dataforseo.com/v3/dataforseo_labs/google/keywords_for_site/live
1 Specify the domain you would like to receive relevant keywords for in the target
field. The domain should be specified without https://
or www.
2 Indicate the country from which you want to emulate a search session by adiing location_code
or location_name
to the Task POST body.
3 Specify the language by adding language_code
or language_name
to the Task POST body.
You will receive the full list of supported locations and languages by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages
.
Your POST request should be structured as in the example below.
[
{
"target": "dataforseo.com",
"language_name": "English",
"location_code": 2840
}
]
Example of the API response.
{
"version": "0.1.20220216",
"status_code": 20000,
"status_message": "Ok.",
"time": "6.4899 sec.",
"cost": 0.02,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "03211137-2806-0398-0000-600ccd795322",
"status_code": 20000,
"status_message": "Ok.",
"time": "6.4180 sec.",
"cost": 0.02,
"result_count": 1,
"path": [
"v3",
"dataforseo_labs",
"google",
"keywords_for_site",
"live"
],
"data": {
"api": "dataforseo_labs",
"function": "keywords_for_site",
"se_type": "google",
"target": "dataforseo.com",
"language_name": "English",
"location_code": 2840
},
"result": [
{
"se_type": "google",
"target": "dataforseo.com",
"location_code": 2840,
"language_code": "en",
"total_count": 19862228,
"items_count": 100,
"offset": 0,
"offset_token": "eyJDdXJyZW50T2Zmc2V0IjoxMDAsIlJlcXVlc3REYXRhIjp7InNpdGUiOiJkYXRhZm9yc2VvLmNvbSIsImxvY2F0aW9uIjoyODQwLCJsYW5ndWFnZSI6ImVuIiwiaW5jbHVkZV9zdWJkb21haW5zIjp0cnVlLCJsb2FkX3NlcnBfaW5mbyI6ZmFsc2UsInNlYXJjaF9hZnRlcl90b2tlbiI6bnVsbCwic2VhcmNoX2VuZ2luZSI6Imdvb2dsZSIsIm9yZGVyX2J5Ijp7Im9yZGVyX2ZpZWxkIjoiX3Njb3JlIiwib3JkZXJfdHlwZSI6IkRlc2MiLCJuZXh0IjpudWxsfSwibGltaXQiOjEwMCwib2Zmc2V0IjowLCJUb2tlbiI6eyJJc0NhbmNlbGxhdGlvblJlcXVlc3RlZCI6ZmFsc2UsIkNhbkJlQ2FuY2VsZWQiOnRydWUsIldhaXRIYW5kbGUiOnsiSGFuZGxlIjp7InZhbHVlIjoyMDI4fSwiU2FmZVdhaXRIYW5kbGUiOnsiSXNJbnZhbGlkIjpmYWxzZSwiSXNDbG9zZWQiOmZhbHNlfX19fSwiUmF3UXVlcnkiOm51bGwsIlNlYXJjaEFmdGVyRGF0YSI6WzE0Mi42MjAwNywiNjdjMzQ3N2QtYWRjOS0wMTQ1LWFjM2UtZGE4MzJjMzUxOGJhIl19",
"items": [
{
"se_type": "google",
"keyword": "google adwords display url",
"location_code": 2840,
"language_code": "en",
"keyword_info": {
"se_type": "google",
"last_updated_time": "2022-03-02 14:28:48 +00:00",
"competition": null,
"cpc": null,
"search_volume": 10,
"categories": [
10004,
10007,
10019,
10168,
10276,
10885,
11088,
11497,
12204,
12376,
13152,
13155,
13316,
13418
],
"monthly_searches": [
{
"year": 2022,
"month": 1,
"search_volume": 10
},
{
"year": 2021,
"month": 12,
"search_volume": 10
},
{
"year": 2021,
"month": 11,
"search_volume": 10
},
{
"year": 2021,
"month": 10,
"search_volume": 10
},
{
"year": 2021,
"month": 9,
"search_volume": 10
},
{
"year": 2021,
"month": 8,
"search_volume": 10
},
{
"year": 2021,
"month": 7,
"search_volume": 10
},
{
"year": 2021,
"month": 6,
"search_volume": 10
},
{
"year": 2021,
"month": 5,
"search_volume": 10
},
{
"year": 2021,
"month": 4,
"search_volume": 10
},
{
"year": 2021,
"month": 3,
"search_volume": 10
},
{
"year": 2021,
"month": 2,
"search_volume": 10
}
]
},
"keyword_properties": {
"se_type": "google",
"core_keyword": null,
"keyword_difficulty": null
},
"serp_info": null
},
{
"se_type": "google",
"keyword": "adwords analytics linking",
"location_code": 2840,
"language_code": "en",
"keyword_info": {
"se_type": "google",
"last_updated_time": "2022-03-21 01:32:42 +00:00",
"competition": null,
"cpc": null,
"search_volume": 20,
"categories": [
10004,
10007,
10019,
10168,
10276,
10885,
11088,
11497,
12204,
12376,
13152,
13155,
13316,
13418
],
"monthly_searches": [
{
"year": 2022,
"month": 2,
"search_volume": 10
},
{
"year": 2022,
"month": 1,
"search_volume": 30
},
{
"year": 2021,
"month": 12,
"search_volume": 10
},
{
"year": 2021,
"month": 11,
"search_volume": 20
},
{
"year": 2021,
"month": 10,
"search_volume": 20
},
{
"year": 2021,
"month": 9,
"search_volume": 20
},
{
"year": 2021,
"month": 8,
"search_volume": 30
},
{
"year": 2021,
"month": 7,
"search_volume": 20
},
{
"year": 2021,
"month": 6,
"search_volume": 20
},
{
"year": 2021,
"month": 5,
"search_volume": 30
},
{
"year": 2021,
"month": 4,
"search_volume": 20
},
{
"year": 2021,
"month": 3,
"search_volume": 30
}
]
},
"keyword_properties": {
"se_type": "google",
"core_keyword": null,
"keyword_difficulty": 45
},
"serp_info": null
},
{
"se_type": "google",
"keyword": "seitenaufrufe erhöhen",
"location_code": 2840,
"language_code": "en",
"keyword_info": {
"se_type": "google",
"last_updated_time": "2022-03-10 19:13:57 +00:00",
"competition": null,
"cpc": null,
"search_volume": null,
"categories": [
10004,
10007,
10019,
10168,
10276,
10885,
11088,
11497,
12204,
12376,
13152,
13155,
13316,
13418
],
"monthly_searches": [
{
"year": 2022,
"month": 2,
"search_volume": 0
},
{
"year": 2022,
"month": 1,
"search_volume": 0
},
{
"year": 2021,
"month": 12,
"search_volume": 0
},
{
"year": 2021,
"month": 11,
"search_volume": 0
},
{
"year": 2021,
"month": 10,
"search_volume": 0
},
{
"year": 2021,
"month": 9,
"search_volume": 0
},
{
"year": 2021,
"month": 8,
"search_volume": 0
},
{
"year": 2021,
"month": 7,
"search_volume": 0
},
{
"year": 2021,
"month": 6,
"search_volume": 0
},
{
"year": 2021,
"month": 5,
"search_volume": 0
},
{
"year": 2021,
"month": 4,
"search_volume": 0
},
{
"year": 2021,
"month": 3,
"search_volume": 0
}
]
},
"keyword_properties": {
"se_type": "google",
"core_keyword": null,
"keyword_difficulty": null
},
"serp_info": null
}
]
}
]
}
]
}