---
title: "Dns Lookup"
method: GET
path: "/v1/domains/checker/dns"
tags: ["domains"]
---

# Dns Lookup

`GET /v1/domains/checker/dns`

## Request

- Base URL: `https://api.karma.domains`
- URL: `https://api.karma.domains/v1/domains/checker/dns`
- Auth: HTTP bearer

Live DNS lookup across public resolvers (A, AAAA, MX, NS, TXT, …). Costs 1 credit from spendable balance for Pro (8 for agent accounts); cache hits free.

## Query parameters

- `domain` string, required: Domain name (percent-encode non-ASCII)
- `dns_resolver` string, nullable: Preferred resolver tab: google, cloudflare, opendns, or quad9

## Response `200`

Successful Response

- DnsLookupResultSchema: DNS lookup result for a single domain across public resolvers
  - `domain` string, required: Normalized domain name
  - `default_resolver` string: Resolver id to highlight in the UI
  - `dns` object: Results keyed by resolver id

## Other responses

- `402`: Payment required — x402 agent credits. Read PAYMENT-REQUIRED header (base64 JSON) and retry same URL with PAYMENT-SIGNATURE and optional X-Karma-Plan-Id.
- `422`: Validation Error

## Changes

- **2026-11-05** `46cc2e2767b0`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Operation history](https://skmtc.dev/karma/apis/karma-domains-public-api/changes/v1/domains/checker/dns/get.md)

---

[API](https://skmtc.dev/karma/apis/karma-domains-public-api.md) - [All operations](https://skmtc.dev/karma/apis/karma-domains-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/karma/apis/karma-domains-public-api/revisions/a86fc0bfa15d?raw)
