> ## Documentation Index
> Fetch the complete documentation index at: https://spotzee.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SPF Lookup

> Find the SPF TXT record published for a domain.

Use the SPF lookup to find the `v=spf1` TXT record published for a domain. The result contains `exists` and, when a record is found, a `spfRecord` array with the matching TXT values.

> [!NOTE]
>
> Enter a domain at [spotzee.com/tools/spf-lookup](https://spotzee.com/tools/spf-lookup/).

## Check a domain

**1. Enter the domain**

Use the domain whose SPF record you want to inspect.

**2. Read the returned records**

If `exists` is `true`, inspect every value in `spfRecord`. If it is `false`, the lookup found no matching record. A DNS query failure can also return `exists: false` with an `error` message; check that message before changing DNS.

**3. Evaluate the record separately**

Review mechanisms such as `include:`, `a`, `mx`, and `redirect:` against your authorised senders. The lookup returns raw records; it does not parse mechanisms, count DNS lookups, or run SPF against a message.

Publishing more than one SPF record can make SPF evaluation fail. Check the returned array before adding another record. To inspect broader domain authentication signals, see the [email health check](https://spotzee.com/docs/guides/tools/email-validation/email-health-check.md).

The same lookup is available through `POST /generic/email/spf-lookup` in the Spotzee Extended API. API calls use your credit balance; see [pricing](https://spotzee.com/pricing/) for the current rate.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.