Integrate mlab into your security workflows with the REST API. Automate lookups, submit files and retrieve results programmatically.
All API requests require an API key passed in the Authorization header.
You can generate your API key from your
account settings (Pro plan or above required).
API requests count against your plan's daily scan quotas. When you exceed
your daily limit, the API returns a 429 Too Many Requests response
with a Retry-After header.
| Plan | Domain scans | IP scans | File scans |
|---|---|---|---|
| Pro | 25 / day | 50 / day | 20 / day |
| Team | 100 / day | 200 / day | 80 / day |
| Enterprise | Custom — as you go | ||
Look up an IP, domain, hash or URL.
Upload a file (max 10 MB) for scanning and analysis.
Retrieve the results of a previous scan by its ID.
All API responses are returned as JSON. Successful requests return
a 200 status with a data object.
Errors return an appropriate HTTP status code with a message field.
| Code | Meaning |
|---|---|
200 |
Success — result returned |
400 |
Bad request — invalid parameter or missing required field |
401 |
Unauthorized — missing or invalid API key |
403 |
Forbidden — your plan does not include API access |
404 |
Not found — scan ID does not exist |
429 |
Rate limited — daily quota exceeded, check Retry-After header |
500 |
Server error — please retry or contact support |