---
title: "DNS Lookup: A, MX, TXT, NS Records with SPF and DMARC Check"
method: GET
path: "/v1/dns-lookup"
tags: ["DNS"]
---

# DNS Lookup: A, MX, TXT, NS Records with SPF and DMARC Check

`GET /v1/dns-lookup`

## Request

- Base URL: `https://api.ambolt.dev`
- URL: `https://api.ambolt.dev/v1/dns-lookup`
- Auth: none required

Resolve public DNS records for a domain (A, AAAA, MX, TXT, NS, CNAME) and report whether SPF and DMARC records are present, with their policies. DNS queries only; no connection is made to the domain itself.

## Query parameters

- `domain` string, required: Domain name, e.g. example.com.
- `types` string[]: Record types. Default: all.
- `free` '1'

## Response `200`

Result (JSON). Every result names its source and the time it was read.

- object

## Other responses

- `400`: Invalid input; not charged.
- `402`: Payment required: 0.003 USD in USDC (x402 v2).

---

[API](https://skmtc.dev/ambolt/apis/ambolt-data-tools.md) · [All operations](https://skmtc.dev/ambolt/apis/ambolt-data-tools/llms.txt) · [OpenAPI document](https://skmtc.dev/ambolt/apis/ambolt-data-tools/revisions/8397885dd82f?raw)
