/v1/meta
Venue metadata & endpoint guide
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/lighter-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lighter-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lighter-api/v1/meta");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/lighter-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "Markets accepted by symbol (BTC, ETH, AAPL) or numeric market_id; perp resolved first on symbol clash. Lighter lists tokenised-equity perps alongside crypto.",
"chain": "zkSync (Ethereum L2)",
"venue": "Lighter",
"source": "Lighter public REST (mainnet.zklighter.elliot.ai/api/v1), keyless",
"examples": {
"stats": "/v1/stats?symbol=BTC",
"trades": "/v1/trades?market=ETH&limit=10",
"markets": "/v1/markets?type=perp",
"orderbook": "/v1/orderbook?market=BTC&limit=10"
},
"endpoints": {
"/v1/stats": "exchange-wide stats: last price, 24h volume, daily change per market (symbol optional)",
"/v1/trades": "recent public trades (market, limit)",
"/v1/markets": "list every market with id, type and fees (filter type=perp|spot)",
"/v1/orderbook": "live order book (market, limit)"
},
"instrument": "order-book perpetuals & spot",
"cache_ttl_ms": 5000
},
"meta": {
"timestamp": "2026-06-15T11:15:57.410Z",
"request_id": "83d44e74-4334-4ef7-9392-06e00a415369"
},
"status": "ok",
"message": "Meta",
"success": true
}