Skip to content
OSINTtools.io

mnemonic Passive DNS API

Passive DNS database from Norwegian security firm mnemonic, searchable on the web and through a public API.

Base URL
https://api.mnemonic.no/pdns/v3
Sign-in
API key
Free tier
Free tier
Format
REST
Endpoints
3

Compiled by OSINTtools.io editors from docs.mnemonic.no · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

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.

Quick start

  1. Get a key

    Create an account with mnemonic Passive DNS and copy your api key (free tier). Where to get it

  2. Make your first request

    Look up passive DNS records for a domain or IP address.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.mnemonic.no/pdns/v3/example.com' \
      -H 'Argus-API-Key: YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this, shortened.

    {
      "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": {}
    …

Authentication

Send your API key in the Argus-API-Key header of every request.

Optional: public queries need no key and return only TLP white data.

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

Unauthenticated: 10 requests per minute and 1000 per day. Authenticated limits depend on the agreement with mnemonic.

Free tier.

Errors

StatusMeaning
402Resource limit exceeded; see metaData.millisUntilResourcesAvailable
412The limit parameter exceeds the server maximum

Passive DNS

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.

Path parameters

querystringrequiredtakes your domain

Domain name or IP address

Example: example.com

Query parameters

limitinteger

Maximum records to return; public maximum 1000, authenticated 10000

Example: 25Default: 25
offsetinteger

Records to skip, for pagination

Example: 0Default: 0
rrClassstring

DNS record class, usually in

Example: in
rrTypestring

DNS record type, such as a, aaaa, ptr, cname or mx

Example: a
Response fields · 18Show

responseCodeinteger

Normally 200

countinteger

Total matching records

limitinteger

Limit applied

offsetinteger

Offset applied

currentPageinteger

Page calculated from limit and offset

sizeinteger

Size of the current result set

rrclassstring

DNS record class

rrtypestring

DNS record type

querystring

Query part of the record

answerstring

Answer part of the record

firstSeenTimestampinteger

First observed, epoch milliseconds

lastSeenTimestampinteger

Last observed, epoch milliseconds

maxTtlinteger

Maximum observed TTL

minTtlinteger

Minimum observed TTL

timesinteger

Number of observations

tlpstring

TLP classification; white for public records

messagesarray

Server messages

metaDataobject

Server metadata

curl 'https://api.mnemonic.no/pdns/v3/example.com' \
  -H 'Argus-API-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "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": {}
}

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

Path parameters

querystringrequiredtakes your domain

Domain name or IP address

Example: example.com

Query parameters

tlpstring

TLP levels to include: white, green, amber, red; several allowed

Example: whiteDefault: white
ignoreOwnRecordsboolean

Whether to exclude your customer's own records

Example: trueDefault: true
Response fields · 2Show

responseCodeinteger

Normally 200

existsboolean

Whether a matching record exists

curl 'https://api.mnemonic.no/pdns/v3/example.com/seen' \
  -H 'Argus-API-Key: YOUR_API_KEY'
Replace YOUR_API_KEY with your key
Response
{
  "responseCode": 200,
  "count": 0,
  "limit": 0,
  "data": {
    "exists": true
  }
}

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

Request body (JSON) · 5Show

querystringalways present

Domain name or IP address

rrClassarray

DNS record classes

rrTypearray

DNS record types

limitinteger

Maximum records to return

offsetinteger

Records to skip

Response fields · 6Show

responseCodeinteger

Normally 200

countinteger

Total matching records

rrtypestring

DNS record type

querystring

Query part of the record

answerstring

Answer part of the record

lastSeenTimestampinteger

Last observed, epoch milliseconds

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}'
Replace YOUR_API_KEY with your key
Response
{
  "responseCode": 200,
  "count": 1,
  "limit": 25,
  "offset": 0,
  "data": [
    {
      "rrtype": "a",
      "query": "example.com.",
      "answer": "203.0.113.7",
      "lastSeenTimestamp": 1377520248000
    }
  ]
}