API
Search the same 1.3 billion records from your own code, with premium limits: up to 1,000 records a search, and no waiting in line.
Get a key on TelegramYour key
Keys are paid. To get one, write to @mailunmask on Telegram. Send it with every request, and keep it secret: whoever holds it searches on your credits.
Authorization: Bearer mum_your_key
Search
POST https://mailunmask.com/v1/search
email |
The email as far as you know it, with * where letters are hidden: j*****h@e******.com.
A * stands for any number of letters, ? for exactly one. Bullets copied from a reset page
(•, ●) count as *. Without an @, it's the part before it.
|
|---|---|
text |
Optional free text, matched across every field: a name, a city, a phone number. Up to 200 characters. |
curl https://mailunmask.com/v1/search \
-H "Authorization: Bearer mum_your_key" \
-H "Content-Type: application/json" \
-d '{"email": "j*****h@e******.com", "text": "jane"}'
Fastest when the email starts with a letter you know: a second or two. When it starts with *, the
search reads through every address and can take 10 to 20 seconds; some text helps.
Response
{
"records": 1,
"credits": 999,
"results": [
{
"source": "facebook_leak_all",
"fields": {
"email": "[email protected]",
"first_name": "Jane",
"last_name": "Smith",
"city": "London"
}
}
]
}
records |
How many records came back. |
|---|---|
capped |
true when more records matched than came back, so what you have is the first 1,000 of a wider
answer. false means this is every match.
|
credits |
Credits left on your key, or null when it's unlimited. |
source |
The dataset the record comes from. |
fields |
The record. Its fields depend on the dataset: email, names, phone, city, birth date and more. |
Every record that matches comes back, up to 1,000. When more than that match you get the first 1,000 and
capped is true; add letters or text and send it again for the rest. Only records whose
email fits the one you sent come back.
A search uses a credit only when it finds something.
Errors
{
"error": "rate_limited",
"message": "At most 20 searches a minute."
}
bad_request400 |
The body isn't valid. message says why. |
|---|---|
unauthorized401 |
The key is missing, wrong or revoked. |
no_credits402 |
The key has no credits left. |
too_many_results422 |
The search was rejected as too broad to run at all. A search that simply matches a lot is not refused: it
comes back with capped set.
|
rate_limited429 |
More than 20 searches a minute, or 2 at once. Wait the Retry-After seconds. |
busy503 |
Search is busy. Wait the Retry-After seconds. |
timeout504 |
The search took too long. Narrow it. |
unavailable503 |
Search isn't available right now. Try again later. |
upstream_error502 |
Something failed on our side. Try again. |
Refused and failed searches never use a credit.
Limits
| Records | Up to 1,000 a search |
|---|---|
| Rate | 20 searches a minute, 2 at once, per key |
| Queue | None: searches start right away |
| Cost | 1 credit for each search that finds something |