Getting Started
The Wiki EU API provides programmatic access to articles, categories, and synchronization tasks. All responses are JSON-encoded.
Base URL for all requests:
https://api.wiki-eu.ru/api/v2
Every request must include an Authorization header with a Bearer token:
curl -H "Authorization: Bearer <your_token>" \ https://api.wiki-eu.ru/api/v2/health
Authentication
Wiki EU API uses Bearer token authentication. Include your token in the HTTP header on every request:
Authorization: Bearer weu_live_xxxxxxxxxxxxxxxxxxxx
Tokens are scoped per project. Generate tokens in your Account Settings.
Rate Limits
| Plan | Requests / min | Burst |
|---|---|---|
| Free | 20 | 5 |
| Pro | 100 | 30 |
| Enterprise | 1 000 | 200 |
Rate limit status is returned in every response header:
X-RateLimit-Limit: 100 X-RateLimit-Remaining: 87 X-RateLimit-Reset: 1744315260
Pagination
List endpoints use cursor-based pagination. Pass page and per_page query parameters (max per_page=100).
# Example — page 2, 50 items per page
GET /api/v2/articles?page=2&per_page=50
Response always includes total, page, per_page fields.
Articles new
Example response
{
"data": [
{
"id": "art_01hvz3k8p",
"title": "Getting Started with Wiki EU",
"slug": "getting-started",
"status": "published",
"created_at": "2026-01-14T09:23:41Z"
}
],
"total": 142,
"page": 1,
"per_page": 20
}
Sync
The Sync API lets you push and pull incremental data changes between client applications and the Wiki EU backend.
"action": "connect".Request body (POST)
{
"session_id": "550e8400-e29b-41d4-a716-446655440000",
"action": "data",
"payload": "<base64-encoded delta>",
"timestamp": 1744315200
}
Health Check
{
"status": "ok",
"version": "2.4.1",
"region": "eu-west"
}
Error Codes
| HTTP | Code | Meaning |
|---|---|---|
| 400 | invalid_request | Malformed JSON or missing required field |
| 401 | unauthorized | Missing or invalid Bearer token |
| 403 | forbidden | Token lacks required scope |
| 404 | not_found | Resource does not exist |
| 410 | gone | Session expired |
| 429 | rate_limited | Too many requests — back off and retry |
| 502 | upstream_error | Upstream service temporarily unavailable |
| 500 | internal_error | Unexpected server error |
Changelog
v2.4.1 — March 2026
Improved long-poll timeout handling; fixed edge case in /sync session cleanup.
v2.4.0 — January 2026
Added multiMode support for high-throughput sync sessions. New region field in health endpoint.
v2.3.0 — October 2025
Introduced cursor-based pagination for /articles. Deprecated offset pagination (removal in v3.0).
v2.2.0 — July 2025
Rate limit headers added to all responses. Token scopes introduced.