Introduction
The Elyv API runs the same lookups as the dashboard, from your own scripts, servers and tools. Every module is a single POST that takes one field and answers in JSON with the same shape.
Three kinds of calls make up the API: the modules, one per source; the full searches, which run everything the dashboard runs for a username, an email, a phone number, an IP address or a name; and the exposure checks, which tell you whether an identifier appears in known breaches without ever returning the leaked data.
GET /api/v1/modules and GET /api/v1/sites. Both are free, need no key, and map every module to its field, an example value and its endpoint.The whole API in one OpenAPI 3.1 file: every endpoint, field and response shape, with examples. Load it into an API client or generate a client library.
Authentication
Every call that runs a lookup needs an API key. Keys come with the Pro and Ultra plans, up to ten per account, and each one spends the searches of the account that created it.
- Open your account. In the dashboard, go to Account, then API keys.
- Name the key and create it. Use one key per script or server, so you can revoke one without touching the others. You confirm with your password, and your two-factor code if it is on.
- Copy it right away. It starts with
sk_elyv_and is shown only once: Elyv keeps a hash of it, never the key itself.
Send the key on every request as a Bearer token:
Authorization: Bearer sk_elyv_your_key_hereKeep it in an environment variable, on a server. A key in a web page, a mobile app or a public repository is a leaked key: revoke it from the same page and create a new one.
export ELYV_KEY="sk_elyv_your_key_here"Quick start
Your first call reads the DNS records of a domain. Pick a language: every sample on this page follows your choice.
curl https://elyv.cc/api/v1/dns \
-H "Authorization: Bearer $ELYV_KEY" \
-H "Content-Type: application/json" \
-d '{"domain": "example.com"}'The answer:
{
"module": "dns",
"query": "example.com",
"found": true,
"dns": {
"domain": "example.com",
"a": ["104.20.23.154", "172.66.147.243"],
"aaaa": ["2606:4700:10::6814:179a"],
"ns": ["elliott.ns.cloudflare.com", "hera.ns.cloudflare.com"],
"mx": [],
"txt": ["v=spf1 -all"],
"signals": ["No mail server"]
}
}JavaScript needs Node 18 or later for fetch. Python uses the requests package.
Running a module
/api/v1/{module}1 searchEach module reads one source and takes exactly one JSON field, named in the catalogue. The answer always has the same four parts at the top:
modulestring- The module you called.
querystring- The value you sent, as the module read it.
foundboolean- Whether the source had something.
{wrap}object- The module’s data, under a key named after it:
dnsfor the DNS module,githubfor the GitHub module.
A miss answers "found": false and gives the search back. To keep a lookup out of your history, add "incognito": true to the body or ?incognito to the address: it runs the same, and nothing is written.
The fields
| Field | What to send | Modules |
|---|---|---|
| username | An account name, 2 to 30 characters: letters, digits, dot, underscore, dash | 43 |
| domain | A domain name, like example.com | 1 |
Emails, phone numbers, IP addresses, names and companies go through the full searches, which run every source that fits them at once.
A value of the wrong shape is refused with 400 BAD_INPUT before any source is asked, and costs nothing.
The catalogue endpoint
/api/v1/modulesFree · no keyThe source of truth for what exists today. Fetch it once and cache it: new modules appear there first.
{
"version": 1,
"auth": "Send your key as Authorization: Bearer <key>.",
"cost": "Every module run uses 1 search from your plan.",
"modules": [
{ "module": "dns", "label": "DNS records", "field": "domain",
"example": "example.com", "endpoint": "/api/v1/dns" },
{ "module": "github", "label": "GitHub", "field": "username",
"example": "torvalds", "endpoint": "/api/v1/github" }
]
}Module catalogue
Every module open to API keys. Search by name, source or family, then open one for a ready-to-run call.
Full searches
Seven endpoints run the complete search behind the dashboard’s search field: every source that fits the identifier, the site sweep for usernames, and the exposure check. Each one counts as a single search.
| Endpoint | Send | What comes back |
|---|---|---|
| POST/username | username | Every site of the sweep and the platforms of the exposure index, the accounts found, and the exposure check. Can take up to a minute. |
| POST/email | Gravatar, the domain and its mail setup, the services with an account, and the exposure check. | |
| POST/phone | phone | The number’s country, line type and formats, the operator when known, and the exposure check. |
| POST/ip | ip | Location and network from several providers, reputation, and the exposure check. |
| POST/domain | domain | Registration, DNS records, subdomains, the web server and its security headers, and the exposure check. |
| POST/company | query | Company registries: the companies matching a name or an identifier, their officers and key figures. |
| POST/fullname | first_name, last_name | Encyclopaedia entries, companies the person runs, and the exposure check. |
curl https://elyv.cc/api/v1/email \
-H "Authorization: Bearer $ELYV_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "someone@example.com"}'{
"module": "email",
"query": "someone@example.com",
"found": true,
"gravatar": { "found": false },
"domain": { "domain": "example.com", "freemail": false, "mxValid": true },
"accounts": [{ "name": "GitHub", "slug": "github", "status": "found" }],
"exposure": { "found": true, "total": 2, "databases": [ ... ] },
"tookMs": 2140
}Set a generous timeout on /username: the sweep reports how long it took in tookMs.
Site sweep
/api/v1/sitesFree · no key/api/v1/site/{slug}1 searchThe sweep behind /username, one site at a time. GET /sites lists every site the sweep checks itself, with its slug, its name and its domain. Call a single site when you already know where to look.
curl https://elyv.cc/api/v1/site/github \
-H "Authorization: Bearer $ELYV_KEY" \
-H "Content-Type: application/json" \
-d '{"username": "torvalds"}'{
"module": "site/github",
"query": "torvalds",
"found": true,
"site": {
"name": "GitHub",
"slug": "github",
"status": "found",
"url": "https://github.com/torvalds"
}
}Exposure checks
/api/v1/breach1 searchTells you whether an identifier appears in known data breaches, which ones, when they happened and what kinds of data they exposed. Send one of email, username, phone or ip.
curl https://elyv.cc/api/v1/breach \
-H "Authorization: Bearer $ELYV_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "someone@example.com"}'{
"module": "breach",
"type": "email",
"query": "someone@example.com",
"found": true,
"total": 2,
"databases": [
{
"name": "Example Telecom",
"breachDate": "2023-04-11",
"exposed": ["Email addresses", "Names", "Phone numbers"]
},
{
"name": "Sample Retail",
"breachDate": "2021-09-02",
"exposed": ["Email addresses", "Postal addresses"]
}
]
}New breaches
/api/v1/breachesFree · key neededThe Radar feed: every publicly reported breach, newest first. Filter with since (a date), q (a service, a domain or a kind of data) and limit (1 to 1,000). It lists which services were breached, never who was in them. Once a day is enough.
curl "https://elyv.cc/api/v1/breaches?since=2026-09-01&limit=5" \
-H "Authorization: Bearer $ELYV_KEY"{
"version": 1,
"source": "Elyv breach radar (publicly reported breaches)",
"count": 1,
"breaches": [
{
"name": "ExampleShop",
"title": "Example Shop",
"domain": "exampleshop.com",
"breachDate": "2026-08-25",
"addedDate": "2026-09-21T13:54:00Z",
"pwnCount": 315579,
"dataClasses": ["Email addresses", "Names", "Phone numbers"],
"verified": true
}
]
}Limits and quotas
There is no limit per key: one key can drive as many workers as you like. What bounds use is your plan’s allowance of searches per hour and per day, shared with the dashboard.
| Plan | Searches per hour | Searches per day | API keys |
|---|---|---|---|
| Regular | 60 | 200 | Not included |
| Pro | 150 | 750 | Up to 10 |
| Ultra | 600 | 6,000 | Up to 10 |
- Every module run, site check, full search and exposure check uses one search.
- The catalogues and the Radar feed are free.
- A run that fails on the source’s side, or finds nothing, gives the search back.
- Past the allowance, calls answer
429 QUOTAuntil the hour or the day rolls over.
Errors
Errors answer JSON with a sentence you can show and a code you can test. When a field is at fault, field names it.
{
"error": "Enter a valid domain name.",
"code": "BAD_INPUT",
"field": "domain"
}| Status | Code | Meaning |
|---|---|---|
| 400 | BAD_INPUT | A value is missing or has the wrong shape. |
| 401 | NO_KEY, BAD_KEY | No key was sent, or it is wrong or revoked. |
| 403 | PLAN_REQUIRED | The account’s plan does not include API access. |
| 404 | UNKNOWN_MODULE, UNKNOWN_SITE | Check the slug against the catalogues. |
| 429 | QUOTA, RATE_LIMIT | The plan’s allowance is used up, or too many wrong keys came from one address. |
| 502 | UPSTREAM | The source did not answer. Nothing was counted. |
| 503 | MAINTENANCE | Elyv is under maintenance for a few minutes. Nothing was counted. |
Before retrying a run of 502 answers, look at the status page: it says which parts of Elyv are up, slow or down.
Every endpoint
The whole public surface. Anything else under /api belongs to the dashboard and refuses API keys.
/api/v1/modulesEvery module, its field, an example and its endpoint.
Free/api/v1/sitesEvery site of the sweep: slug, name and kind.
Free/api/v1/{module}Runs one module.
1 search/api/v1/site/{slug}Checks one username on one site.
1 search/api/v1/usernameThe full username search and sweep.
1 search/api/v1/emailThe full email search.
1 search/api/v1/phoneThe full phone search.
1 search/api/v1/ipThe full IP address search.
1 search/api/v1/domainThe full domain search.
1 search/api/v1/companyThe full company search.
1 search/api/v1/fullnameThe full name search.
1 search/api/v1/breachExposure check for one identifier.
1 search/api/v1/breachesPublicly reported breaches, newest first.
FreeResponsible use
The API follows the same terms as the dashboard. Searches made with a key appear in the account’s history unless you send incognito, and the account holder answers for every call made with their keys.
Need higher limits, a source that is missing, or have a question about a module? Write to us.
Ready to build?
Keys are created in your account, under API keys.