Converters and calculators

MAC to IPv6 converter API

Convert a 48-bit MAC address into its modified EUI-64 interface ID, IPv6 link-local (fe80::), SLAAC global address, and solicited-node multicast MAC - or extract the original MAC back from an IPv6 address. Runs 100% in your browser with a step-by-step byte breakdown so you can verify every bit flip.

POSTapi.middle.network/v1/tools/mac-ipv6
1 unit a callLive lookup

Request body

Send JSON: { "input": { … } } with these fields. Fields not listed are ignored.

  • textstringrequired
    A MAC address (to build its IPv6 address) or an IPv6 address (to find its MAC).
    Up to 64 characters
  • prefixstringoptional
    An IPv6 /64 prefix to put in front. Leave out for the link-local fe80::/64.
    Up to 64 characters

Response

The same result shape every tool uses. status is the worst finding, summary and each finding come in plain and tech, and data holds the raw MAC to IPv6 converter detail.

  • 200The test ran. RateLimit headers show what’s left today.
  • 400The input broke the schema, or the target is not valid (with suggestions when it looks like a typo).
  • 401No API key, or the key is not valid or was revoked.
  • 403The tool sends traffic at the target and isn’t open to API keys yet (activeTool), or the target’s owner has asked not to be tested (optedOut).
  • 429Too many checks: per minute, per day, or at the same target.
Request
curl -X POST https://api.middle.network/v1/tools/mac-ipv6 \
  -H "Authorization: Bearer $MN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"text":"00:1a:2b:3c:4d:5e"}}'
const res = await fetch("https://api.middle.network/v1/tools/mac-ipv6", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MN_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"input":{"text":"00:1a:2b:3c:4d:5e"}}),
});
const result = await res.json();
console.log(result.status, result.summary.plain);
import os, requests

res = requests.post("https://api.middle.network/v1/tools/mac-ipv6",
    headers={"Authorization": f"Bearer {os.environ['MN_API_KEY']}"},
    json={"input":{"text":"00:1a:2b:3c:4d:5e"}})
result = res.json()
print(result["status"], result["summary"]["plain"])
200 response
{
  "tool": "mac-ipv6",
  "target": "00:1a:2b:3c:4d:5e",
  "status": "pass",
  "summary": {
    "tech": "…",
    "plain": "…"
  },
  "findings": [
    {
      "level": "pass",
      "tech": "…",
      "plain": "…"
    }
  ],
  "data": {},
  "ms": 420,
  "at": "2026-01-01T00:00:00.000Z"
}

Put your key in MN_API_KEY. No key yet? Here’s how to get one. More in this group: Subnet / CIDR calculator, IP converters, Punycode / IDN converter, MAC vendor lookup.

Try it without code

The same test runs free in your browser, no key needed.

Open the MAC to IPv6 converter