API documentation
A list of all publicly available methods for interacting with the API.
What methods are supported?
90% of the site's functionality is available for the public API; the other part is not available because it may be tied to the frontend or blocked for security reasons.
HTTP Headers
X-CSRF-Token
CSRF token, required only if used as a frontend.
Locale
Answer language, currently supported: en, ru, uk, pl
Authorization
Authorization, the token must be preceded by: API-Token
SP-Referral
Referral code required for discount (if no user has been created).
sp-site
The site from which the token is used (used for internal analytics; you can specify the name of your project).
sp-comefrom
Label where the user came from (eg Google Search)
Respond
1{
2 "data": { // The data returned by the method
3 "user": ....
4 },
5 "good": true, // Request success (sometimes 200 may return false)
6 "timestamp": 1731493828, // Request start time (when the server started processing data)
7 "cause": { // Who executed this method + token signature (you can check the user
8 "type": "api",
9 "user_id": 1,
10 "token_id": 75,
11 "token_sign": "63992323944b77852d3b2b901498fc57"
12 }
13}
14