Aller au contenu
GET /v1/meta

Service metadata

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/gmx-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/gmx-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gmx-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gmx-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/gmx-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": {
        "source": "GMX oracle API (arbitrum-api.gmxinfra.io / avalanche-api.gmxinfra.io, live)",
        "service": "gmx-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/price": "One token's oracle price by symbol (token=BTC, chain=arbitrum).",
            "GET /v1/prices": "Every token's min/max/mid oracle price and execution spread (chain=arbitrum|avalanche).",
            "GET /v1/spread": "Tokens ranked by GMX oracle execution spread, widest first (chain=arbitrum, limit=50).",
            "GET /v1/tokens": "Supported-token registry — address, decimals, synthetic flag (chain=arbitrum)."
        },
        "description": "Live oracle prices from GMX, the leading decentralised perpetual-swap exchange on Arbitrum and Avalanche. Unlike order-book DEXs, GMX executes trades against its GLP/GM liquidity pools at prices from a keeper-signed oracle that quotes a MIN and MAX price per token (the execution band). The prices endpoint returns every token's min/max/mid oracle price and execution spread; the price endpoint returns one token by symbol; the tokens endpoint returns the supported-token registry (address, decimals, synthetic flag); the spread endpoint ranks tokens by oracle execution spread. All accept a chain parameter (arbitrum default, or avalanche). Live, no key, nothing stored. Distinct from centralised tickers, aggregate price feeds and order-book DEX feeds (dYdX, Hyperliquid) — this is GMX's own pool-DEX oracle min/max-price and execution-spread layer.",
        "upstream_status": "ok",
        "arbitrum_token_count": 125
    },
    "meta": {
        "timestamp": "2026-06-10T22:57:55.752Z",
        "request_id": "77809a48-9b93-4efa-a181-ac6599ee2b8a"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}