With DataForSEO Labs API, you can calculate potential traffic for any keywords with ease.
1 First off, find out the search volumes of your keywords. You can do it by making a request to the Historical Search Volume endpoint.
https://api.dataforseo.com/v3/dataforseo_labs/google/historical_search_volume/live
2Add the keywords
field to the Task POST body and specify the keywords you want to receive search volume data for in it.
3 Specify location_name
(or location_code
) and language_name
(or language code
).
To get the full list of locations and languages for DataForSEO Labs API, call the Locations and Languages endpoint.
GET https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages
4 You can also return SERP info (number of search results, relevant URLs, and SERP features) for every keyword in the response. To do it, add the include_serp_info
field and set it to true
.
Your Task POST request should be structured as in the example below:
[
{
"keywords": [
"christmas gifts",
"christmas presents",
"christmas presents online"
],
"location_code": 2840,
"language_code": "en"
}
]
In the API response, you will find historical search volume for each keyword specified in the keywords
field.
{
"version": "0.1.20220216",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.1155 sec.",
"cost": 0.0102,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "03211238-2806-0401-0000-57acec841842",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0671 sec.",
"cost": 0.0102,
"result_count": 1,
"path": [
"v3",
"dataforseo_labs",
"google",
"historical_search_volume",
"live"
],
"data": {
"api": "dataforseo_labs",
"function": "historical_search_volume",
"se_type": "google",
"keywords": [
"christmas gifts",
"christmas presents",
"christmas presents online"
],
"location_code": 2840,
"language_code": "en"
},
"result": [
{
"se_type": "google",
"location_code": 2840,
"language_code": "en",
"items_count": 2,
"items": [
{
"se_type": "google",
"keyword": "christmas gifts",
"location_code": 2840,
"language_code": "en",
"search_partners": false,
"keyword_info": {
"se_type": "google",
"last_updated_time": "2022-03-19 16:52:50 +00:00",
"competition": 0.9879402281746033,
"cpc": 1.508564,
"search_volume": 110000,
"categories": [
10006,
10365,
13507,
13509,
13738
],
"monthly_searches": [
{
"year": 2022,
"month": 2,
"search_volume": 4400
},
{
"year": 2022,
"month": 1,
"search_volume": 9900
},
{
"year": 2021,
"month": 12,
"search_volume": 550000
},
{
"year": 2021,
"month": 11,
"search_volume": 450000
},
{
"year": 2021,
"month": 10,
"search_volume": 135000
},
{
"year": 2021,
"month": 9,
"search_volume": 40500
},
{
"year": 2021,
"month": 8,
"search_volume": 18100
},
{
"year": 2021,
"month": 7,
"search_volume": 9900
},
{
"year": 2021,
"month": 6,
"search_volume": 5400
},
{
"year": 2021,
"month": 5,
"search_volume": 4400
},
{
"year": 2021,
"month": 4,
"search_volume": 4400
},
{
"year": 2021,
"month": 3,
"search_volume": 4400
},
{
"year": 2021,
"month": 2,
"search_volume": 4400
},
{
"year": 2021,
"month": 1,
"search_volume": 9900
},
{
"year": 2020,
"month": 12,
"search_volume": 550000
},
{
"year": 2020,
"month": 11,
"search_volume": 450000
},
{
"year": 2020,
"month": 10,
"search_volume": 110000
},
{
"year": 2020,
"month": 9,
"search_volume": 40500
},
{
"year": 2020,
"month": 8,
"search_volume": 14800
},
{
"year": 2020,
"month": 7,
"search_volume": 9900
},
{
"year": 2020,
"month": 6,
"search_volume": 5400
},
{
"year": 2020,
"month": 5,
"search_volume": 4400
},
{
"year": 2020,
"month": 4,
"search_volume": 4400
},
{
"year": 2020,
"month": 3,
"search_volume": 4400
},
{
"year": 2020,
"month": 2,
"search_volume": 3600
},
{
"year": 2020,
"month": 1,
"search_volume": 8100
},
{
"year": 2019,
"month": 12,
"search_volume": 550000
},
{
"year": 2019,
"month": 11,
"search_volume": 368000
},
{
"year": 2019,
"month": 10,
"search_volume": 90500
},
{
"year": 2019,
"month": 9,
"search_volume": 33100
},
{
"year": 2019,
"month": 8,
"search_volume": 12100
},
{
"year": 2019,
"month": 7,
"search_volume": 8100
},
{
"year": 2019,
"month": 6,
"search_volume": 3600
},
{
"year": 2019,
"month": 5,
"search_volume": 1900
},
{
"year": 2019,
"month": 4,
"search_volume": 1900
},
{
"year": 2019,
"month": 3,
"search_volume": 1600
},
{
"year": 2019,
"month": 2,
"search_volume": 1900
}
]
},
"keyword_properties": {
"se_type": "google",
"core_keyword": null,
"keyword_difficulty": 73
},
"impressions_info": {
"se_type": "google",
"last_updated_time": "2022-03-18 11:55:11 +00:00",
"bid": 999,
"match_type": "exact",
"ad_position_min": 1.15,
"ad_position_max": 1,
"ad_position_average": 1.07,
"cpc_min": 115.24,
"cpc_max": 140.85,
"cpc_average": 128.04,
"daily_impressions_min": 7.68,
"daily_impressions_max": 9.39,
"daily_impressions_average": 8.53,
"daily_clicks_min": 0.59,
"daily_clicks_max": 0.73,
"daily_clicks_average": 0.66,
"daily_cost_min": 76.08,
"daily_cost_max": 92.99,
"daily_cost_average": 84.54
},
"serp_info": null
},
{
"se_type": "google",
"keyword": "christmas presents",
"location_code": 2840,
"language_code": "en",
"search_partners": false,
"keyword_info": {
"se_type": "google",
"last_updated_time": "2022-03-18 00:36:28 +00:00",
"competition": 0.9738503401360545,
"cpc": 0.987731,
"search_volume": 40500,
"categories": [
10006,
10365,
13507,
13509,
13738
],
"monthly_searches": [
{
"year": 2022,
"month": 2,
"search_volume": 5400
},
{
"year": 2022,
"month": 1,
"search_volume": 12100
},
{
"year": 2021,
"month": 12,
"search_volume": 246000
},
{
"year": 2021,
"month": 11,
"search_volume": 165000
},
{
"year": 2021,
"month": 10,
"search_volume": 49500
},
{
"year": 2021,
"month": 9,
"search_volume": 18100
},
{
"year": 2021,
"month": 8,
"search_volume": 12100
},
{
"year": 2021,
"month": 7,
"search_volume": 8100
},
{
"year": 2021,
"month": 6,
"search_volume": 5400
},
{
"year": 2021,
"month": 5,
"search_volume": 5400
},
{
"year": 2021,
"month": 4,
"search_volume": 4400
},
{
"year": 2021,
"month": 3,
"search_volume": 5400
},
{
"year": 2021,
"month": 2,
"search_volume": 5400
},
{
"year": 2021,
"month": 1,
"search_volume": 14800
},
{
"year": 2020,
"month": 12,
"search_volume": 246000
},
{
"year": 2020,
"month": 11,
"search_volume": 201000
},
{
"year": 2020,
"month": 10,
"search_volume": 49500
},
{
"year": 2020,
"month": 9,
"search_volume": 22200
},
{
"year": 2020,
"month": 8,
"search_volume": 12100
},
{
"year": 2020,
"month": 7,
"search_volume": 9900
},
{
"year": 2020,
"month": 6,
"search_volume": 6600
},
{
"year": 2020,
"month": 5,
"search_volume": 5400
},
{
"year": 2020,
"month": 4,
"search_volume": 6600
},
{
"year": 2020,
"month": 3,
"search_volume": 5400
},
{
"year": 2020,
"month": 2,
"search_volume": 5400
},
{
"year": 2020,
"month": 1,
"search_volume": 12100
},
{
"year": 2019,
"month": 12,
"search_volume": 301000
},
{
"year": 2019,
"month": 11,
"search_volume": 201000
},
{
"year": 2019,
"month": 10,
"search_volume": 49500
},
{
"year": 2019,
"month": 9,
"search_volume": 22200
},
{
"year": 2019,
"month": 8,
"search_volume": 12100
},
{
"year": 2019,
"month": 7,
"search_volume": 8100
},
{
"year": 2019,
"month": 6,
"search_volume": 5400
},
{
"year": 2019,
"month": 5,
"search_volume": 4400
},
{
"year": 2019,
"month": 4,
"search_volume": 4400
},
{
"year": 2019,
"month": 3,
"search_volume": 3600
},
{
"year": 2019,
"month": 2,
"search_volume": 3600
}
]
},
"keyword_properties": {
"se_type": "google",
"core_keyword": null,
"keyword_difficulty": 67
},
"impressions_info": {
"se_type": "google",
"last_updated_time": "2022-03-17 17:23:13 +00:00",
"bid": 999,
"match_type": "exact",
"ad_position_min": 1.11,
"ad_position_max": 1,
"ad_position_average": 1.06,
"cpc_min": 75.63,
"cpc_max": 92.43,
"cpc_average": 84.03,
"daily_impressions_min": 2.26,
"daily_impressions_max": 2.76,
"daily_impressions_average": 2.51,
"daily_clicks_min": 0.19,
"daily_clicks_max": 0.23,
"daily_clicks_average": 0.21,
"daily_cost_min": 15.73,
"daily_cost_max": 19.22,
"daily_cost_average": 17.48
},
"serp_info": null
}
]
}
]
}
]
}
Having obtained search volume data for your keywords, you can calculate potential traffic for them.
For example, the christmas gifts keyword has the search volume of 550,000 in December. Your potential traffic for this keyword in December will depend on the position of your website.
To calculate it, multiple the search volume by one of the following CTR coefficients:
Website position | CTR coefficient |
1 | 0.304 |
2 | 0.162 |
3 | 0.0973 |
4 | 0.0659 |
5 | 0.0469 |
6 | 0.0338 |
7 | 0.0256 |
8 | 0.0197 |
9 | 0.015 |
10 | 0.0113 |
11 | 0.0091 |
12 | 0.0075 |
13 | 0.0059 |
14 | 0.0056 |
15 | 0.0051 |
16 | 0.0043 |
17 | 0.0043 |
18 | 0.0033 |
19 | 0.0027 |
20 | 0.0024 |
21 | 0.0023 |
22 | 0.0022 |
23 | 0.0021 |
For positions 23 – 100, the coefficient remains 0.0021.
So, if your website ranked first for the christmas gifts keyword, you could potentially have 167,200 monthly visits from it (550,000 * 0.304 = 167,200).
However, there are nuances to it: if there are ads for the keyword in SERP, the outcome should be additionally multiplied by other coefficients — you can learn more about it in this help center article.