API Documentation
Usenami provides a powerful REST API for accessing real-time and historical cryptocurrency derivatives data across major CEX and DEX venues. Get funding rates, open interest, trading volume, and arbitrage opportunities programmatically.
Building an autonomous agent? There is also a separate pay-per-call API (x402 protocol, USDC per request, no accounts) — see API for AI agents.
Authentication
The public JSON endpoints below are free and require no API key. The only exception is CSV export, which needs an x-api-key header.
API keys are not self-serve yet — they are issued manually while the API is in beta.
Endpoints
/api/screenerCurrent funding rate snapshot per asset (with price, OI and 24h volume)
Query Parameters
tickerstring • optionalsortstring • optionallimitinteger • optionalResponse Example
/api/oiOpen interest per asset for one exchange source
Query Parameters
source_idinteger • optionallimitinteger • optionalcompareboolean • optionalResponse Example
/api/volume24h trading volume per asset for one exchange source
Query Parameters
source_idinteger • optionallimitinteger • optionalleadersboolean • optionalResponse Example
/api/arbitrageFind funding rate arbitrage opportunities
Query Parameters
min_difffloat • optionalResponse Example
/api/export/fundingDownload funding rate history as CSV file. Requires an API key (x-api-key header). Pro keys can export up to 30 days, free keys up to 7 days.
Query Parameters
tickerstring • optionaldaysinteger • optionalResponse Example
Rate Limits
The public endpoints are free within fair-use limits (enforced per IP). If you need sustained high-frequency access or the CSV export, ask for an API key — keyed access is issued manually while the API is in beta.
Code Examples
Get Current BTC Funding Rate
Find Arbitrage Opportunities
Export Funding Rate History as CSV (API key required)
Python Example
JavaScript / Node.js Example
CSV Export
Download historical funding rate data as a CSV file for offline analysis. Requires an API key (issued manually while the API is in beta). Free key: 7 days max. Pro key: 30 days max.
/api/export/funding?ticker=BTC&days=7Download funding rate history as CSV. Pro plan: 30 days max. Free: 7 days.
Example (curl):
curl -H "x-api-key: YOUR_KEY" "https://usenami.io/api/export/funding?ticker=BTC&days=7" > btc_funding.csv
CSV format:
ticker,source_id,funding_rate,funding_rate_pct,recorded_at BTC,binance,0.0001,0.010000,2026-03-18T12:00:00Z BTC,bybit,0.000125,0.012500,2026-03-18T12:00:00Z
Ready to get started?
The public API is free — no key, no signup required.
See code examples →