MAC Vendors REST API

Automate MAC Address Lookup with our REST API.

API Endpoint

The public web UI is served separately from the REST API. Under the Apache proxy configuration, API requests are available below /api/.

Use the following URL to perform a MAC address lookup via the API:

https://macvendors.co.uk/api/mac_lookup/<mac_address>

Replace <mac_address> with the MAC address you want to query. For example:

https://macvendors.co.uk/api/mac_lookup/00:1A:2B:3C:4D:5E

Response Format

The API will return a JSON response:

{
    "mac_address": "00:1A:2B:3C:4D:5E",
    "vendor": "Cisco Systems, Inc"
}
            

HTTP Status Codes

Accepted MAC Address Formats

Rate Limiting

For fair usage, API requests are rate-limited. If you exceed the limit, you may receive a 429 Too Many Requests error.

When to Use the API

Use the API for scripts, monitoring systems, inventory tooling, and network automation where a browser lookup is not practical. For pasted switch or ARP output, the bulk lookup page is usually faster.