Aller au contenu
GET /v1/eui64

EUI-64 / IPv6 link-local

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/macaddress-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/macaddress-api/v1/eui64" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/macaddress-api/v1/eui64", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/macaddress-api/v1/eui64");
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/macaddress-api/v1/eui64",
    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": {
        "note": "Modified EUI-64: flip the U/L bit of the first octet and insert FF:FE in the middle. Prepending fe80::/64 gives the IPv6 link-local address used by SLAAC.",
        "eui64": "02:1a:2b:ff:fe:3c:4d:5e",
        "inputs": {
            "mac": "00:1a:2b:3c:4d:5e"
        },
        "ipv6_link_local": "fe80::021a:2bff:fe3c:4d5e",
        "interface_identifier": "021a:2bff:fe3c:4d5e"
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:28.118Z",
        "request_id": "edd59745-2494-468e-9567-7435898ce009"
    },
    "status": "ok",
    "message": "EUI-64 / IPv6",
    "success": true
}