curl --request GET \
--url "https://your-exchange/api/v3/public/contracts" \
--header 'Accept: application/json'
{
"state": 0,
"message": "OK",
"result": {
"contracts": [
{
"key": "route-api",
"version": "v3",
"title": "Route API",
"status": "current",
"stability": "stable",
"description": "Версия набора HTTP-маршрутов публичного API.",
"headers": [
"X-Api-Version"
],
"schemas": []
},
{
"key": "success-envelope",
"version": "api-envelope-v1",
"title": "Success envelope",
"status": "current",
"stability": "stable",
"description": "Единый JSON-формат успешного ответа: state, message, result, meta.",
"headers": [
"X-Api-Envelope-Version"
],
"schemas": [
"success-envelope.v1"
]
},
{
"key": "error-envelope",
"version": "api-error-v1",
"title": "Error envelope",
"status": "current",
"stability": "stable",
"description": "Единый JSON-формат ошибок с HTTP code и стабильным error.code.",
"headers": [
"X-Api-Error-Version"
],
"schemas": [
"error-envelope.v1"
]
},
{
"key": "operation-contract",
"version": "operation-contract-v1",
"title": "Operation contract",
"status": "current",
"stability": "stable",
"description": "Контракт направления обмена, построенный поверх Angular operation detail.",
"headers": [
"X-Api-Operation-Contract-Version"
],
"schemas": [
"operation-contract.v1"
]
},
{
"key": "route-snapshot",
"version": "route-snapshot-v1",
"title": "Route snapshot",
"status": "current",
"stability": "stable",
"description": "Версионированный слепок условий направления перед preflight/order.",
"headers": [],
"schemas": [
"route-snapshot.v1"
]
},
{
"key": "route-capabilities",
"version": "route-capabilities-v1",
"title": "Route capability matrix",
"status": "current",
"stability": "stable",
"description": "Карта возможностей направления: поля, действия, rate modes, проверки и endpoint-ы.",
"headers": [],
"schemas": [
"route-capabilities.v1"
]
},
{
"key": "webhook-payload",
"version": "webhook-payload-v2",
"title": "Webhook payload",
"status": "current",
"stability": "stable",
"description": "Компактное исходящее уведомление и записи центра доставки v2.",
"headers": [
"X-Api-Webhook-Payload-Version"
],
"schemas": [
"webhook-notification.v2",
"webhook-event.v2",
"webhook-delivery.v2"
]
},
{
"key": "webhook-signature",
"version": "hmac-sha256-v2",
"title": "Webhook signature",
"status": "current",
"stability": "stable",
"description": "Подпись вебхука связывает исходные байты JSON, идентификатор и тип события, время и номер попытки.",
"headers": [
"X-Webhook-Signature-Version",
"X-Webhook-Event-Id",
"X-Webhook-Event-Type",
"X-Webhook-Timestamp",
"X-Webhook-Attempt",
"X-Webhook-Nonce",
"X-Webhook-Signature"
],
"schemas": []
},
{
"key": "request-signature",
"version": "hmac-sha256-v2",
"title": "Request signature v2",
"status": "current",
"stability": "stable",
"description": "Обязательная подпись приватного запроса с явной версией v2. Связывает запрос с ключом идемпотентности.",
"headers": [
"X-Api-Signature-Version",
"X-Api-Signature",
"X-Api-Timestamp",
"X-Api-Nonce"
],
"schemas": []
},
{
"key": "idempotency",
"version": "idempotency-key-v1",
"title": "Idempotency",
"status": "current",
"stability": "stable",
"description": "Повторяемые unsafe-запросы через Idempotency-Key.",
"headers": [
"Idempotency-Key"
],
"schemas": []
},
{
"key": "cursor-pagination",
"version": "cursor-v1",
"title": "Cursor pagination",
"status": "current",
"stability": "stable",
"description": "Страница без COUNT-запроса через cursor и стабильную сортировку id/-id.",
"headers": [],
"schemas": []
},
{
"key": "schema-registry",
"version": "schema-registry-v1",
"title": "Schema registry",
"status": "current",
"stability": "stable",
"description": "Каталог JSON Schema для SDK, contract tests и клиентской генерации.",
"headers": [],
"schemas": [
"schema-registry.v1"
]
},
{
"key": "client-health",
"version": "client-health-v1",
"title": "Client API health",
"status": "current",
"stability": "stable",
"description": "Диагностика текущего клиента, API-ключа, квот, scopes, IP и webhook-состояния.",
"headers": [],
"schemas": [
"client-health.v1"
]
}
]
},
"meta": {
"request_id": "example-request-1",
"correlation_id": "example-correlation-1",
"timestamp": "2026-11-21T18:40:00.000000Z"
}
}Платформа
Список версий публичных контрактов
Получите список опубликованных контрактов и их версий. Используйте идентификатор контракта, чтобы прочитать его отдельно.
GET
/
public
/
contracts
curl --request GET \
--url "https://your-exchange/api/v3/public/contracts" \
--header 'Accept: application/json'
{
"state": 0,
"message": "OK",
"result": {
"contracts": [
{
"key": "route-api",
"version": "v3",
"title": "Route API",
"status": "current",
"stability": "stable",
"description": "Версия набора HTTP-маршрутов публичного API.",
"headers": [
"X-Api-Version"
],
"schemas": []
},
{
"key": "success-envelope",
"version": "api-envelope-v1",
"title": "Success envelope",
"status": "current",
"stability": "stable",
"description": "Единый JSON-формат успешного ответа: state, message, result, meta.",
"headers": [
"X-Api-Envelope-Version"
],
"schemas": [
"success-envelope.v1"
]
},
{
"key": "error-envelope",
"version": "api-error-v1",
"title": "Error envelope",
"status": "current",
"stability": "stable",
"description": "Единый JSON-формат ошибок с HTTP code и стабильным error.code.",
"headers": [
"X-Api-Error-Version"
],
"schemas": [
"error-envelope.v1"
]
},
{
"key": "operation-contract",
"version": "operation-contract-v1",
"title": "Operation contract",
"status": "current",
"stability": "stable",
"description": "Контракт направления обмена, построенный поверх Angular operation detail.",
"headers": [
"X-Api-Operation-Contract-Version"
],
"schemas": [
"operation-contract.v1"
]
},
{
"key": "route-snapshot",
"version": "route-snapshot-v1",
"title": "Route snapshot",
"status": "current",
"stability": "stable",
"description": "Версионированный слепок условий направления перед preflight/order.",
"headers": [],
"schemas": [
"route-snapshot.v1"
]
},
{
"key": "route-capabilities",
"version": "route-capabilities-v1",
"title": "Route capability matrix",
"status": "current",
"stability": "stable",
"description": "Карта возможностей направления: поля, действия, rate modes, проверки и endpoint-ы.",
"headers": [],
"schemas": [
"route-capabilities.v1"
]
},
{
"key": "webhook-payload",
"version": "webhook-payload-v2",
"title": "Webhook payload",
"status": "current",
"stability": "stable",
"description": "Компактное исходящее уведомление и записи центра доставки v2.",
"headers": [
"X-Api-Webhook-Payload-Version"
],
"schemas": [
"webhook-notification.v2",
"webhook-event.v2",
"webhook-delivery.v2"
]
},
{
"key": "webhook-signature",
"version": "hmac-sha256-v2",
"title": "Webhook signature",
"status": "current",
"stability": "stable",
"description": "Подпись вебхука связывает исходные байты JSON, идентификатор и тип события, время и номер попытки.",
"headers": [
"X-Webhook-Signature-Version",
"X-Webhook-Event-Id",
"X-Webhook-Event-Type",
"X-Webhook-Timestamp",
"X-Webhook-Attempt",
"X-Webhook-Nonce",
"X-Webhook-Signature"
],
"schemas": []
},
{
"key": "request-signature",
"version": "hmac-sha256-v2",
"title": "Request signature v2",
"status": "current",
"stability": "stable",
"description": "Обязательная подпись приватного запроса с явной версией v2. Связывает запрос с ключом идемпотентности.",
"headers": [
"X-Api-Signature-Version",
"X-Api-Signature",
"X-Api-Timestamp",
"X-Api-Nonce"
],
"schemas": []
},
{
"key": "idempotency",
"version": "idempotency-key-v1",
"title": "Idempotency",
"status": "current",
"stability": "stable",
"description": "Повторяемые unsafe-запросы через Idempotency-Key.",
"headers": [
"Idempotency-Key"
],
"schemas": []
},
{
"key": "cursor-pagination",
"version": "cursor-v1",
"title": "Cursor pagination",
"status": "current",
"stability": "stable",
"description": "Страница без COUNT-запроса через cursor и стабильную сортировку id/-id.",
"headers": [],
"schemas": []
},
{
"key": "schema-registry",
"version": "schema-registry-v1",
"title": "Schema registry",
"status": "current",
"stability": "stable",
"description": "Каталог JSON Schema для SDK, contract tests и клиентской генерации.",
"headers": [],
"schemas": [
"schema-registry.v1"
]
},
{
"key": "client-health",
"version": "client-health-v1",
"title": "Client API health",
"status": "current",
"stability": "stable",
"description": "Диагностика текущего клиента, API-ключа, квот, scopes, IP и webhook-состояния.",
"headers": [],
"schemas": [
"client-health.v1"
]
}
]
},
"meta": {
"request_id": "example-request-1",
"correlation_id": "example-correlation-1",
"timestamp": "2026-11-21T18:40:00.000000Z"
}
}English version
Публичный запрос без токена и подписи.
Связанные методы
curl --request GET \
--url "https://your-exchange/api/v3/public/contracts" \
--header 'Accept: application/json'