Docs / REST API
GET /v1/history/{cite}
Amendment history of an article (when and by which law it changed)
Endpoint
GET https://api.lexatlas.creatora.app/v1/history/{cite}
Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
| cite | path | yes | string | Normalized citation id: jur:code:article_no[:lang], e.g. ru:gk_rf_1:196 or kz:gk_kz_1:178. One scheme across all jurisdictions. |
| lang | query | no | string | ru|en |
Example
curl -H "X-API-Key: lxa_YOUR_KEY" \
"https://api.lexatlas.creatora.app/v1/history/ru:gk_rf_1:196"
Responses and error codes
| Status | Meaning | Schema |
|---|---|---|
| 200 | list of amendments with dates, acts and reconstruction status | object |
| 400 | bad request — see error_code (missing_parameter, invalid_parameter, invalid_body, invalid_cursor, empty_batch, batch_too_large, unsupported) | Error |
| 401 | missing/invalid API key (when auth is enabled) — error_code=unauthorized | Error |
| 413 | body too large — error_code=payload_too_large | Error |
| 429 | rate limit exceeded (per-key, per-minute window) — error_code=rate_limited | Error |
Errors use one envelope everywhere: error, error_code, hint, http_status. The full list of codes is served by GET /v1/errors.