keyword.seo.competition

Credits: 1/entry returned
Displays the competition for the given keywords. 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) and the competition associated with it (competition).

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.competition";
$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.competition'
post = {

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