Lighter - Convenience

Get Lighter price history

Get mark/oracle price history. Lightweight projection of open interest data returning only price fields.

get/v1/lighter/prices/{symbol}

Request

  • Base URL: https://api.0xarchive.io
  • URL: https://api.0xarchive.io/v1/lighter/prices/{symbol}
  • Auth: API key in header X-API-Key

Path parameters

symbolstring required
Example:BTC

Coin symbol (e.g., BTC, ETH)

Query parameters

startinteger

Start timestamp in milliseconds

endinteger

End timestamp in milliseconds

interval'1m' | '5m' | '15m' | '30m' | '1h' | '4h' | '1d'

Aggregation interval

limitinteger

Maximum number of results (default: 100, max: 1000)

cursorstring

Cursor for pagination

Response

Price history data

successboolean

Example response

{
  "success": true,
  "data": [
    {
      "timestamp": "2026-02-23T12:00:00.000Z",
      "mark_price": "95000.50",
      "oracle_price": "94998.25",
      "mid_price": "95000.00"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.