Base URLs
| Environment | Base URL |
|---|---|
| Production | https://crypto-api.yativo.com/api/ |
| Sandbox | https://crypto-sandbox.yativo.com/api/ |
Authentication
Yativo Crypto supports two authentication methods depending on the context.Bearer Token (Session Auth)
Obtained by calling the Login or Register endpoints. Include it in every request:API Key Auth
For server-to-server integrations, create an API key via the Create API Key endpoint. Pass the key in the header:Common Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes (session auth) | Bearer YOUR_ACCESS_TOKEN |
X-API-Key | Yes (API key auth) | Your API key |
Content-Type | Yes (POST/PUT) | application/json |
X-2FA-Token | Conditional | Required for API key management |
Idempotency-Key | Optional | Prevent duplicate transactions |
Content Type
All request bodies must be sent as JSON with theContent-Type: application/json header.
Response Format
Every response follows this structure:"status": "error" and relevant HTTP status codes (400, 401, 403, 404, 422, 429, 500).

