Aller au contenu
GET /v1/parse

Parse & reformat

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/parse" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/macaddress-api/v1/parse", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/macaddress-api/v1/parse");
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/parse",
    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": {
        "nic": "3c:4d:5e",
        "oui": "00:1a:2b",
        "note": "EUI-48 MAC parsed into its standard notations. The OUI is the first 3 bytes (assigned to a vendor); the NIC is the last 3 bytes (device-specific). Vendor name lookup needs the IEEE OUI registry and is not included.",
        "valid": true,
        "inputs": {
            "mac": "00:1A:2B:3C:4D:5E"
        },
        "formats": {
            "dot": "001a.2b3c.4d5e",
            "bare": "001a2b3c4d5e",
            "colon": "00:1a:2b:3c:4d:5e",
            "hyphen": "00-1A-2B-3C-4D-5E",
            "uppercase": "00:1A:2B:3C:4D:5E"
        },
        "integer": 112394521950
    },
    "meta": {
        "timestamp": "2026-06-05T11:30:28.210Z",
        "request_id": "f04470c0-1c20-4f6f-bcf2-7e1d136e5a73"
    },
    "status": "ok",
    "message": "Parse MAC",
    "success": true
}