Returns the amount of TOP10 keywords found in the organic Google index for the given DOMAIN, HOST, PATH, or URL. The date parameter can be used to retrieve the TOP10 organic keyword amount for a specific date in the past. To obtain a list of historical values, use the history parameter, which can be limited with the limit parameter. The mobile parameter allows you to switch between mobile and desktop data, while the country parameter specifies the country for which the data is retrieved.
Result
The results include the number of counted top10 keywords (value), the date for which this count applies (date), and the domain where the top10 keywords were found. If historical values are requested, the results will contain a list of these parameters.GET-Parameters
Parameters (Mandatory)
api_key
STRING
Your personal API key. This key is used to authenticate your requests. You can obtain it here.
address_object
STRING
Defines the domain, host, path, or URL to which the method is applied, depending on the key value provided.
Parameters (Optional)
date
DATE
Defines a specific date for which the amount of organic TOP10 keywords will be returned.
country
STRING / countrycode
Defines the country for which the method will be executed. You can find a list of available country codes here. If no Country parameter is provided, the default country associated with the Toolbox account will be used.
mobile
BOOLEAN
Defines whether mobile or desktop data should be returned. By default, this parameter is set to TRUE, meaning mobile data will be returned. If set to FALSE, only desktop data will be returned.
history
BOOLEAN
If set to TRUE, historical weekly TOP10 keyword counts are returned. By default, this parameter is set to FALSE, meaning only current data is provided. If history is set to TRUE and the limit parameter is not used to restrict the number of results, the TOP10 keyword count for the last 100 weeks will be displayed.
limit
INTEGER
Limits the number of keyword counts returned when the history parameter is set to TRUE. By default, this parameter is set to 100 results. It has no effect if the history parameter is not enabled.
format
STRING
Specifies whether the response will be returned in XML or JSON format. By default, the result will be in XML format.
To be able to use the API documentation with real data, you have to create an API key in your account.
EXAMPLE
$baseUrl = "https://api.sistrix.com/domain.kwcount.seo.top10";
$post = [
];
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, $baseUrl);
curl_setopt($curl, CURLOPT_POSTFIELDS, $post);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
$response = curl_exec($curl);
curl_close($curl);
import requests
baseUrl = 'https://api.sistrix.com/domain.kwcount.seo.top10'
post = {
}
response = requests.post(baseUrl, post)
data = response.text
curl https://api.sistrix.com/domain.kwcount.seo.top10 \
let baseUrl = 'https://api.sistrix.com/domain.kwcount.seo.top10';
let form = new FormData();
fetch(baseUrl, {
method: 'POST',
body: form
}).then(function(response){
return response.text();
}).then(function(data){
//data contains the results of the request
})