/v1/meta
Spec
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/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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}