Endpoint
| Field | Value |
|---|---|
| Method | GET |
| Path | /api/v1/pair-config |
| Base URL | https://swap.xoxno.com |
| Auth | None |
| Availability | Public |
| Rate limit | 100 requests per second per IP |
Required Params
| Param | Type | Description |
|---|---|---|
from | string | Input token identifier, for example WEGLD-bd4d79. |
to | string | Output token identifier, for example USDC-c76f1f. |
Request
- cURL
- TypeScript
- Python
- Rust
Success Response
Unsupported Response
Fields
| Field | Type | Description |
|---|---|---|
from | string | Input token identifier. |
to | string | Output token identifier. |
supported | boolean | Whether the service can quote the pair. |
decimalsIn | number | Input token decimals. Present when supported=true. |
decimalsOut | number | Output token decimals. Present when supported=true. |
minAmountIn | string | Minimum input amount in smallest units. Present when supported=true. |
minAmountInShort | number | Human-readable minimum input. Present when supported=true. |
error | string | Unsupported reason. Present when supported=false. |
Errors
| Status | Cause | Fix |
|---|---|---|
400 | Missing or invalid token parameter. | Send both from and to. |
429 | Per-IP rate limit exceeded. | Back off and queue requests client-side. |
503 | Service is warming up or pool snapshot is unavailable. | Retry with backoff. |
Verify
Before calling/api/v1/quote:
supportedistrue.- User input is greater than or equal to
minAmountIn. - Amount conversion used
decimalsIn. - Display conversion for the expected output uses
decimalsOut.

