Returns a list of competitors for the domain associated with the project, based on the registered keyword set. Each competitor is listed with a domain name, the match and the visibilityindex. You can use the LIMIT parameter to control the number of competitors returned. The PAGE parameter allows you to navigate through multiple pages of results.
Result
The result contains a list of identified competitors. Each competitor entry includes its domain (domain), the visibilityindex for the domain (visindex) and a match value, which indicates how closely the competitor relates to the analyzed domain (match). The domain for which the competitors are being returned is also included in the list with a match value of 100.GET-Parameters
Parameters (Mandatory)
api_key
STRING
Your personal API key. This key is used to authenticate your requests. You can obtain it here.
project
STRING
Specifies the unique hash used to identify a specific project. This hash can be obtained through the project.overview method.
Parameters (Optional)
limit
INTEGER
Specifies the number of results for each page. Adjust this value to control the number of results returned on each page.
page
INTEGER
Specifies which set of competitors to return. This allows you to choose a specific page of results, with the number of results for each page determined by the limit parameter.
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/project.competitors";
$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/project.competitors'
post = {
}
response = requests.post(baseUrl, post)
data = response.text
curl https://api.sistrix.com/project.competitors \
let baseUrl = 'https://api.sistrix.com/project.competitors';
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
})