Chux's public read API: addresses, search parameters, the response envelope and the error codes.
The read half of the API is public and needs no key. Responses are JSON under a data envelope; errors carry a code, a message and a request id worth quoting to support.
GET https://api.chux.cz/api/v1/search?locale=en&q=bike&limit=24
{
"data": [ { "id": "…", "title": "…", "priceAmount": 4500 } ],
"meta": { "count": 24 }
}| Prefix in the URL | locale in the API |
|---|---|
| /cz | cs-CZ |
| /sk | sk-SK |
| /ua | uk-UA |
| /ru | ru-RU |
| /en | en |
Everything the public API declares, generated from the OpenAPI document this page loads. Every endpoint carries its parameters, its response shape and a request builder you can fire without leaving the page.
Writes need the session cookies and an X-CSRF-Token header carrying the same value as the chux_csrf cookie. Sign-in, registration and media uploads have their own request budgets; over them you get a 429, which means wait rather than retry.
| Code | When |
|---|---|
| 400 invalid_body | The body is not valid JSON, or a field is missing |
| 401 auth_required | No session, or it expired |
| 403 csrf_required | The token header or cookie is missing |
| 404 not_found | No such record, or it is not public |
| 429 | Over the request budget |