FENNEC

Fennec API

Add 24/7 stocks, indices and commodities to your app. Fennec prices every order across all Hyperliquid markets listing the same instrument and returns the cheapest, ready to sign.

Markets

Every instrument Fennec routes, with each venue's price, fee, funding and asset id.

GET /api/v1/markets

Quote

Prices an order on every venue using live order books, fees included, and returns the best one plus an unsigned Hyperliquid order action.

GET /api/v1/quote?symbol=NVDA&side=buy&usd=1000&leverage=2

{
  "symbol": "NVDA",
  "venue": { "id": "xyz:NVDA", "assetId": 110002, "avgPrice": 150.02, ... },
  "savingsUsdVsBusiestVenue": 0.84,
  "leverage": { "asset": 110002, "isCross": true, "leverage": 2 },
  "action": {
    "type": "order",
    "orders": [{ "a": 110002, "b": true, "p": "153.02", "s": "13.33", "r": false,
                 "t": { "limit": { "tif": "FrontendMarket" } } }],
    "grouping": "na",
    "builder": { "b": "0xa923…22cb", "f": 50 }
  }
}

Placing the order

  1. Your user approves Fennec's builder fee once (approveBuilderFee, max 0.1%), signed by their main wallet.
  2. Optionally send updateLeverage with the leverage object.
  3. Sign action with the user's wallet or agent key and POST it to https://api.hyperliquid.xyz/exchange. Any Hyperliquid SDK can do this.

Partners

Partner revenue share and API keys are coming. The endpoints are open while in beta and may be rate limited.