API.

Use Elyv from your own code. One key and one contract for the lookup modules, the full searches, the username sweep and the exposure checks, answered in JSON.

Every call counts against the searches of your plan, the same allowance as the dashboard. API keys come with Pro and Ultra.

Create an API key
Base URL

https://elyv.cc/api/v1

Format

JSON over HTTPS

Authentication

Bearer key

Version

v1, stable

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.

Building an agent or an integration? Start with 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.
OpenAPI document

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.

  1. Open your account. In the dashboard, go to Account, then API keys.
  2. 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.
  3. 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_here

Keep 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:

Response
{
  "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

POST/api/v1/{module}1 search

Each 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: dns for the DNS module, github for 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

FieldWhat to sendModules
usernameAn account name, 2 to 30 characters: letters, digits, dot, underscore, dash43
domainA domain name, like example.com1

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

GET/api/v1/modulesFree · no key

The source of truth for what exists today. Fetch it once and cache it: new modules appear there first.

Response, shortened
{
  "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.

EndpointSendWhat comes back
POST/usernameusernameEvery 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/emailemailGravatar, the domain and its mail setup, the services with an account, and the exposure check.
POST/phonephoneThe number’s country, line type and formats, the operator when known, and the exposure check.
POST/ipipLocation and network from several providers, reputation, and the exposure check.
POST/domaindomainRegistration, DNS records, subdomains, the web server and its security headers, and the exposure check.
POST/companyqueryCompany registries: the companies matching a name or an identifier, their officers and key figures.
POST/fullnamefirst_name, last_nameEncyclopaedia 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"}'
Response, shortened
{
  "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

GET/api/v1/sitesFree · no key
POST/api/v1/site/{slug}1 search

The 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"}'
Response
{
  "module": "site/github",
  "query": "torvalds",
  "found": true,
  "site": {
    "name": "GitHub",
    "slug": "github",
    "status": "found",
    "url": "https://github.com/torvalds"
  }
}

Exposure checks

POST/api/v1/breach1 search

Tells 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.

The leaked data itself is never returned. No passwords, no rows, no addresses: an exposure check answers where an identifier appears, so the person or the organisation concerned can act on it.
curl https://elyv.cc/api/v1/breach \
  -H "Authorization: Bearer $ELYV_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email": "someone@example.com"}'
Response
{
  "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

GET/api/v1/breachesFree · key needed

The 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"
Response, shortened
{
  "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.

PlanSearches per hourSearches per dayAPI keys
Regular60200Not included
Pro150750Up to 10
Ultra6006,000Up 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 QUOTA until the hour or the day rolls over.

Compare the plans

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.

400 Bad Request
{
  "error": "Enter a valid domain name.",
  "code": "BAD_INPUT",
  "field": "domain"
}
StatusCodeMeaning
400BAD_INPUTA value is missing or has the wrong shape.
401NO_KEY, BAD_KEYNo key was sent, or it is wrong or revoked.
403PLAN_REQUIREDThe account’s plan does not include API access.
404UNKNOWN_MODULE, UNKNOWN_SITECheck the slug against the catalogues.
429QUOTA, RATE_LIMITThe plan’s allowance is used up, or too many wrong keys came from one address.
502UPSTREAMThe source did not answer. Nothing was counted.
503MAINTENANCEElyv 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.

GET/api/v1/modules

Every module, its field, an example and its endpoint.

Free
GET/api/v1/sites

Every site of the sweep: slug, name and kind.

Free
POST/api/v1/{module}

Runs one module.

1 search
POST/api/v1/site/{slug}

Checks one username on one site.

1 search
POST/api/v1/username

The full username search and sweep.

1 search
POST/api/v1/email

The full email search.

1 search
POST/api/v1/phone

The full phone search.

1 search
POST/api/v1/ip

The full IP address search.

1 search
POST/api/v1/domain

The full domain search.

1 search
POST/api/v1/company

The full company search.

1 search
POST/api/v1/fullname

The full name search.

1 search
POST/api/v1/breach

Exposure check for one identifier.

1 search
GET/api/v1/breaches

Publicly reported breaches, newest first.

Free

Responsible 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.
Create an API key