MetaRates API reference
REST API with live and historical P2P USDT rates, order books and arbitrage across Binance, Bybit, OKX, HTX, KuCoin, Bitget and MEXC in 89 fiat currencies. Authenticate with your key in the X-API-Key header. Base URL: https://metarates.online. Get a free key at metarates.online/developers.
/api/v1/markets: List markets. Supported exchanges, fiat currencies and the capabilities of the plan attached to your key./api/v1/rates: Best P2P rates. Best reliable buy and sell price per exchange and overall, plus the cross-exchange spread. Reliable means an ad from a seller with at least 50 completed trades and a 92%+ completion rate./api/v1/orderbook: Live P2P order book. Live P2P ads of one exchange in a unified format. side=BUY returns sellers' prices, side=SELL returns buyers' prices. Use payment_method to filter by a substring of the payment method name./api/v1/stats: Price context. Price context for a market: 24h and 7d averages, 24h minimum, a verdict (good / normal / high) and the cheapest hours of the day in Kyiv time. Starter plan and above./api/v1/history: Price history. History of the best reliable price in ~5 minute steps. exchange=best returns the best price across all exchanges. Pro plan and above./api/v1/arbitrage: Arbitrage routes. Buy-on-A, sell-on-B routes with net profit for a given amount after the transfer fee, limited to ads whose limits fit the amount. Pro plan and above./api/v1/me: Key info. Plan, monthly quota and usage of the current API key./api/v1/stream: Real-time stream (SSE). Server-Sent Events stream: a `rates` event immediately and again whenever fresh data is collected (about every 5 minutes), same payload as /rates. One request counts against your quota when you connect. Pro plan and above./api/v1/webhooks: Webhooks. Create (POST) or list (GET) signed HTTPS webhooks fired when the best route's net profit or the best price crosses a threshold. Pro plan and above./api/v1/webhooks/{webhook_id}: Delete webhook. Delete one of your webhooks./api/v1/webhooks/{webhook_id}/test: Send test event. Send a signed test event to the webhook URL and report whether it was delivered.
The interactive reference is loading. The raw schema is available as OpenAPI JSON.