Vai al contenuto
GET /v1/meta

DEX metadata & endpoint guide

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/maya-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/maya-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/maya-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/maya-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/maya-api/v1/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "dex": "Maya Protocol (cross-chain, THORChain-derived)",
        "token": "CACAO",
        "source": "Maya public Midgard API, keyless",
        "network": "MAYAChain",
        "examples": {
            "pool": "/v1/pool?asset=BTC.BTC",
            "pools": "/v1/pools?status=available",
            "actions": "/v1/actions?type=swap&limit=20"
        },
        "endpoints": {
            "/v1/pool": "full detail for one pool (asset=BTC.BTC)",
            "/v1/pools": "all liquidity pools (asset, USD price, depths, 24h volume, APY; status filter)",
            "/v1/stats": "global DEX stats (CACAO price, swap count/volume, active users)",
            "/v1/actions": "recent on-chain actions — swaps/adds/withdraws (type, limit)",
            "/v1/network": "network & node stats (active nodes, bonding/liquidity APY, reserve)"
        },
        "cache_ttl_ms": 30000
    },
    "meta": {
        "timestamp": "2026-06-15T02:10:04.377Z",
        "request_id": "b3ee351c-22fc-4b3e-9078-03c4eff9eda3"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}