v1

latestOpenAPI 3.1.0MIT2026-07-132176113.0 KB
dnsrecord

Retrieve DNS records for a given domain

post/dnsrecord

Request body

urlstring required

Target URL

typesstring[]

List of DNS record types to query. If omitted, all supported types will be returned.

Example request

{
  "url": "https://example.com",
  "types": [
    "A",
    "MX"
  ]
}

Response

Successfully retrieved DNS records

timestampnumber required

Timestamp of the request in milliseconds

apiStatus'success' | 'failure' required

API status message

apiCodenumber required

API status code

dataobject required

DNS records grouped by type.

Example response

{
  "timestamp": 1763372588297,
  "apiStatus": "success",
  "apiCode": 200,
  "meta": {
    "url": "https://example.com",
    "test": {
      "id": "mxqx9v9y0742lap6altwdteqd28t23nq"
    }
  },
  "data": {
    "A": [
      "172.67.70.213",
      "104.26.11.88",
      "104.26.10.88"
    ],
    "MX": [
      {
        "exchange": "alt3.aspmx.l.google.com",
        "priority": 10
      },
      {
        "exchange": "aspmx.l.google.com",
        "priority": 1
      }
    ]
  }
}