# Domain Dns

> `POST /osint/dns` · Domain records

Canonical page: https://clawifi.dev/docs/api/post-osint-dns

`POST https://api.clawifi.dev/osint/dns` · 1 credit(s) per call

- Send your key as `Authorization: Bearer $CLAWIFI_API_KEY`; see [Authentication](https://clawifi.dev/docs/authentication).
- Add `"dry_run": true` (or `?dry_run=true`) to see what the call would cost; nothing runs and nothing is charged.
- Credits: 1 per call (search, plain fetch/scrape, article extract, package/dataset/code/archive/academic lookup, single OSINT lookup, social reads). Every price is on [Pricing and credits](https://clawifi.dev/docs/pricing-and-credits).

## Request

**cURL**

```sh
curl -X POST https://api.clawifi.dev/osint/dns \
  -H "Authorization: Bearer $CLAWIFI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"domain":"example.com"}'
```

**Python**

```python
from clawifi import Clawifi

client = Clawifi()  # reads CLAWIFI_API_KEY
result = client.post("/osint/dns", json={"domain":"example.com"})
```

### Body

| Field | Type | Default | Required |
| --- | --- | --- | --- |
| `domain` | string |  | yes |

## Response

200 with a `FetchEnvelope` object: `cache_hit`, `data`, `diagnostics`, `entity_type`, `errors`, `mode_used`, `source`, `success`.

Errors use the shared shape; see [Errors](https://clawifi.dev/docs/errors). Try public operations without a key in the [playground](https://clawifi.dev/playground).
