MAC Address
GET/v0/net/mac
Validates a MAC address (Media Access Control) in both EUI-48 (6 octets) and EUI-64 (8 octets) formats. Accepts colon-separated (AA:BB:CC:DD:EE:FF), hyphen-separated (AA-BB-CC-DD-EE-FF), dot-grouped (AABB.CCDD.EEFF), and bare (AABBCCDDEEFF) notations. Returns a normalized colon-separated form, the format (EUI-48/EUI-64), and address classification flags.
Try it
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| value | string | Yes | The MAC address to validate. |
Example Request
curl -H "Authorization: Bearer YOUR_API_KEY" \ "https://api.isvalid.dev/v0/net/mac?value=00:1A:2B:3C:4D:5E"
Response Fields
| Field | Type | Description |
|---|---|---|
| valid | boolean | Whether the MAC address is valid. |
| normalized | string | Uppercase colon-separated form, e.g. 00:1A:2B:3C:4D:5E. |
| format | string | EUI-48 (6 octets) or EUI-64 (8 octets). |
| type | string | Address type: unicast, multicast, or broadcast. |
| isMulticast | boolean | True if the multicast bit (LSB of first octet) is set. |
| isLocal | boolean | True if the locally-administered bit is set (LAA). |
| isBroadcast | boolean | True if the address is the broadcast address (FF:FF:FF:FF:FF:FF). |
Example Response — valid
{
"valid": true,
"normalized": "00:1A:2B:3C:4D:5E",
"format": "EUI-48",
"type": "unicast",
"isMulticast": false,
"isLocal": false,
"isBroadcast": false
}Example Response — invalid
{
"valid": false
}