OTC API
New here? Set up authentication first.
Most OTC endpoints require Trading or Read permission. Read the Authentication Guide before making your first call.
Environmentβ
| Product | Production | Testnet |
|---|---|---|
| Otc REST | https://api.btse.com/public-api/otc/v1 | https://testapi.btse.io/public-api/otc/v1 |
| Otc WebSocket | wss://ws.btse.com/ws/otc | wss://testws.btse.io/ws/otc |
Rate Limitsβ
| Category | Per API | Per User |
|---|---|---|
| Query | 15 req/s | 30 req/s |
OTC Workflowβ
The typical OTC transaction flow:
- Call Request Quote to get a price quote.
- οΌ΄hen exchange responds with a quote.
- Accept: Send the quote ID to Accept Quote. Exchange executes the trade.
- Query status: Use Query Quote to check the state of any quote.
- If Exchange rejects the quote (e.g. price moved), a new quote is returned with the rejection reason.
OTC Status Codesβ
| Code | Description |
|---|---|
| 30000 | OTC_ORDER_QUERY |
| 30001 | OTC_ORDER_QUOTE |
| 30007 | OTC_ORDER_COMPLETE_SUCCESS |
| 30008 | OTC_ORDER_REQUOTE |
| 8 | Insufficient balance |
| 40001 | Service unavailable |
| 40003 | Rejected |