Perpetual futures data for AI agents. 275+ markets, real-time prices, orderbooks, candles, funding rates, and account data — all through clean REST endpoints.
All perpetual futures and spot markets. Mid prices, orderbooks (L2), OHLCV candles, funding rates. One endpoint, all data.
Query any wallet: positions, margin, equity, open orders, fill history. Perfect for portfolio monitoring and copy-trading.
JSON in, JSON out. Bearer token auth. Machine discovery via /.well-known/agent.json and /llms.txt.
# Get BTC price curl https://defi-trading.167.148.41.86.nip.io/api/price/BTC # All market prices curl https://defi-trading.167.148.41.86.nip.io/api/prices # ETH 1-hour candles (last 24h) curl https://defi-trading.167.148.41.86.nip.io/api/candles/ETH?interval=1h # BTC orderbook curl https://defi-trading.167.148.41.86.nip.io/api/book/BTC # Check any wallet's positions curl https://defi-trading.167.148.41.86.nip.io/api/account/0x1234... # Python import requests prices = requests.get("https://defi-trading.167.148.41.86.nip.io/api/prices").json() print(f"BTC: ${prices['prices']['BTC']}")