keyword.seo.metrics

Credits: 5/entry returned
Displays the most important data points for the given keywords, such as competition, CPC (cost per click), traffic, clicks, and device distribution. The country can be changed using the country parameter.

Result

The result contains a list of keywords, with each keyword including the keyword itself (kw), the competition associated with it (competition), the CPC of the keyword (cpc), the traffic (traffic), clicks (clicks), and the device share split into mobile (mobile_distribution) and desktop (desktop_distribution).

GET-Parameters

Parameters (Mandatory)

api_key
STRING
Your personal API key. This key is used to authenticate your requests. You can obtain it here.
kw
STRING
Defines the keyword or keywords to which the method is applied. For bulk requests, simply place the keywords in an array like this: ["kw1", "kw2"].

Parameters (Optional)

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.
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/keyword.seo.metrics";
$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/keyword.seo.metrics'
post = {

}
response = requests.post(baseUrl, post)
data = response.text
curl https://api.sistrix.com/keyword.seo.metrics \
let baseUrl = 'https://api.sistrix.com/keyword.seo.metrics';
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
})