Base URLs
| Environment | Base URL |
|---|---|
| Sandbox | https://api.sandbox.ratiofx.com/v1 |
| Production | https://api.ratiofx.com/v1 |
Authentication
Every request requires the following headers:| Header | Value |
|---|---|
Authorization | Bearer {api_key} |
X-Partner-ID | {partner_id} |
Content-Type | application/json |
Endpoint index
Quotes and execution
| Method | Endpoint | Description | Reference |
|---|---|---|---|
GET | /v1/quote | Indicative quote — no inventory reservation | Quotes API |
POST | /v1/firm-quote | Firm executable quote with inventory reservation | Quotes API |
POST | /v1/execute | Execute a firm quote for on-chain settlement | Swaps API |
System
| Method | Endpoint | Description | Reference |
|---|---|---|---|
GET | /v1/system/state | Current system state per corridor | Swaps API |