# mnemonic Passive DNS API reference

> The mnemonic Passive DNS public API returns historical DNS records seen by mnemonic's sensors: for a domain or an IP address, the matching query and answer pairs with first and last seen times, TTLs and observation counts. An investigator can use it to see what a domain resolved to in the past and…

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

- Base URL: https://api.mnemonic.no/pdns/v3
- Authentication: API key in the `Argus-API-Key` header. Optional: public queries need no key and return only TLP white data.
- Free tier: yes
- Rate limits: Unauthenticated: 10 requests per minute and 1000 per day. Authenticated limits depend on the agreement with mnemonic.
- Vendor docs: https://docs.mnemonic.no/service-integration-guides/passivedns/docs/public/01-public_api.html

## Overview

The mnemonic Passive DNS public API returns historical DNS records seen by mnemonic's sensors: for a domain or an IP address, the matching query and answer pairs with first and last seen times, TTLs and observation counts. An investigator can use it to see what a domain resolved to in the past and which names shared an IP.

Base URL is `https://api.mnemonic.no/pdns/v3`. No key is needed for public use, which returns only TLP white data. A key requested from mnemonic (sent in the `Argus-API-Key` header) gives higher limits and access to private data.

Unauthenticated use is limited to 10 requests per minute and 1000 per day, and to 1000 records per query. Going over a resource limit returns HTTP 402 with `metaData.millisUntilResourcesAvailable`; asking for too many records returns HTTP 412.

## Errors

| Status | Meaning |
| --- | --- |
| 402 | Resource limit exceeded; see metaData.millisUntilResourcesAvailable |
| 412 | The limit parameter exceeds the server maximum |

## Passive DNS

### Look up passive DNS records for a domain or IP address.

`GET /{query}`

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

Returns records whose query or answer matches, sorted by last seen time, newest first. Use limit and offset to page; limit 0 asks for an unlimited result set, up to the public maximum of 1000.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `query` | path | string | yes | Domain name or IP address Example: example.com |
| `limit` | query | integer | no | Maximum records to return; public maximum 1000, authenticated 10000 Example: 25 |
| `offset` | query | integer | no | Records to skip, for pagination Example: 0 |
| `rrClass` | query | string | no | DNS record class, usually in Example: in |
| `rrType` | query | string | no | DNS record type, such as a, aaaa, ptr, cname or mx Example: a |

Response fields:

- `responseCode` (integer): Normally 200
- `count` (integer): Total matching records
- `limit` (integer): Limit applied
- `offset` (integer): Offset applied
- `currentPage` (integer): Page calculated from limit and offset
- `size` (integer): Size of the current result set
- `data[].rrclass` (string): DNS record class
- `data[].rrtype` (string): DNS record type
- `data[].query` (string): Query part of the record
- `data[].answer` (string): Answer part of the record
- `data[].firstSeenTimestamp` (integer): First observed, epoch milliseconds
- `data[].lastSeenTimestamp` (integer): Last observed, epoch milliseconds
- `data[].maxTtl` (integer): Maximum observed TTL
- `data[].minTtl` (integer): Minimum observed TTL
- `data[].times` (integer): Number of observations
- `data[].tlp` (string): TLP classification; white for public records
- `messages` (array): Server messages
- `metaData` (object): Server metadata

```bash
curl 'https://api.mnemonic.no/pdns/v3/example.com' \
  -H 'Argus-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "responseCode": 200,
  "count": 1,
  "limit": 25,
  "offset": 0,
  "currentPage": 1,
  "size": 1,
  "data": [
    {
      "rrclass": "in",
      "rrtype": "a",
      "query": "example.com.",
      "answer": "203.0.113.7",
      "firstSeenTimestamp": 1340308340000,
      "lastSeenTimestamp": 1377520248000,
      "maxTtl": 300,
      "minTtl": 300,
      "times": 675,
      "tlp": "white",
      "customer": null
    }
  ],
  "messages": [],
  "metaData": {}
}
```

### Check whether any record matching a domain or IP exists.

`GET /{query}/seen`

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

Returns data.exists as true or false instead of the records.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `query` | path | string | yes | Domain name or IP address Example: example.com |
| `tlp` | query | string | no | TLP levels to include: white, green, amber, red; several allowed Example: white |
| `ignoreOwnRecords` | query | boolean | no | Whether to exclude your customer's own records Example: true |

Response fields:

- `responseCode` (integer): Normally 200
- `data.exists` (boolean): Whether a matching record exists

```bash
curl 'https://api.mnemonic.no/pdns/v3/example.com/seen' \
  -H 'Argus-API-Key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "responseCode": 200,
  "count": 0,
  "limit": 0,
  "data": {
    "exists": true
  }
}
```

### Query passive DNS with a JSON body instead of the URL.

`POST /search`

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

Takes the same parameters as the simple query in a JSON body and returns the same result container.

Response fields:

- `responseCode` (integer): Normally 200
- `count` (integer): Total matching records
- `data[].rrtype` (string): DNS record type
- `data[].query` (string): Query part of the record
- `data[].answer` (string): Answer part of the record
- `data[].lastSeenTimestamp` (integer): Last observed, epoch milliseconds

```bash
curl -X POST 'https://api.mnemonic.no/pdns/v3/search' \
  -H 'Argus-API-Key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"query":"example.com","rrClass":["in"],"rrType":["a"],"limit":25,"offset":0}'
```

Example response (200):

```json
{
  "responseCode": 200,
  "count": 1,
  "limit": 25,
  "offset": 0,
  "data": [
    {
      "rrtype": "a",
      "query": "example.com.",
      "answer": "203.0.113.7",
      "lastSeenTimestamp": 1377520248000
    }
  ]
}
```

---

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/
