perpilot:~/docs/api

API

Read everything, sign in to talk to your agent.

JSON over HTTPS, under /api. USD amounts are numbers with 2 decimals, prices are numbers, times are unix seconds.

RouteWhat it returns
GET /api/configchain, contract addresses, markets and their settings, fees
GET /api/pricesoracle price of each market, whether it is fresh, 24 h change and Hyperliquid funding
GET /api/pool?lp=0x…pool value, cash, open size, traders' result, open size by market, your share
GET /api/vault/:addresscash, positions (entry, result, liquidation price), rules, trades, box, result
GET /api/runs?vault=&limit=&before=trades, newest first
GET /api/rules/openevery active rule of every vault (for keepers)
GET /api/playbooks, /api/listingsthe marketplace
GET /api/statsvaults, trades, volume, liquidations, fees
GET /api/auth/challenge · POST /api/auth/verifysign in with your wallet (a free signature)
/api/agent/:vault…read, start, message, pause your agent (owner only)