---
title: "SPF record check"
method: GET
path: "/email/spf"
tags: ["email"]
---

# SPF record check

`GET /email/spf`

## Request

- Base URL: `https://intodns.ai/api`
- URL: `https://intodns.ai/api/email/spf`
- Auth: none required

Analyze SPF (Sender Policy Framework) record for a domain.

## Query parameters

- `domain` string, required

## Response `200`

SPF analysis result

- SPFResult
  - `exists` boolean
  - `record` string
  - `valid` boolean
  - `mechanisms` string[]
  - `lookups` integer
  - `lookupGraph` object: Recursive SPF include/redirect lookup graph
  - `flattened` object: Generated flattened SPF record and warnings
  - `warnings` string[]

---

[API](https://skmtc.dev/intodns/apis/intodns-ai-api.md) · [All operations](https://skmtc.dev/intodns/apis/intodns-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/intodns/apis/intodns-ai-api/revisions/c6c196b2fb4c?raw)
