MAC Address

GET/v0/net/mac

Validates a MAC address (Media Access Control). 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) formats. Returns a normalized colon-separated form along with address classification flags.

Try it

Query Parameters

ParameterTypeRequiredDescription
valuestringYesThe 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

FieldTypeDescription
validbooleanWhether the MAC address is valid.
normalizedstringUppercase colon-separated form, e.g. 00:1A:2B:3C:4D:5E.
typestringAddress type: unicast, multicast, or broadcast.
isLocalbooleanTrue if the locally-administered bit is set (LAA).
isBroadcastbooleanTrue 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",
  "type": "unicast",
  "isLocal": false,
  "isBroadcast": false
}

Example Response — invalid

{
  "valid": false
}