Zum Inhalt springen
GET /v1/chains

Chains Morpho runs on

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/morpho-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "count": 7,
        "chains": [
            {
                "name": "Ethereum",
                "chain_id": 1
            },
            {
                "name": "Optimism",
                "chain_id": 10
            },
            {
                "name": "Unichain",
                "chain_id": 130
            },
            {
                "name": "Polygon",
                "chain_id": 137
            },
            {
                "name": "Base",
                "chain_id": 8453
            },
            {
                "name": "Arbitrum",
                "chain_id": 42161
            },
            {
                "name": "Katana",
                "chain_id": 747474
            }
        ],
        "source": "Morpho"
    },
    "meta": {
        "timestamp": "2026-06-10T22:58:08.265Z",
        "request_id": "915e4f65-624b-485e-9ec4-94917f978c49"
    },
    "status": "ok",
    "message": "Chains retrieved successfully",
    "success": true
}