Sign In Request Access

API Reference

Base URL: https://aarkdigital.org/api/v1/

All requests require Authorization: Bearer ark_live_YOUR_KEY.

GET /funding-rates

Returns the current (and optionally historical) funding rate for a given perpetual pair.

Parameters

ParameterTypeRequiredDescription
pairstringYesPerpetual pair. Example: BTC-PERP, ETH-PERP
windowstringNoTime window for rate. Default: 8h. Options: 1h, 8h, 24h
historyintegerNoNumber of historical intervals to return. Max 90 (Trader plan). Explorer: max 7.

Response

{
  "pair": "BTC-PERP",
  "funding_rate": 0.000142,
  "interval": "8h",
  "annualized": 0.0619,
  "signal": "LONG_BIAS",
  "oracle_lag_ms": 118,
  "timestamp": "2026-05-29T14:32:01Z",
  "next_settlement": "2026-05-29T16:00:00Z"
}

GET /liquidation-map

Returns open interest density by price level for a given pair. Used to visualize liquidation cascade risk zones.

Parameters

ParameterTypeRequiredDescription
pairstringYesPerpetual pair
resolutionintegerNoNumber of price buckets. Default: 20. Max: 100.
range_pctfloatNoPrice range as % from mark price. Default: 5.0 (±5%). Min 1.0, max 20.0.

Response

{
  "pair": "BTC-PERP",
  "mark_price": 67842.00,
  "timestamp": "2026-05-29T14:32:01Z",
  "buckets": [
    {
      "price_low": 64449.90,
      "price_high": 65128.00,
      "oi_long_usd": 284000000,
      "oi_short_usd": 12000000,
      "cascade_risk": "HIGH"
    }
  ]
}

GET /mark-price

Returns the current mark price for a pair, including oracle source quality metrics and latency.

Parameters

ParameterTypeRequiredDescription
pairstringYesPerpetual pair

Response

{
  "pair": "BTC-PERP",
  "mark_price": 67842.00,
  "index_price": 67865.20,
  "deviation_pct": -0.034,
  "oracle_count": 4,
  "oracle_lag_ms": 118,
  "oracle_anomaly": false,
  "timestamp": "2026-05-29T14:32:01Z"
}

Error Codes

CodeMeaning
401Invalid or missing API key
429Rate limit exceeded
400Invalid parameter value
404Pair not found or not covered on your plan
503Data feed temporarily unavailable