/v1/search
Universal on-chain search
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/ancient8-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ancient8-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ancient8-api/v1/search");
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/ancient8-api/v1/search",
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": {
"count": 6,
"query": "USD",
"results": [
{
"name": "USD Coin",
"type": "token",
"symbol": "USDC",
"address": "0x97423A68BAe94b5De52d767a17aBCc54c157c0E5"
},
{
"name": "USD Coin",
"type": "token",
"symbol": "USDC",
"address": "0xB3fCcD379ad66CED0c91028520C64226611A48c9"
},
{
"name": "USD Coin",
"type": "token",
"symbol": "USDC",
"address": "0x2914926cbeB15ab4f97e99576B102123cb99e1dF"
},
{
"name": "USD Coin",
"type": "token",
"symbol": "USDC",
"address": "0xd8016e376e15b20Fc321a37fD69DC42cfDf951Bb"
},
{
"name": "USD Coin",
"type": "token",
"symbol": "USDC",
"address": "0xA73776c0aAE79382d8003B1fC7648B5ab32889D0"
},
{
"name": "USD Coin",
"type": "token",
"symbol": "USDC",
"address": "0x9fA986ACB22953c504Fcf5985DFA476d481C3b1B"
}
]
},
"meta": {
"timestamp": "2026-06-08T09:51:16.805Z",
"request_id": "da14db5c-5cce-4a17-8868-39745e62112c"
},
"status": "ok",
"message": "Search results retrieved successfully",
"success": true
}