# HoneyDB API reference

> HoneyDB is a honeypot data service. Its API returns what the HoneyDB sensor network saw: bad hosts of the last 24 hours, and per-IP context such as network and AS details, threat-list membership, whether the address is a known internet scanner, its history against the network and CVEs seen from…

Source: https://osinttools.io/apis/honeydb/ (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/honeydb/

- Base URL: https://honeydb.io/api
- Authentication: API key in the `X-HoneyDb-ApiKey` header. Get a key: https://honeydb.io/ A second header, X-HoneyDb-ApiId, must be sent with every request.
- Rate limits: Not stated in the docs
- Vendor docs: https://honeydb.io/docs/api

## Overview

HoneyDB is a honeypot data service. Its API returns what the HoneyDB sensor network saw: bad hosts of the last 24 hours, and per-IP context such as network and AS details, threat-list membership, whether the address is a known internet scanner, its history against the network and CVEs seen from it.

Calls go to `https://honeydb.io/api` and are all GET requests. Every request carries two headers, `X-HoneyDb-ApiId` and `X-HoneyDb-ApiKey`. The reference is a Postman collection; the saved responses show quota headers (`Honeydb-Qpm-Consumed`, `Honeydb-Qpm-Remaining`), but the docs read here do not state the limits or prices.

A few endpoints are marked in the docs as not counting against the monthly quota: the SANS, Project Honeypot, ThreatFox and Blocklist.net.ua threat details and the ASN name lookup.

## IP lookups

### Full context for an IP address from the HoneyDB network.

`GET /ip/{ip_address}`

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

Returns reverse DNS, network info, threat info, scanner status, history of interactions with the HoneyDB network and observed CVEs.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-HoneyDb-ApiId` | header | string | yes | Your API ID Example: YOUR_API_ID |
| `ip_address` | path | string | yes | IP address to look up Example: 203.0.113.7 |

Response fields:

- `reverse_dns` (string): Reverse DNS result
- `network_info` (object): ASN, organization, country and location
- `threat_info` (object): Threat flags and lists
- `internet_scanner` (boolean): Whether the IP is a known internet scanner
- `ip_history` (array): Events seen from this IP
- `cve` (array): CVEs observed from the IP
- `generated` (string): When the answer was generated

```bash
curl 'https://honeydb.io/api/ip/203.0.113.7' \
  -H 'X-HoneyDb-ApiKey: YOUR_API_KEY' \
  -H 'X-HoneyDb-ApiId: YOUR_API_ID'
```

Example response (200):

```json
{
  "reverse_dns": "host.example.com",
  "network_info": {
    "asn": "64500",
    "organization": "Example Hosting",
    "country": "US",
    "city": "Exampleville"
  },
  "threat_info": {
    "is_threat": false
  },
  "internet_scanner": false,
  "ip_history": [],
  "cve": [],
  "generated": "2026-11-01T00:00:00Z"
}
```

### Geo IP location of an address.

`GET /ip/{ip_address}/geo`

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

Returns country, city and coordinates.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-HoneyDb-ApiId` | header | string | yes | Your API ID Example: YOUR_API_ID |
| `ip_address` | path | string | yes | IP address Example: 203.0.113.7 |

Response fields:

- `country` (string): Country
- `city` (string): City
- `latitude` (number): Latitude
- `longitude` (number): Longitude

```bash
curl 'https://honeydb.io/api/ip/203.0.113.7/geo' \
  -H 'X-HoneyDb-ApiKey: YOUR_API_KEY' \
  -H 'X-HoneyDb-ApiId: YOUR_API_ID'
```

Example response (200):

```json
{
  "country": "United States",
  "city": "Exampleville",
  "latitude": 40,
  "longitude": -75
}
```

### AS number, organization and location of an address.

`GET /ip/{ip_address}/netinfo`

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

Returns a network_info object with ASN, organization, country, IP range, city and coordinates.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-HoneyDb-ApiId` | header | string | yes | Your API ID Example: YOUR_API_ID |
| `ip_address` | path | string | yes | IP address Example: 203.0.113.7 |

Response fields:

- `network_info` (object): ASN, organization, country, IP range, city, coordinates

```bash
curl 'https://honeydb.io/api/ip/203.0.113.7/netinfo' \
  -H 'X-HoneyDb-ApiKey: YOUR_API_KEY' \
  -H 'X-HoneyDb-ApiId: YOUR_API_ID'
```

Example response (200):

```json
{
  "network_info": {
    "asn": "64500",
    "organization": "Example Hosting",
    "country": "US",
    "city": "Exampleville"
  }
}
```

### Threat intelligence for an address across threat lists.

`GET /ip/{ip_address}/threatinfo`

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

Returns threat_info with an is_threat flag and per-list flags such as is_et_compromised and is_blocklist_de.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-HoneyDb-ApiId` | header | string | yes | Your API ID Example: YOUR_API_ID |
| `ip_address` | path | string | yes | IP address Example: 203.0.113.7 |

