Skip to content
Maua.Culturewire

SecurityTrails

Current and historical DNS, subdomains and WHOIS data

SecurityCatalog3 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API keySecretRequired

    Where to find them

    1. Sign in at securitytrails.com with your account and open securitytrails.com/app/account/credentials.
    2. Click “Create New API Key”, write a note and copy the key. Each query uses part of the plan's monthly quota; GET /account/usage shows what has been used.

    Get credentials (opens in a new tab)

Tools (3)

  • SecurityTrails API requestSECURITYTRAILS_SEND_REQUEST

    Authenticated call to the SecurityTrails API (https://api.securitytrails.com/v1). Any endpoint of the API is allowed. Examples: GET /domain/{domain}, GET /domain/{domain}/subdomains, GET /domain/{domain}/tags, GET /domain/{domain}/whois, GET /history/{domain}/dns/a (also aaaa, mx, ns, soa, txt), GET /history/{domain}/whois, GET /domain/{domain}/associated, POST /domains/list {"filter": {"ipv4": "1.2.3.4"}} (domains that point to an IP), GET /account/usage.

    Required scopes

    No scopes required

    Input

    SecurityTrails API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • SubdomainsSECURITYTRAILS_LIST_SUBDOMAINS

    Known subdomains of a domain (passive DNS), already complete (e.g. api.example.com). Uses 1 query of the monthly quota.

    Required scopes

    No scopes required

    Input

    Subdomains input
    NameTypeDescription
    domainrequiredstringDomain, e.g. example.com
  • Current DNS of a domainSECURITYTRAILS_GET_DOMAIN

    Current DNS records of a domain (A, AAAA, MX, NS, SOA and TXT, with since when they are seen and how many domains share each value) and number of subdomains. Uses 1 query of the monthly quota.

    Required scopes

    No scopes required

    Input

    Current DNS of a domain input
    NameTypeDescription
    domainrequiredstringDomain, e.g. example.com