# LeakIX API reference

> LeakIX indexes exposed services and leaks on the internet. The API searches those events, returns what is known about a domain, and lists subdomains. Results are l9events: host, port, protocol, HTTP, TLS, software, leak details, geo and network data. Send your key in the api-key header and ask for…

Source: https://osinttools.io/apis/leakix/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/leakix/

- Base URL: https://leakix.net
- Authentication: API key in the `api-key` header. Get a key: https://leakix.net/settings/api Also send the header accept: application/json.
- Rate limits: About 1 request per second; a 429 carries an x-limited-for header to wait for
- Vendor docs: https://docs.leakix.net/docs/api/

## Overview

LeakIX indexes exposed services and leaks on the internet. The API searches those events, returns what is known about a domain, and lists subdomains. Results are l9events: host, port, protocol, HTTP, TLS, software, leak details, geo and network data.

Send your key in the `api-key` header and ask for JSON with `accept: application/json`. Keys come from your profile settings at `https://leakix.net/settings/api`. The docs do not state the base URL; the examples use `https://leakix.net`.

Requests are limited to about 1 per second. When the limit is hit the API answers 429 with an `x-limited-for` header and the client must wait that long. Bulk search (`/bulk/search`, JSONL answers) is for Pro users and not covered here.

## Errors

| Status | Meaning |
| --- | --- |
| 429 | Rate limit reached; wait the time in the x-limited-for header |

## Search

### Search services or leaks with a LeakIX query.

`GET /search`

- Takes: IP address, Domain
- Footprint: passive (the target is not contacted)

Returns an array of l9events matching the query. Use scope service for exposed services and leak for leaks.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `scope` | query | string | yes | service or leak Example: leak One of: service, leak |
| `q` | query | string | yes | URL-encoded search query Example: +plugin:HttpNTLM +country:France |
| `page` | query | integer | no | Page to start at Example: 0 |

Response fields:

- `[].event_type` (string): Kind of event
- `[].ip` (string): IP address
- `[].host` (string): Host name
- `[].port` (string): Port
- `[].protocol` (string): Protocol
- `[].summary` (string): Event summary
- `[].time` (string): Event time
- `[].leak.severity` (string): Leak severity
- `[].geoip.country_name` (string): Country
- `[].network.asn` (integer): Autonomous system number
- `[].tags[]` (string): Tags

```bash
curl 'https://leakix.net/search?scope=leak&q=%2Bplugin%3AHttpNTLM%20%2Bcountry%3AFrance' \
  -H 'api-key: YOUR_API_KEY'
```

Example response (200):

```json
[
  {
    "event_type": "leak",
    "ip": "192.0.2.10",
    "host": "www.example.com",
    "port": "443",
    "protocol": "https",
    "summary": "Example summary",
    "time": "2024-01-01T00:00:00Z",
    "leak": {
      "severity": "medium"
    },
    "geoip": {
      "country_name": "France"
    },
    "network": {
      "asn": 64500
    },
    "tags": [
      "example"
    ]
  }
]
```

## Lookups

### Services and leaks LeakIX knows for a domain.

`GET /domain/{domain}`

- Takes: Domain
- Footprint: passive (the target is not contacted)

Returns Services and Leaks arrays of l9events; either can be null when nothing is found. The docs' Python example reads lowercase keys while the documented response uses Services and Leaks.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain to look up Example: example.com |

Response fields:

- `Services[]` (object): l9events for exposed services, or null
- `Services[].ip` (string): IP address
- `Services[].port` (string): Port
- `Leaks[]` (object): l9events for leaks, or null
- `Leaks[].leak.type` (string): Leak type

```bash
curl 'https://leakix.net/domain/example.com' \
  -H 'api-key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "Services": [
    {
      "ip": "192.0.2.10",
      "port": "443"
    }
  ],
  "Leaks": null
}
```

### Find subdomains for a domain.

`GET /api/subdomains/{domain}`

- Takes: Domain
- Footprint: passive (the target is not contacted)

Returns an array of subdomains with the number of distinct IPs and when each was last seen. Registered and pro users get more results.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `domain` | path | string | yes | Domain to look up Example: example.com |

Response fields:

- `[].subdomain` (string): Subdomain name
- `[].distinct_ips` (integer): Distinct IPs for the subdomain
- `[].last_seen` (string): ISO 8601 time last seen

```bash
curl 'https://leakix.net/api/subdomains/example.com' \
  -H 'api-key: YOUR_API_KEY'
```

Example response (200):

```json
[
  {
    "subdomain": "www.example.com",
    "distinct_ips": 1,
    "last_seen": "2023-01-20T11:25:41.243Z"
  }
]
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
