Aller au contenu
GET /v1/chains

List supported chains

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/blockchair-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/blockchair-api/v1/chains" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/blockchair-api/v1/chains", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/blockchair-api/v1/chains");
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/blockchair-api/v1/chains",
    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": 10,
        "chains": [
            {
                "name": "Bitcoin",
                "chain": "bitcoin"
            },
            {
                "name": "Bitcoin Cash",
                "chain": "bitcoin-cash"
            },
            {
                "name": "Litecoin",
                "chain": "litecoin"
            },
            {
                "name": "Dogecoin",
                "chain": "dogecoin"
            },
            {
                "name": "Dash",
                "chain": "dash"
            },
            {
                "name": "Zcash",
                "chain": "zcash"
            },
            {
                "name": "Bitcoin SV",
                "chain": "bitcoin-sv"
            },
            {
                "name": "eCash",
                "chain": "ecash"
            },
            {
                "name": "Groestlcoin",
                "chain": "groestlcoin"
            },
            {
                "name": "Ethereum",
                "chain": "ethereum"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-15T11:15:27.313Z",
        "request_id": "a44ff4e9-34ff-4c39-b616-fc1eba84938c"
    },
    "status": "ok",
    "message": "Chains retrieved successfully",
    "success": true
}