Naar de inhoud
GET /v1/meta

Spec

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/tokenprice-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "source": "DefiLlama coins API (live)",
        "service": "tokenprice-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/chart": "A token's price series (token=, period=1d, span=30).",
            "GET /v1/price": "Current price(s) for one or many tokens (token=ethereum:0x…,coingecko:bitcoin — up to 12).",
            "GET /v1/historical": "A token's price at a past Unix timestamp (token=, timestamp=1700000000)."
        },
        "description": "Live crypto token prices by contract address from DefiLlama: the current USD price, symbol, decimals, confidence and timestamp for one or many tokens addressed as chain:address (ethereum:0x…, a Solana mint) or coingecko:slug; a token's historical price at any Unix timestamp; and a price chart over a span and period. Across every chain DefiLlama indexes. Live, no key, nothing stored. Distinct from coin-slug price and market-cap APIs — this prices tokens by contract address, including long-tail tokens, across chains.",
        "token_formats": [
            "ethereum:0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
            "solana:<mint>",
            "coingecko:bitcoin",
            "0x… (defaults to ethereum)"
        ],
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-09T11:39:46.295Z",
        "request_id": "78216de9-c225-43e3-ae3b-f4a44da8b757"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}