This endpoint will provide you with the keywords for which both specified domains rank within the same SERP. You will get data on each intersecting keyword. Along with that, you will get data on the first and second domain’s SERP element discovered for this keyword, as well as the estimated traffic volume and cost of ad traffic. Domain Intersection endpoint supports organic, paid, local pack, and featured snippet results.
Instead of ‘login’ and ‘password’ use your credentials from https://app.dataforseo.com/api-access
<?php
// You can download this file from here https://cdn.dataforseo.com/v3/examples/php/php_RestClient.zip
require('RestClient.php');
$api_url = 'https://api.dataforseo.com/';
// Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-access
$client = new RestClient($api_url, null, 'login', 'password');
$post_array = array();
// simple way to set a task
$post_array[] = array(
"target1" => "mom.me",
"target2" => "quora.com",
"language_name" => "English",
"location_code" => 2840,
"filters" => [
["first_domain_serp_element.etv", ">", 0],
"and",
["first_domain_serp_element.description", "like", "%goat%"]
]
);
try {
// POST /v3/dataforseo_labs/bing/domain_intersection/live
$result = $client->post('/v3/dataforseo_labs/bing/domain_intersection/live', $post_array);
print_r($result);
// do something with post result
} catch (RestClientException $e) {
echo "\n";
print "HTTP code: {$e->getHttpCode()}\n";
print "Error code: {$e->getCode()}\n";
print "Message: {$e->getMessage()}\n";
print $e->getTraceAsString();
echo "\n";
}
$client = null;
?>
from client import RestClient
# You can download this file from here https://cdn.dataforseo.com/v3/examples/python/python_Client.zip
client = RestClient("login", "password")
post_data = dict()
# simple way to set a task
post_data[len(post_data)] = dict(
target1="mom.me",
target2="quora.com",
location_name="United States",
language_name="English",
filters=[
["first_domain_serp_element.etv", ">", 0],
"and",
["first_domain_serp_element.description", "like", "%goat%"]
]
)
# POST /v3/dataforseo_labs/bing/domain_intersection/live
response = client.post("/v3/dataforseo_labs/bing/domain_intersection/live", post_data)
# you can find the full list of the response codes here https://docs.dataforseo.com/v3/appendix/errors
if response["status_code"] == 20000:
print(response)
# do something with result
else:
print("error. Code: %d Message: %s" % (response["status_code"], response["status_message"]))
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
namespace DataForSeoDemos
{
public static partial class Demos
{
public static async Task dataforseo_labs_bing_domain_intersection_live()
{
var httpClient = new HttpClient
{
BaseAddress = new Uri("https://api.dataforseo.com/"),
// Instead of 'login' and 'password' use your credentials from https://app.dataforseo.com/api-access
DefaultRequestHeaders = { Authorization = new AuthenticationHeaderValue("Basic", Convert.ToBase64String(Encoding.ASCII.GetBytes("login:password"))) }
};
var postData = new List<object>();
postData.Add(new
{
target1 = "mom.me",
target2 = "quora.com",
location_name = "United States",
language_name = "English",
intersections = true,
filters = new object[]
{
new object[] { "first_domain_serp_element.etv", ">", 0 },
"and",
new object[] { "first_domain_serp_element.description", "like", "%goat%" }
}
});
// POST /v3/dataforseo_labs/bing/domain_intersection/live
// the full list of possible parameters is available in documentation
var taskPostResponse = await httpClient.PostAsync("/v3/dataforseo_labs/bing/domain_intersection/live", new StringContent(JsonConvert.SerializeObject(postData)));
var result = JsonConvert.DeserializeObject(await taskPostResponse.Content.ReadAsStringAsync());
// you can find the full list of the response codes here https://docs.dataforseo.com/v3/appendix/errors
if (result.status_code == 20000)
{
// do something with result
Console.WriteLine(result);
}
else
Console.WriteLine($"error. Code: {result.status_code} Message: {result.status_message}");
}
}
}
The above command returns JSON structured like this:
{
"version": "0.1.20220327",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.8964 sec.",
"cost": 0.0105,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "03311321-2806-0389-0000-b4c341cc0dd1",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.8355 sec.",
"cost": 0.0105,
"result_count": 1,
"path": [
"v3",
"dataforseo_labs",
"bing",
"domain_intersection",
"live"
],
"data": {
"api": "dataforseo_labs",
"function": "domain_intersection",
"se_type": "bing",
"target1": "mom.me",
"target2": "quora.com",
"language_code": "en",
"location_code": 2840,
"include_serp_info": true,
"limit": 5
},
"result": [
{
"se_type": "bing",
"target1": "mom.me",
"target2": "quora.com",
"location_code": 2840,
"language_code": "en",
"total_count": 5,
"items_count": 5,
"items": [
{
"se_type": "bing",
"keyword_data": {
"se_type": "bing",
"keyword": "peacocks as pets",
"location_code": 2840,
"language_code": "en",
"keyword_info": {
"se_type": "bing",
"last_updated_time": "2022-03-06 01:20:20 +00:00",
"competition": 0.10000000149011612,
"cpc": 0.10000000149011612,
"search_volume": 40,
"monthly_searches": [
{
"year": 2022,
"month": 2,
"search_volume": 50
},
{
"year": 2022,
"month": 1,
"search_volume": 40
},
{
"year": 2021,
"month": 12,
"search_volume": 30
},
{
"year": 2021,
"month": 11,
"search_volume": 40
},
{
"year": 2021,
"month": 10,
"search_volume": 20
},
{
"year": 2021,
"month": 9,
"search_volume": 30
},
{
"year": 2021,
"month": 8,
"search_volume": 30
},
{
"year": 2021,
"month": 7,
"search_volume": 30
},
{
"year": 2021,
"month": 6,
"search_volume": 50
},
{
"year": 2021,
"month": 5,
"search_volume": 60
},
{
"year": 2021,
"month": 4,
"search_volume": 60
},
{
"year": 2021,
"month": 3,
"search_volume": 40
}
]
},
"keyword_properties": {
"se_type": "bing",
"core_keyword": null,
"synonym_clustering_algorithm": "text_processing",
"keyword_difficulty": 100,
"detected_language": "en",
"is_another_language": false
},
"serp_info": {
"se_type": "bing",
"check_url": "https://www.bing.com/search?q=peacocks%20as%20pets&count=50&first=1&setlang=en&cc=US&safesearch=Moderate&form=QBLH",
"serp_item_types": [
"featured_snippet",
"people_also_ask",
"organic",
"video",
"images",
"related_searches"
],
"se_results_count": null,
"last_updated_time": "2022-03-09 11:40:31 +00:00",
"previous_updated_time": "2022-02-03 19:58:33 +00:00"
}
},
"first_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 28,
"rank_absolute": 31,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[31]",
"domain": "animals.mom.me",
"title": "How to Own Peacocks as Pets | Animals - mom.me",
"url": "https://animals.mom.me/own-peacocks-pets-1544.html?bcsi-ac-1890e3206a556864=2791AF9A000000026cPisuAwGWI54o3FqugvZ2zhaYdbQgAAAgAAAIlT+QCEAwAAFwAAAIIpOgA=",
"breadcrumb": "https://animals.mom.me/own-peacocks-pets-1544.html?...",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "Peacocks with full tails are almost 5 feet from beak to tail tip and need space enough in a pen or house to fully turn around and move about. Peacocks get along with other birds and will do well with chickens. The notion of keeping peacocks in your house is a no-brainer. Even if your home is large enough to accommodate one or more of the large ...",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": [
"Peacocks",
"Peacocks",
"peacocks"
],
"links": null,
"about_this_result": null,
"main_domain": "mom.me",
"relative_url": "/own-peacocks-pets-1544.html?bcsi-ac-1890e3206a556864=2791AF9A000000026cPisuAwGWI54o3FqugvZ2zhaYdbQgAAAgAAAIlT+QCEAwAAFwAAAIIpOgA=",
"etv": 0.08399999886751175,
"estimated_paid_traffic_cost": 0.00839999970048666,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
},
"second_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 19,
"rank_absolute": 22,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[22]",
"domain": "www.quora.com",
"title": "What are the risks of having a big peacock as a pet? - Quora",
"url": "https://www.quora.com/What-are-the-risks-of-having-a-big-peacock-as-a-pet",
"breadcrumb": "https://www.quora.com/What-are-the-risks-of-having-a-big-peacock-as-a-pet",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "Answer (1 of 5): Risks? Well, all birds have a risk of carrying salmonella, so their droppings could transmit a case of food poisoning if they somehow wind up in food or contact with surfaces you put food on. Birds can catch avian influenza and west nile virus, and sometimes transmit it …",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": null,
"links": null,
"about_this_result": null,
"main_domain": "quora.com",
"relative_url": "/What-are-the-risks-of-having-a-big-peacock-as-a-pet",
"etv": 0.1080000028014183,
"estimated_paid_traffic_cost": 0.01080000028014183,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
}
},
{
"se_type": "bing",
"keyword_data": {
"se_type": "bing",
"keyword": "how do roosters mate",
"location_code": 2840,
"language_code": "en",
"keyword_info": {
"se_type": "bing",
"last_updated_time": "2022-03-14 12:46:00 +00:00",
"competition": 0.10000000149011612,
"cpc": null,
"search_volume": 20,
"monthly_searches": [
{
"year": 2022,
"month": 2,
"search_volume": 20
},
{
"year": 2022,
"month": 1,
"search_volume": 20
},
{
"year": 2021,
"month": 12,
"search_volume": 20
},
{
"year": 2021,
"month": 11,
"search_volume": 20
},
{
"year": 2021,
"month": 10,
"search_volume": 30
},
{
"year": 2021,
"month": 9,
"search_volume": 30
},
{
"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": 30
},
{
"year": 2021,
"month": 3,
"search_volume": 30
}
]
},
"keyword_properties": {
"se_type": "bing",
"core_keyword": null,
"synonym_clustering_algorithm": "text_processing",
"keyword_difficulty": 100,
"detected_language": "en",
"is_another_language": false
},
"serp_info": {
"se_type": "bing",
"check_url": "https://www.bing.com/search?q=how%20do%20roosters%20mate&count=50&first=1&setlang=en&cc=US&safesearch=Moderate&form=QBLH",
"serp_item_types": [
"featured_snippet",
"people_also_ask",
"video",
"organic",
"related_searches"
],
"se_results_count": 1290000,
"last_updated_time": "2022-02-15 19:07:11 +00:00",
"previous_updated_time": "1970-01-01 03:00:00 +00:00"
}
},
"first_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 25,
"rank_absolute": 28,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[28]",
"domain": "animals.mom.me",
"title": "How Do Roosters Communicate? | Animals - mom.me",
"url": "https://animals.mom.me/roosters-communicate-3401.html",
"breadcrumb": "https://animals.mom.me/roosters-communicate-3401.html",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "A rooster's role is to protect, mate with and provide for his flock. To do this, he must be able to communicate with other roosters, hens, chicks and even with predators. While a rooster crowing in the morning might sound like nothing but a noisy sunrise alarm to us, he's busy delivering important information to members of his own species.",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": [
"rooster's",
"mate",
"do",
"roosters",
"rooster"
],
"links": null,
"about_this_result": null,
"main_domain": "mom.me",
"relative_url": "/roosters-communicate-3401.html",
"etv": 0.041999999433755875,
"estimated_paid_traffic_cost": null,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
},
"second_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 11,
"rank_absolute": 14,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[14]",
"domain": "www.quora.com",
"title": "How does a rooster impregnate a chicken? - Quora",
"url": "https://www.quora.com/How-does-a-rooster-impregnate-a-chicken",
"breadcrumb": "https://www.quora.com/How-does-a-rooster-impregnate-a-chicken",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "Answer (1 of 14): First things first, a rooster does not impregnate a hen. Hens do not get pregnant, they lay eggs which can be fertile or not. Eggs are fertilized when a rooster mates with a hen. It's not sex as we think of it; roosters do not have penises and hens do not have vaginas in the sa...",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": [
"rooster does",
"do",
"rooster",
"roosters do",
"do"
],
"links": [
{
"type": "link_element",
"title": "What are the differences between a chicken, a hen, and a ...",
"description": null,
"url": "https://www.quora.com/What-are-the-differences-between-a-chicken-a-hen-and-a-rooster"
},
{
"type": "link_element",
"title": "How do a hen and rooster mate?",
"description": null,
"url": "https://www.quora.com/How-do-a-hen-and-rooster-mate"
}
],
"about_this_result": null,
"main_domain": "quora.com",
"relative_url": "/How-does-a-rooster-impregnate-a-chicken",
"etv": 0.18199999630451202,
"estimated_paid_traffic_cost": null,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
}
},
{
"se_type": "bing",
"keyword_data": {
"se_type": "bing",
"keyword": "how does a rooster mate with a hen",
"location_code": 2840,
"language_code": "en",
"keyword_info": {
"se_type": "bing",
"last_updated_time": "2022-03-08 00:13:10 +00:00",
"competition": 0.10000000149011612,
"cpc": 0.10000000149011612,
"search_volume": 20,
"monthly_searches": [
{
"year": 2022,
"month": 2,
"search_volume": 10
},
{
"year": 2022,
"month": 1,
"search_volume": 20
},
{
"year": 2021,
"month": 12,
"search_volume": 0
},
{
"year": 2021,
"month": 11,
"search_volume": 10
},
{
"year": 2021,
"month": 10,
"search_volume": 20
},
{
"year": 2021,
"month": 9,
"search_volume": 20
},
{
"year": 2021,
"month": 8,
"search_volume": 10
},
{
"year": 2021,
"month": 7,
"search_volume": 20
},
{
"year": 2021,
"month": 6,
"search_volume": 20
},
{
"year": 2021,
"month": 5,
"search_volume": 20
},
{
"year": 2021,
"month": 4,
"search_volume": 20
},
{
"year": 2021,
"month": 3,
"search_volume": 10
}
]
},
"keyword_properties": {
"se_type": "bing",
"core_keyword": null,
"synonym_clustering_algorithm": "text_processing",
"keyword_difficulty": 100,
"detected_language": "en",
"is_another_language": false
},
"serp_info": {
"se_type": "bing",
"check_url": "https://www.bing.com/search?q=how%20does%20a%20rooster%20mate%20with%20a%20hen&count=50&first=1&setlang=en&cc=US&safesearch=Moderate&form=QBLH",
"serp_item_types": [
"featured_snippet",
"people_also_ask",
"organic",
"video",
"related_searches"
],
"se_results_count": 24600000,
"last_updated_time": "2022-02-15 18:58:41 +00:00",
"previous_updated_time": "1970-01-01 03:00:00 +00:00"
}
},
"first_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 15,
"rank_absolute": 18,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[18]",
"domain": "animals.mom.me",
"title": "How Do Roosters Communicate? | Animals - mom.me",
"url": "https://animals.mom.me/roosters-communicate-3401.html",
"breadcrumb": "https://animals.mom.me/roosters-communicate-3401.html",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "A rooster's role is to protect, mate with and provide for his flock. To do this, he must be able to communicate with other roosters, hens, chicks and even with predators. While a rooster crowing in the morning might sound like nothing but a noisy sunrise alarm to us, he's busy delivering important information to members of his own species.",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": [
"A rooster's",
"mate",
"do",
"roosters",
"hens",
"a rooster"
],
"links": null,
"about_this_result": null,
"main_domain": "mom.me",
"relative_url": "/roosters-communicate-3401.html",
"etv": 0.10199999809265137,
"estimated_paid_traffic_cost": 0.010200000368058681,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
},
"second_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 29,
"rank_absolute": 32,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[32]",
"domain": "www.quora.com",
"title": "How old do hens and roosters have to be to breed? - Quora",
"url": "https://www.quora.com/How-old-do-hens-and-roosters-have-to-be-to-breed",
"breadcrumb": "https://www.quora.com/How-old-do-hens-and-roosters-have-to-be-to-breed",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "Answer (1 of 5): It depends on breed. The majority of breeds will start to mature at 4.5 months or so, a few precocious roosters will start to try a bit sooner, I don’t know how successful they actually are. However some breeds will mature later. By 6 …",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": [
"breed",
"roosters"
],
"links": null,
"about_this_result": null,
"main_domain": "quora.com",
"relative_url": "/How-old-do-hens-and-roosters-have-to-be-to-breed",
"etv": 0.041999999433755875,
"estimated_paid_traffic_cost": 0.00419999985024333,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
}
},
{
"se_type": "bing",
"keyword_data": {
"se_type": "bing",
"keyword": "how do chickens and roosters mate",
"location_code": 2840,
"language_code": "en",
"keyword_info": {
"se_type": "bing",
"last_updated_time": "2022-02-26 15:46:06 +00:00",
"competition": 0.10000000149011612,
"cpc": 0.10000000149011612,
"search_volume": 20,
"monthly_searches": [
{
"year": 2022,
"month": 1,
"search_volume": 20
},
{
"year": 2021,
"month": 12,
"search_volume": 30
},
{
"year": 2021,
"month": 11,
"search_volume": 10
},
{
"year": 2021,
"month": 10,
"search_volume": 20
},
{
"year": 2021,
"month": 9,
"search_volume": 20
},
{
"year": 2021,
"month": 8,
"search_volume": 0
},
{
"year": 2021,
"month": 7,
"search_volume": 10
},
{
"year": 2021,
"month": 6,
"search_volume": 10
},
{
"year": 2021,
"month": 5,
"search_volume": 20
},
{
"year": 2021,
"month": 4,
"search_volume": 30
},
{
"year": 2021,
"month": 3,
"search_volume": 20
},
{
"year": 2021,
"month": 2,
"search_volume": 20
}
]
},
"keyword_properties": {
"se_type": "bing",
"core_keyword": null,
"synonym_clustering_algorithm": "text_processing",
"keyword_difficulty": 100,
"detected_language": "en",
"is_another_language": false
},
"serp_info": {
"se_type": "bing",
"check_url": "https://www.bing.com/search?q=how%20do%20chickens%20and%20roosters%20mate&count=50&first=1&setlang=en&cc=US&safesearch=Moderate&form=QBLH",
"serp_item_types": [
"featured_snippet",
"people_also_ask",
"organic",
"video",
"related_searches"
],
"se_results_count": 818000,
"last_updated_time": "2022-02-15 19:05:36 +00:00",
"previous_updated_time": "1970-01-01 03:00:00 +00:00"
}
},
"first_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 41,
"rank_absolute": 44,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[44]",
"domain": "animals.mom.me",
"title": "How Do Roosters Communicate? | Animals - mom.me",
"url": "https://animals.mom.me/roosters-communicate-3401.html",
"breadcrumb": "https://animals.mom.me/roosters-communicate-3401.html",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "A rooster's role is to protect, mate with and provide for his flock. To do this, he must be able to communicate with other roosters, hens, chicks and even with predators. While a rooster crowing in the morning might sound like nothing but a noisy sunrise alarm to us, he's busy delivering important information to members of his own species.",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": [
"rooster's",
"mate",
"do",
"rooster"
],
"links": null,
"about_this_result": null,
"main_domain": "mom.me",
"relative_url": "/roosters-communicate-3401.html",
"etv": 0.041999999433755875,
"estimated_paid_traffic_cost": 0.00419999985024333,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
},
"second_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 8,
"rank_absolute": 11,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[11]",
"domain": "www.quora.com",
"title": "How does a rooster impregnate a chicken? - Quora",
"url": "https://www.quora.com/How-does-a-rooster-impregnate-a-chicken",
"breadcrumb": "https://www.quora.com/How-does-a-rooster-impregnate-a-chicken",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "Answer (1 of 14): First things first, a rooster does not impregnate a hen. Hens do not get pregnant, they lay eggs which can be fertile or not. Eggs are fertilized when a rooster mates with a hen. It's not sex as we think of it; roosters do not have penises and hens do not have vaginas in the sa...",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": [
"rooster",
"do",
"rooster",
"do",
"do"
],
"links": [
{
"type": "link_element",
"title": "What are the differences between a chicken, a hen, and a ...",
"description": null,
"url": "https://www.quora.com/What-are-the-differences-between-a-chicken-a-hen-and-a-rooster"
},
{
"type": "link_element",
"title": "How do a hen and rooster mate?",
"description": null,
"url": "https://www.quora.com/How-do-a-hen-and-rooster-mate"
}
],
"about_this_result": null,
"main_domain": "quora.com",
"relative_url": "/How-does-a-rooster-impregnate-a-chicken",
"etv": 0.39399999380111694,
"estimated_paid_traffic_cost": 0.039400000125169754,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
}
},
{
"se_type": "bing",
"keyword_data": {
"se_type": "bing",
"keyword": "what is wasp mom",
"location_code": 2840,
"language_code": "en",
"keyword_info": {
"se_type": "bing",
"last_updated_time": "2022-03-04 09:19:17 +00:00",
"competition": 0.10000000149011612,
"cpc": 0.10000000149011612,
"search_volume": 10,
"monthly_searches": [
{
"year": 2022,
"month": 2,
"search_volume": 10
},
{
"year": 2022,
"month": 1,
"search_volume": 10
},
{
"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": 10
},
{
"year": 2021,
"month": 8,
"search_volume": 20
},
{
"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": 20
},
{
"year": 2021,
"month": 3,
"search_volume": 20
}
]
},
"keyword_properties": {
"se_type": "bing",
"core_keyword": null,
"synonym_clustering_algorithm": "text_processing",
"keyword_difficulty": 100,
"detected_language": "en",
"is_another_language": false
},
"serp_info": {
"se_type": "bing",
"check_url": "https://www.bing.com/search?q=what%20is%20wasp%20mom&count=50&first=1&setlang=en&cc=US&safesearch=Moderate&form=QBLH",
"serp_item_types": [
"answer_box",
"people_also_ask",
"organic",
"images",
"related_searches"
],
"se_results_count": 9340000,
"last_updated_time": "2022-02-20 09:38:21 +00:00",
"previous_updated_time": "1970-01-01 03:00:00 +00:00"
}
},
"first_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 28,
"rank_absolute": 31,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[31]",
"domain": "animals.mom.me",
"title": "What Is the Difference Between a Wasp & a Mud Dauber? - mom.me",
"url": "https://animals.mom.me/difference-between-wasp-mud-dauber-6813.html?bcsi-ac-95782208a8e11336=283670A400000202CA6bss3xEi7S3lj6Hl1hVAjmprhpBgAAAgIAAM0SGACEAwAABAAAADTKBAA=",
"breadcrumb": "https://animals.mom.me/difference-between-wasp-mud...",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "Fully grown, a wasp can reach 1.5 inches in length and is identifiable by body type as well as by varied and distinctive coloration. Mud daubers fall into the solitary hunting wasp category, while creatures like yellow jackets and hornets are social varieties.",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": [
"wasp",
"wasp"
],
"links": null,
"about_this_result": null,
"main_domain": "mom.me",
"relative_url": "/difference-between-wasp-mud-dauber-6813.html?bcsi-ac-95782208a8e11336=283670A400000202CA6bss3xEi7S3lj6Hl1hVAjmprhpBgAAAgIAAM0SGACEAwAABAAAADTKBAA=",
"etv": 0.020999999716877937,
"estimated_paid_traffic_cost": 0.002099999925121665,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
},
"second_domain_serp_element": {
"se_type": "bing",
"type": "organic",
"rank_group": 17,
"rank_absolute": 20,
"position": "left",
"xpath": "/html[1]/body[1]/div[1]/main[1]/ol[1]/li[20]",
"domain": "www.quora.com",
"title": "In slang what is a “wasp”? - Quora",
"url": "https://www.quora.com/In-slang-what-is-a-wasp",
"breadcrumb": "https://www.quora.com/In-slang-what-is-a-wasp",
"is_image": false,
"is_video": false,
"is_featured_snippet": false,
"is_malicious": false,
"description": "Answer (1 of 3): I believe the word “ wasp ” originated from the acronym W.A.S. P. - i.e. a White Anglo Saxon Protestant. Not always requiring membership of all groups, a “ wasp ” became a catch-all word for fully-fledged members of The Establishment. In some ways rather a general word to describe pe...",
"pre_snippet": null,
"extended_snippet": null,
"amp_version": false,
"rating": null,
"highlighted": [
"wasp",
"W",
"P",
"White Anglo Saxon Protestant",
"wasp"
],
"links": null,
"about_this_result": null,
"main_domain": "quora.com",
"relative_url": "/In-slang-what-is-a-wasp",
"etv": 0.0430000014603138,
"estimated_paid_traffic_cost": 0.00430000014603138,
"rank_changes": {
"previous_rank_absolute": null,
"is_new": true,
"is_up": false,
"is_down": false
}
}
}
]
}
]
}
]
}
All POST data should be sent in the JSON format (UTF-8 encoding). The task setting is done using the POST method. When setting a task, you should send all task parameters in the task array of the generic POST array. You can send up to 2000 API calls per minute. The maximum number of requests that can be sent simultaneously is limited to 30.
You can specify the number of results you want to retrieve and sort them.
Below you will find a detailed description of the fields you can use for setting a task.
Description of the fields for setting a task:
Field name
Type
Description
target1
string
domain required field
the domain name of the first target website
the domain should be specified without https:// and www.
target2
string
domain required field
the domain name of the second target website
the domain should be specified without https:// and www.
location_name
string
full name of the location required field if you don’t specifylocation_code Note: it is required to specify either location_name or location_code
you can receive the list of available locations with their location_name by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; Note: this endpoint currently supports the US location only;
example: United States
location_code
integer
location code required field if you don’t specifylocation_name Note: it is required to specify either location_name or location_code
you can receive the list of available locations with their location_code by making a separate request to https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages; Note: this endpoint currently supports the US location only;
example: 2840
language_name
string
full name of the language required field if you don’t specifylanguage_code Note: it is required to specify either language_name or language_code
you can receive the list of available languages with their language_name by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages
example: English
language_code
string
language code required field if you don’t specifylanguage_name Note: it is required to specify either language_name or language_code
you can receive the list of available languages with their language_code by making a separate request to the https://api.dataforseo.com/v3/dataforseo_labs/locations_and_languages
example: en
intersections
boolean
domain intersections in SERP
optional field
if you set intersections to true, you will get the keywords for which both target domains specified as target1 and target2 have results within the same SERP; the corresponding SERP elements for both domains will be provided in the results array Note: this endpoint will not provide results if the number of intersecting keywords exceeds 10 million
if you specify intersections: false, you will get the keywords for which the domain specified as target1 has results in SERP, and the domain specified as target2 doesn’t;
thus, the corresponding SERP elements and other data will be provided for the domain specified as target1only
default value: true
item_types
array
search results type
indicates type of search results included in the response
optional field
possible values: ["organic", "paid", "featured_snippet", "local_pack"]
default value: ["organic", "paid"]
include_serp_info
boolean
include data from SERP for each keyword
optional field
if set to true, we will return a serp_info array containing SERP data (number of search results, relevant URL, and SERP features) for every keyword in the response
default value: false
limit
integer
the maximum number of returned keywords
optional field
default value: 100
maximum value: 1000
offset
integer
offset in the items array of returned keywords
optional field
default value: 0
if you specify the 10 value, the first ten keywords in the results array will be omitted and the data will be provided for the successive keywords
filters
array
array of results filtering parameters
optional field you can add several filters at once (8 filters maximum)
you should set a logical operator and, or between the conditions
the following operators are supported: regex, not_regex, <, <=, >, >=, =, <>, in, not_in, ilike, not_ilike, like, not_like
you can use the % operator with like and not_like, as well as ilike and not_ilike to match any string of zero or more characters
example: ["keyword_data.keyword_info.search_volume","in",[100,1000]]
[["keyword_data.keyword_info.search_volume",">",100],
"and",
[["first_domain_serp_element.description","like","%goat%"],
"or",
["second_domain_serp_element.type","=","organic"]]]
for more information about filters, please refer to Dataforseo Labs – Filters or this help center guide
order_by
array
results sorting rules
optional field
you can use the same values as in the filters array to sort the results
possible sorting types: asc – results will be sorted in the ascending order desc – results will be sorted in the descending order
you should use a comma to set up a sorting parameter
example: ["keyword_data.keyword_info.competition,desc"]
default rule: ["keyword_data.keyword_info.search_volume,desc"] note that you can set no more than three sorting rules in a single request
you should use a comma to separate several sorting rules
example: ["keyword_data.keyword_info.search_volume,desc","keyword_data.keyword_info.cpc,desc"]
tag
string
user-defined task identifier
optional field the character limit is 255
you can use this parameter to identify the task and match it with the result
you will find the specified tag value in the data object of the response
As a response of the API server, you will receive JSON-encoded data containing a tasks array with the information specific to the set tasks.
Description of the fields in the results array:
Field name
Type
Description
version
string
the current version of the API
status_code
integer
general status code
you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_message
string
general informational message
you can find the full list of general informational messages here
time
string
execution time, seconds
cost
float
total tasks cost, USD
tasks_count
integer
the number of tasks in the tasks array
tasks_error
integer
the number of tasks in the tasks array returned with an error
tasks
array
array of tasks
id
string
task identifier unique task identifier in our system in the UUID format
status_code
integer
status code of the task
generated by DataForSEO; can be within the following range: 10000-60000
you can find the full list of the response codes here
status_message
string
informational message of the task
you can find the full list of general informational messages here
time
string
execution time, seconds
cost
float
cost of the task, USD
result_count
integer
number of elements in the result array
path
array
URL path
data
object
contains the same parameters that you specified in the POST request
result
array
array of results
se_type
string
search engine type
search engine type specified in a POST request;
for this endpoint, the field equals bing
target1
string
target specified in a POST array
target2
string
target specified in a POST array
location_code
integer
location code in a POST array
language_code
string
language code in a POST array
total_count
integer
total amount of results in our database relevant to your request
items_count
integer
the number of results returned in the items array
items
array
contains keywords, relevant SERP elements and related data
se_type
string
search engine type
search engine type specified in a POST request;
for this endpoint, the field equals bing
keyword_data
object
keyword data for the returned keyword
se_type
string
search engine type
search engine type specified in a POST request;
for this endpoint, the field equals bing
keyword
string
returned keyword
location_code
integer
location code in a POST array
language_code
string
language code in a POST array
keyword_info
object
keyword data for the returned keyword
se_type
string
search engine type
search engine type specified in a POST request;
for this endpoint, the field equals bing
last_updated_time
string
date and time when keyword data was updated
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
example: 2019-11-15 12:57:46 +00:00
competition
float
competition
represents the relative amount of competition associated with the given keyword
this value is based on Bing Ads data and can be between 0 and 1 (inclusive)
cpc
float
cost-per-click
represents the average cost per click (USD) historically paid for the keyword
search_volume
integer
average monthly search volume rate
represents the (approximate) number of searches for the returned keyword on bing.com
monthly_searches
array
monthly searches
represents the (approximate) number of searches for this keyword (as available for the past twelve months), targeted to the specified geographic locations
year
integer
year
month
integer
month
search_volume
integer
monthly average search volume rate
keyword_properties
object
additional information about the keyword
se_type
string
search engine type
core_keyword
string
main keyword in a group
contains the main keyword in a group determined by the synonym clustering algorithm
if the value is null, our database does not contain any keywords the corresponding algorithm could identify as synonymous with keyword
synonym_clustering_algorithm
string
the algorithm used to identify synonyms
possible values: keyword_metrics – indicates the algorithm based on keyword_info parameters text_processing – indicates the text-based algorithm
if the value is null, our database does not contain any keywords the corresponding algorithm could identify as synonymous with keyword
keyword_difficulty
integer
difficulty of ranking in the first top-10 organic results for a keyword
indicates the chance of getting in top-10 organic results for a keyword on a logarithmic scale from 0 to 100;
calculated by analysing, among other parameters, link profiles of the first 10 pages in SERP;
learn more about the metric in this help center guide
detected_language
string
detected language of the keyword
indicates the language of the keyword as identified by our system
is_another_language
boolean
detected language of the keyword is different from the set language
if true, the language set in the request does not match the language determined by our system for a given keyword
serp_info
object
SERP data
the value will be null if you didn’t set the field include_serp_info to true in the POST array or if there is no SERP data for this keyword in our database
se_type
string
search engine type
search engine type specified in a POST request;
for this endpoint, the field equals bing
check_url
string
direct URL to search engine results
you can use it to make sure that we provided accurate results
serp_item_types
array
types of search results in SERP
contains types of search results (items) found in SERP
possible item types: answer_box, carousel, events, featured_snippet, hotels_pack, images, jobs, local_pack, map, organic, paid, people_also_ask, people_also_search,questions_and_answers, recipes, related_searches, shopping, top_stories, video; note that the actual results will be returned only for organic, paid, featured_snippet, and local_pack elements
se_results_count
string
number of search results for the returned keyword
last_updated_time
string
date and time when SERP data was updated
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
example: 2019-11-15 12:57:46 +00:00
previous_updated_time
string
previous to the most recent date and time when SERP data was updated
in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00”
example: 2019-10-15 12:57:46 +00:00
first_domain_serp_element
object
contains data on the first domain’s SERP element found for the returned keyword
the list of supported SERP elements can be found below
second_domain_serp_element
object
contains data on the second domain’s SERP element found for the returned keyword
the list of supported SERP elements can be found below
‘organic’ element in SERP’
se_type
string
search engine type
search engine type specified in a POST request;
for this endpoint, the field equals bing
type
string
type of element = ‘organic’
rank_group
integer
position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
rank_absolute
integer
absolute rank in SERP
absolute position among all the elements in SERP
position
string
the alignment of the element in SERP
can take the following values: left, right
indicates whether the element is a featured_snippet
is_malicious
boolean
indicates whether the element is marked as malicious
description
string
description of the results element in SERP
pre_snippet
string
includes additional information appended before the result description in SERP
extended_snippet
string
includes additional information appended after the result description in SERP
amp_version
boolean
Accelerated Mobile Pages
indicates whether an item has the Accelerated Mobile Page (AMP) version
rating
object
the item’s rating
the popularity rate based on reviews and displayed in SERP
rating_type
string
the type of rating
here you can find the following elements: Max5, Percents, CustomMax
value
integer
the value of the rating
votes_count
integer
the amount of feedback
rating_max
integer
the maximum value for a rating_type
highlighted
array
words highlighted in bold within the results description
links
array
sitelinks
the links shown below some of the search results
if there are none, equals null
type
string
type of element = ‘link_element‘
title
string
title of the result in SERP
description
string
description of the results element in SERP
url
string
sitelink URL
main_domain
string
primary domain name in SERP
relative_url
string
relative URL in SERP
etv
float
estimated traffic volume
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
learn more about how the metric is calculated in this help center article
estimated_paid_traffic_cost
float
estimated cost of converting organic search traffic into paid
represents the estimated monthly cost of running ads (USD) for the returned keyword;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Bing Search
learn more about how the metric is calculated in this help center article
rank_changes
object
changes in rankings
contains information about the ranking changes of the SERP element since the previous_updated_time
previous_rank_absolute
integer
previous absolute rank in SERP
indicates previous rank of the element in Bing SERP;
if this element is new, the value will be null
is_new
boolean
element was previously present in SERP
if the value is true, previously collected SERP didn’t contain this element
is_up
boolean
rank of this element went up
if the value is true, position of the element in SERP is higher compared to the previous check
is_down
boolean
rank of this element went down
if the value is true, position of the element in SERP is lower compared to the previous check
‘paid’ element in SERP
se_type
string
search engine type
search engine type specified in a POST request;
for this endpoint, the field equals bing
type
string
type of element = ‘paid’
rank_group
integer
position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
rank_absolute
integer
absolute rank in SERP
absolute position among all the elements in SERP
position
string
the alignment of the element in SERP
can take the following values: left, right
words highlighted in bold within the results description
extra
array
additional information about the result
ad_aclk
string
the identifier of the ad
description_rows
array
extended description
if there is none, equals null
links
array
sitelinks
the links shown below some of the search results
if there are none, equals null
type
string
type of element = ‘ad_link_element‘
title
string
title of the link element
description
string
description of the results element in SERP
url
string
URL link
ad_aclk
string
the identifier of the ad
main_domain
string
primary domain name in SERP
relative_url
string
relative URL in SERP
etv
float
estimated traffic volume
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
learn more about how the metric is calculated in this help center article
estimated_paid_traffic_cost
float
estimated cost of paid monthly search traffic
represents the estimated cost of paid monthly traffic (USD) based on etv and cpc values
learn more about how the metric is calculated in this help center article
rank_changes
object
changes in rankings
contains information about the ranking changes of the SERP element since the previous_updated_time
previous_rank_absolute
integer
previous absolute rank in SERP
indicates previous rank of the element in Bing SERP;
if this element is new, the value will be null
is_new
boolean
element was previously present in SERP
if the value is true, previously collected SERP didn’t contain this element
is_up
boolean
rank of this element went up
if the value is true, position of the element in SERP is higher compared to the previous check
is_down
boolean
rank of this element went down
if the value is true, position of the element in SERP is lower compared to the previous check
‘local_pack’ element in SERP
se_type
string
search engine type
search engine type specified in a POST request;
for this endpoint, the field equals bing
type
string
type of element = ‘local_pack’
rank_group
integer
position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
rank_absolute
integer
absolute rank in SERP
absolute position among all the elements in SERP
position
string
the alignment of the element in SERP
can take the following values: left, right
the item’s rating
the popularity rate based on reviews and displayed in SERP
rating_type
string
the type of rating
here you can find the following elements: Max5, Percents, CustomMax
value
integer
the value of the rating
votes_count
integer
the amount of feedback
rating_max
integer
the maximum value for a rating_type
main_domain
string
primary domain name in SERP
relative_url
string
relative URL in SERP
etv
float
estimated traffic volume
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
learn more about how the metric is calculated in this help center article
estimated_paid_traffic_cost
float
estimated cost of converting organic search traffic into paid
represents the estimated monthly cost of running ads (USD) for the returned keyword;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Bing Search
learn more about how the metric is calculated in this help center article
rank_changes
object
changes in rankings
contains information about the ranking changes of the SERP element since the previous_updated_time
previous_rank_absolute
integer
previous absolute rank in SERP
indicates previous rank of the element in Bing SERP;
if this element is new, the value will be null
is_new
boolean
element was previously present in SERP
if the value is true, previously collected SERP didn’t contain this element
is_up
boolean
rank of this element went up
if the value is true, position of the element in SERP is higher compared to the previous check
is_down
boolean
rank of this element went down
if the value is true, position of the element in SERP is lower compared to the previous check
‘featured_snippet’ element in SERP
se_type
string
search engine type
search engine type specified in a POST request;
for this endpoint, the field equals bing
type
string
type of element = ‘featured_snippet’
rank_group
integer
position within a group of elements with identical type values
positions of elements with different type values are omitted from rank_group
rank_absolute
integer
absolute rank in SERP
absolute position among all the elements in SERP
position
string
the alignment of the element in SERP
can take the following values: left, right
the content of the table
one line of the table in this element of the array
about_this_result
object
contains information from the ‘About this result’ panel
type
string
type of element = ‘about_this_result_element‘
url
string
result’s URL
source
string
source of additional information about the result
source_info
string
additional information about the result
description of the website from Wikipedia or another additional context
source_url
string
URL to full information from the source
language
string
the language of the result
location
string
location for which the result is relevant
search_terms
array
matching search terms that appear in the result
related_terms
array
related search terms that appear in the result
main_domain
string
primary domain name in SERP
relative_url
string
relative URL in SERP
etv
float
estimated traffic volume
estimated organic monthly traffic to the domain;
calculated as the product of CTR (click-through-rate) and search volume values of the returned keyword
learn more about how the metric is calculated in this help center article
estimated_paid_traffic_cost
float
estimated cost of converting organic search traffic into paid
represents the estimated monthly cost of running ads (USD) for the returned keyword;
the metric is calculated as the product of organic etv and paid cpc values and indicates the cost of driving the estimated volume of monthly organic traffic through PPC advertising in Bing Search
learn more about how the metric is calculated in this help center article
rank_changes
object
changes in rankings
contains information about the ranking changes of the SERP element since the previous_updated_time
previous_rank_absolute
integer
previous absolute rank in SERP
indicates previous rank of the element in Bing SERP;
if this element is new, the value will be null
is_new
boolean
element was previously present in SERP
if the value is true, previously collected SERP didn’t contain this element
is_up
boolean
rank of this element went up
if the value is true, position of the element in SERP is higher compared to the previous check
is_down
boolean
rank of this element went down
if the value is true, position of the element in SERP is lower compared to the previous check