SecurityTrails

App · 3 actions

Read current DNS, WHOIS, and historical DNS intelligence.

Actions

ActionWhat it does
Get DNS historyRead one page of historical records for a selected DNS record type.
Get domain intelligenceRead current DNS and domain metadata.
Get domain WHOISRead the current WHOIS registration record available for a domain.

Get DNS history

Read one page of historical records for a selected DNS record type.

Inputs

HostnamehostnametextRequired
Fully qualified domain name without a URL scheme, path, or port.
Record typerecord_typetextRequired
DNS record type.One of: a, aaaa, mx, ns, soa, txt.
Pagepagenumber
Page to read. Request subsequent pages explicitly.At least 1.

Outputs

dataobject
The response from SecurityTrails.
Example output
{
  "data": {
    "pages": 1,
    "records": [
      {
        "first_seen": "2020-01-01",
        "last_seen": "2026-01-01",
        "values": [
          {
            "ip": "192.0.2.10",
            "ip_count": 1
          }
        ]
      }
    ],
    "type": "a/ipv4"
  }
}

Get domain intelligence

Read current DNS and domain metadata.

Inputs

HostnamehostnametextRequired
Fully qualified domain name without a URL scheme, path, or port.

Outputs

dataobject
The response from SecurityTrails.
Example output
{
  "data": {
    "current_dns": {
      "a": {
        "first_seen": "2020-01-01",
        "values": [
          {
            "ip": "192.0.2.10",
            "ip_count": 1
          }
        ]
      }
    },
    "hostname": "example.com"
  }
}

Get domain WHOIS

Read the current WHOIS registration record available for a domain.

Inputs

HostnamehostnametextRequired
Fully qualified domain name without a URL scheme, path, or port.

Outputs

dataobject
The response from SecurityTrails.
Example output
{
  "data": {
    "createdDate": "2000-01-01T00:00:00Z",
    "domain": "example.com",
    "expiresDate": "2027-01-01T00:00:00Z",
    "nameServers": [
      "ns1.example.com"
    ],
    "registrarName": "Example Registrar"
  }
}

On this page