P2P trading and all other Bitania services are temporarily disabled until further notice. Only swaps are available for now.
REST API · Section

Swap

Instant swap API for exchanging cryptocurrencies without an account. Swaps are priced from live market prices and paid out from Bitania's own liquidity; there is no order book and no account to fund. All endpoints are JSON POST requests under /v1/swap/ and require HMAC-signed (v2) requests with X-API-KEY, X-API-SIGN, X-API-TIMESTAMP and X-API-NONCE headers — the signature is HMAC-SHA256 over the canonical string {timestamp}\n{METHOD}\n{path}\n{sha256_hex(body)}. See the Swap Aggregator Guide for the full signing scheme and code samples.

Response format

Every response is {"code": 0, "msg": "", "data": ...} on success and {"code": 1, "msg": "reason", "data": null} on error, with a matching HTTP status (400 validation or business rule, 401 authentication, 404 unknown swap, 429 rate limit). Every response also carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.