API

Free and read-only. No API key needed, and CORS is enabled for every origin on /api/. A MAC address can be written in any format (00:1A:2B:3C:4D:5E, 00-1a-2b, 001a2b); at least the first 6 hex characters (the OUI) are required.

GET/api/lookup/{mac_address}

Returns the assignment and the company for a MAC address.

curl "http://maclookup.info/api/lookup/00:00:0C:11:22:33"
{
  "ok": true,
  "data": {
    "prefix": "00-00-0C",
    "assignment_start": "00-00-0C-00-00-00",
    "assignment_end": "00-00-0C-FF-FF-FF",
    "max_devices": 16777216,
    "type": "MA-L",
    "company": "Cisco Systems, Inc",
    "company_slug": "cisco-systems-inc",
    "address": "80 West Tasman Drive, San Jose CA 94568",
    "country_code": "US"
  }
}
StatusMeaning
200Found. type is the IEEE registry: MA-L, MA-M or MA-S.
400Fewer than 6 hex characters: {"ok": false, "message": "..."}
404No assignment: {"ok": false, "message": "Assignment not found"}

GET/api/jsonp/{mac_address}?callback=name

Same data as lookup, wrapped in a function call for use from a <script> tag (about JSONP). Prefer lookup with CORS in new code.

curl "http://maclookup.info/api/jsonp/00:00:0C?callback=handle"
  • The status is always 200. A miss returns {"ok": false, "message": "No results"}.
  • Without callback the response is plain JSON.
  • The callback name must match [A-Za-z_$][\w$.]*, otherwise the response is 400.

GET/api/autocomplete/{mac_address_prefix}

Suggestions for a partial address. With fewer than 6 hex characters it returns the next 10 assignments; with 6 or more, the assignments containing the address.

curl "http://maclookup.info/api/autocomplete/00-00"
[
  { "value": "000000", "text": "000000000000 - 000000FFFFFF XEROX CORPORATION" }
]