InvaraINVARA CoreDOCS
Developers

API reference

Public JSON endpoints that power the INVARA app.

Endpoints#

EndpointReturns
GET /api/marketTracked assets: price, borrow fee, volume, gap, Pyth status; chain telemetry; vault totals
GET /api/screenerBorrow screener rows and totals. Query: q, min, pyth=1, sort=fee|avail
GET /api/oraclePyth contract info and per-feed status on Robinhood Chain
GET /api/liquidationsAll vault positions with ratio, liquidation price and status
GET /api/logo/:symbolCompany logo PNG (transparent), 404 if none
GET /api/pyth-update?id=Signed Pyth update data (requires server PYTH_API_KEY)

Examples#

bash
curl "https://<your-host>/api/screener?min=50&pyth=1"
typescript
const res = await fetch('/api/market');
const { assets, chain } = await res.json();
console.log(chain.blockNumber, assets.map((a) => [a.symbol, a.borrowFee]));