project.onpage.cookies

Provides the most important informations on the cookies used within the crawled project. The SISTRIX Onpage Crawler captures all cookies that the web server intends to set, but does not actually use them. You can use the LIMIT parameter to restrict the number of cookies returned and the PAGE parameter to specify which page of results to retrieve.

Result

The results contain basic information about the crawled project, including the project hash (hash), the project name (name), and the total number of found cookies (count). Additionally, it provides a list of these cookies, with each entry including details such as the cookie name (cookie_name), value (cookie_value), expiration date (expires), path (path), and the HTTP-only tag (http_only). Furthermore, it includes information about the number of URLs using this cookie (amount), whether the cookie is secure (secure, with 1 for true and 0 for false), and details about same-site attributes (same_side).

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 reults for each page. Adjust this value to control the number of results returned on each page. By default, this parameter is set to 100.
page
INTEGER
Specifies which set of recources 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.onpage.cookies";
$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.onpage.cookies'
post = {

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