Response fields:

- `threat_info.is_threat` (boolean): Whether the address is on any threat list
- `threat_info.threat_lists` (object): One boolean flag per list

```bash
curl 'https://honeydb.io/api/ip/203.0.113.7/threatinfo' \
  -H 'X-HoneyDb-ApiKey: YOUR_API_KEY' \
  -H 'X-HoneyDb-ApiId: YOUR_API_ID'
```

Example response (200):

```json
{
  "threat_info": {
    "is_threat": true,
    "threat_lists": {
      "is_et_compromised": true,
      "is_blocklist_de": false
    }
  }
}
```

### Whether an address is a known internet scanner.

`GET /ip/{ip_address}/internet-scanner`

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

Returns true or false.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-HoneyDb-ApiId` | header | string | yes | Your API ID Example: YOUR_API_ID |
| `ip_address` | path | string | yes | IP address Example: 203.0.113.7 |

Response fields:

- `internet_scanner` (boolean): Known internet scanner or not

```bash
curl 'https://honeydb.io/api/ip/203.0.113.7/internet-scanner' \
  -H 'X-HoneyDb-ApiKey: YOUR_API_KEY' \
  -H 'X-HoneyDb-ApiId: YOUR_API_ID'
```

Example response (200):

```json
{
  "internet_scanner": false
}
```

### History of an address's interactions with the HoneyDB network.

`GET /ip/{ip_address}/history`

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

Returns the events seen from the address against HoneyDB sensors.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-HoneyDb-ApiId` | header | string | yes | Your API ID Example: YOUR_API_ID |
| `ip_address` | path | string | yes | IP address Example: 203.0.113.7 |

Response fields:

- `ip_history` (array): Events seen from this IP, with service and dates

```bash
curl 'https://honeydb.io/api/ip/203.0.113.7/history' \
  -H 'X-HoneyDb-ApiKey: YOUR_API_KEY' \
  -H 'X-HoneyDb-ApiId: YOUR_API_ID'
```

Example response (200):

```json
{
  "ip_history": [
    {
      "service": "SIP",
      "first_seen": "2026-08-07",
      "last_seen": "2026-11-09"
    }
  ]
}
```

### CVEs observed from an address.

`GET /ip/{ip_address}/cve`

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

Returns the list of CVEs identified in traffic seen from the IP.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-HoneyDb-ApiId` | header | string | yes | Your API ID Example: YOUR_API_ID |
| `ip_address` | path | string | yes | IP address Example: 203.0.113.7 |

Response fields:

- `cve` (array): CVE identifiers observed from the IP

```bash
curl 'https://honeydb.io/api/ip/203.0.113.7/cve' \
  -H 'X-HoneyDb-ApiKey: YOUR_API_KEY' \
  -H 'X-HoneyDb-ApiId: YOUR_API_ID'
```

Example response (200):

```json
{
  "cve": [
    "CVE-2021-44228"
  ]
}
```

## Bad hosts

### Bad hosts seen by HoneyDB in the last 24 hours.

`GET /bad-hosts`

- Footprint: passive (the target is not contacted)

Returns an array of remote hosts with an event count and last-seen date. `/bad-hosts/{service}` filters by service.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-HoneyDb-ApiId` | header | string | yes | Your API ID Example: YOUR_API_ID |

Response fields:

- `[].remote_host` (string): Address of the bad host
- `[].count` (integer): Number of events
- `[].last_seen` (string): Date last seen

```bash
curl 'https://honeydb.io/api/bad-hosts' \
  -H 'X-HoneyDb-ApiKey: YOUR_API_KEY' \
  -H 'X-HoneyDb-ApiId: YOUR_API_ID'
```

Example response (200):

```json
[
  {
    "remote_host": "198.51.100.23",
    "count": 4137,
    "last_seen": "2026-11-01"
  }
]
```

## ASN

### IP prefixes associated with an AS number.

`GET /asn/{as_number}/prefixes`

- Footprint: passive (the target is not contacted)

Returns the AS number, the count and the list of CIDR prefixes. `/asn/{as_number}` returns only the AS name and number and does not count against monthly limits.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `X-HoneyDb-ApiId` | header | string | yes | Your API ID Example: YOUR_API_ID |
| `as_number` | path | string | yes | AS number Example: 64500 |

Response fields:

- `as_num` (integer): AS number
- `count` (integer): Number of prefixes
- `prefixes[]` (string): CIDR prefix

```bash
curl 'https://honeydb.io/api/asn/64500/prefixes' \
  -H 'X-HoneyDb-ApiKey: YOUR_API_KEY' \
  -H 'X-HoneyDb-ApiId: YOUR_API_ID'
```

Example response (200):

```json
{
  "as_num": 64500,
  "count": 2,
  "prefixes": [
    "198.51.100.0/24",
    "203.0.113.0/24"
  ]
}
```

---

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/
