Skip to main content
GET
Русская версия Sign the request with HMAC v2. Requires the public-api:exchange:routes:read scope.

Authorizations

Authorization
string
header
required

Sanctum token in Authorization: Bearer <token> format.

X-Api-Timestamp
string
header
required

Positive Unix seconds or an absolute ISO 8601 timestamp with seconds and a numeric offset or Z. A fractional second may contain up to six digits.

X-Api-Nonce
string
header
required

Unique nonce per token within the signing window. Use 8 to 128 characters from A–Z, a–z, 0–9, period, underscore, colon and hyphen.

X-Api-Signature
string
header
required

Hex HMAC-SHA256 signature, optionally prefixed with sha256=.

Headers

X-Api-Signature-Version
string
required

Required version of the request signature. Use v2 on the first line of the canonical string. The eighth line is the trimmed Idempotency-Key or an empty line when there is no key. Sign the originally parsed query values.

Allowed value: "v2"

Query Parameters

page
integer
default:1

Page number, starting at 1.

Required range: x >= 1
per_page
integer
default:25

Maximum number of items per page.

Required range: 1 <= x <= 100
pagination
enum<string>
default:page

Use cursor for large datasets. Cursor pagination supports only sort=id or sort=-id; omitted sort defaults to -id. The first page uses pagination=cursor; continuation requests send the returned cursor and may omit both pagination and sort. If sort is repeated, its direction must match the cursor.

Available options:
page,
cursor
cursor
string | null

Opaque cursor returned in meta.pagination.next_cursor. Do not modify or combine it with the opposite id sort direction.

sort
string

Comma-separated sort fields. Prefix a field with - to sort descending.

Example:

"sorting,id"

filter[id]
integer

Filter by the resource record ID.

filter[from_currency_id]
integer

Filter by the send currency ID.

filter[to_currency_id]
integer

Filter by the receive currency ID.

filter[from]
string

Identifier of the send currency.

Example:

"USDT"

filter[to]
string

Identifier of the receive currency.

Example:

"USD"

Response

Active exchange routes.

state
enum<integer>
required
Available options:
0
message
string
required
result
object[]
required
meta
object
required