Some options are limited.

This site uses cookies and other tracking technologies to make possible your usage of the website, assist with navigation and your ability to provide feedback, analyse your use of our products and services, assist with our promotional and marketing efforts, and provide better user experience.

By using the website, you agree to our Privacy policy

Accept and continue

Domain Comparison (domains_intersection)

domains_intersection

Shows common keywords of up to 3 domains.

  • query – domains to be compared. You can compare up to 3 domains at once.

Pagination

Following parameters can be used for pagination:

  • page_size : number of results per page (default: 100, max: 1000)
  • page :  page number (set to the 1st page by default)
Metrics Description
result Encapsulates the answer
total

Number of keywords which the domain ranges by Top-100

region_queries_count Keyword volume in selected search engine
keyword_length Number of words divided by space in a keyword
domain 1,2,3 Positions of the compared domains for a given keyword. (1,2,3)
keyword Keyword for which the domain ranks
found_results Number of results found for [keyword]
keyword_crc The checksum for a quick search
url_crc crc (encryption method) for the ""url"" variable
cost Cost per click, $
concurrency Competition in AdWords (0-100)
keyword_id Keyword ID in our database
date Date
region_queries_count_wide Search volume (broad match)
region_queries_count_last Search volume (last month)
types A list of special elements shown in SERP (for example, video, carousel or map)
geo_names List of toponyms in the array (if toponyms are present in the keywords)
status_msg Response "Ok" or "Error" report on a successful or unsuccessful request
status_code Response code "200" — successful request.
Errors occur when limits are exceeded (number of simultaneous requests or account limits)
left_lines API limits remaining

Example PHP Python
Request data:
Response data:
{  
   "result":{  
      "total":18,
      "hits":[

         {  
            "keyword":"example",
            "keyword_length":1,
            "keyword_id":15894313,
            "keyword_crc":548882016,
            "date":"2017-10-09",
            "types":[  
               "ads_top",
               "related_search"
            ],
            "found_results":135000,
            "cost":0.040297,
            "concurrency":7,
            "region_queries_count":2900,
            "region_queries_count_wide":0,
            "region_queries_count_last":4400,
            "url_crc":-1081796528,
            "geo_names":[  

            ],
            "traff":870,
            "domain2":"example.com",
            "subdomain2":null,
            "url2":"https:\/\/example.com\/",
            "position2":88,
            "dynamic2":3,
            "domain1":"example.com",
            "subdomain1":null,
            "url1":"https:\/\/example.com\/",
            "position1":16,
            "dynamic1":-3,
            "domain3":"example.com",
            "subdomain3":"www.example.com",
            "url3":"https:\/\/www.example.com\/",
            "position3":9,
            "dynamic3":-4
         }
      ]
   },
   "status_msg":"OK",
   "status_code":200,
   "left_lines":9560
}
<?php
// This example works on serpstat-sdk only
// https://github.com/SerpstatGlobal/serpstat-sdk

require_once __DIR__ . '/../vendor/autoload.php';
// configure your application
$config = [
    'token' => '19666fc1ae1724da1d5ea2f3a99d5f5a',
];
$domains = ['example.com','example1.com','example2.com'];
// init client with your serpstat api token
$apiClient = new \Serpstat\Sdk\Core\ApiGuzzleHttpClient($config['token']);
// create instance of any api method class
// list of methods classes in folder src\Methods
$apiMethod = new \Serpstat\Sdk\Methods\DomainsIntersectionMethod(
    $domains,
    \Serpstat\Sdk\Interfaces\IApiClient::SE_GOOGLE_RU
);
try {
    // try call api method
    $response = $apiClient->call($apiMethod);
} catch (\Exception $e) {
    // catch api error
    $response = $e->getMessage();
}
import codecs
import json
import pprint
import urllib.request as urlrequest
from urllib.parse import urlencode

host = 'http://api.serpstat.com/v3'
method = 'domains_intersection'

params = {
    'query': ','.join(['example1.com', 'example2.com', 'example3.com']),
    'se': 'g_us',
    'token': 'ijmiom4f5m34905g03um8342dm04923lre3w'}

api_url = "{host}/{method}?{params}".format(
    host=host,
    method=method,
    params=urlencode(params, safe=',')
)

try:
    json_data = urlrequest.urlopen(api_url).read()
except Exception as e0:
    print("API request error: {error}".format(error=e0))

data = json.loads(json_data)
pprint.pprint(data)
Sign In Free Sign Up

You’ve reached your query limit.

Or email
Forgot password?
Or email
Back To Login

Don’t worry! Just fill in your email and we’ll send over your password.

Are you sure?
Please pick the project to work on

Personal demonstration

Serpstat is all about saving time, and we want to save yours! One of our specialists will contact you and discuss options going forward.

These may include a personal demonstration, a trial period, comprehensive training articles & webinar recordings, and custom advice from a Serpstat specialist. It is our goal to make you feel comfortable while using Serpstat.

Name
Email
Phone
We are glad of your comment

Upgrade your plan

Sign Up Free

Спасибо, мы с вами свяжемся в ближайшее время

Invite
E-mail
Role
Message
Optional

You have run out of limits

You have reached the limit for the number of created projects. You cannot create new projects unless you increase the limits or delete existing projects.

I want more limits

Christmas is a time for miracles.

You are almost on the finish line of our Christmas quest. The last brick of your lego-promocode is left on the way up 55% discount.

Did not find previous lego-bricks? Fill the form anyway.

Name
Email
Phone