# Email Deliverability Auditor — SPF DKIM DMARC BIMI (`q_services/email-deliverability-auditor`) Actor

Audit any domain's email authentication (MX, SPF, DMARC, BIMI, DKIM) and get a deliverability score with actionable issues.

- **URL**: https://apify.com/q\_services/email-deliverability-auditor.md
- **Developed by:** [Q Services](https://apify.com/q_services) (community)
- **Categories:** Marketing, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Email Deliverability Auditor — SPF DKIM DMARC BIMI

Audite la configuration d'authentification email de n'importe quel domaine — **MX, SPF, DMARC, BIMI et DKIM** — et retourne un **score de délivrabilité /100** avec la liste des problèmes concrets à corriger.

Idéal pour : diagnostiquer pourquoi vos emails tombent en spam, auditer un portefeuille de clients (agences), monitorer la conformité anti-usurpation.

**Exemple de résultat :**

```json
{
    "domain": "apify.com",
    "deliverabilityScore": 85,
    "hasMx": true,
    "spf": "v=spf1 include:_spf.google.com ~all",
    "spfValid": true,
    "dmarc": "v=DMARC1; p=quarantine; rua=mailto:...",
    "dmarcPolicy": "quarantine",
    "bimi": null,
    "dkimFound": ["google"],
    "issues": ["Aucun enregistrement BIMI (logo de marque dans les boîtes compatibles)."],
    "scrapedAt": "2026-07-10T10:30:00.000Z"
}
```

### Comment l'utiliser

1. Collez votre liste de **domaines** (ou d'adresses email)
2. (Optionnel) Ajoutez vos **sélecteurs DKIM** personnalisés
3. Cliquez sur **Start**

### Combien ça coûte ?

| Événement | Prix |
|---|---|
| Démarrage du run | 0,005 $ |
| Par domaine audité | 0,001 $ |

**Exemple : 500 domaines ≈ 0,51 $.**

### Champs retournés

`domain`, `deliverabilityScore` (/100), `hasMx`, `mxRecords`, `spf`, `spfValid`, `dmarc`, `dmarcPolicy`, `bimi`, `dkimFound` (liste des sélecteurs trouvés), `issues` (liste), `scrapedAt`.

### Limitations

- DKIM n'est vérifiable que si le sélecteur est connu — l'Actor teste les sélecteurs courants ; un sélecteur personnalisé peut exister sans être détecté (ce n'est pas une erreur)
- L'audit lit le DNS public : il reflète la config publiée, pas l'envoi réel

### FAQ

**Puis-je l'utiliser via API ?** Oui, appelable par API et via MCP.

**Est-ce légal ?** L'audit ne lit que des enregistrements DNS publics.

# Actor input Schema

## `domains` (type: `array`):

Domaines à auditer (ou adresses email — le domaine est extrait). Exemple : example.com

## `dkimSelectors` (type: `array`):

Sélecteurs DKIM courants à vérifier. Ajoutez le vôtre si vous le connaissez (ex: 'mail', 'google').

## Actor input object example

```json
{
  "domains": [
    "apify.com"
  ],
  "dkimSelectors": [
    "default",
    "google",
    "selector1",
    "selector2",
    "k1",
    "mail",
    "s1",
    "s2"
  ]
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "domains": [
        "apify.com"
    ],
    "dkimSelectors": [
        "default",
        "google",
        "selector1",
        "selector2",
        "k1",
        "mail",
        "s1",
        "s2"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("q_services/email-deliverability-auditor").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "domains": ["apify.com"],
    "dkimSelectors": [
        "default",
        "google",
        "selector1",
        "selector2",
        "k1",
        "mail",
        "s1",
        "s2",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("q_services/email-deliverability-auditor").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "domains": [
    "apify.com"
  ],
  "dkimSelectors": [
    "default",
    "google",
    "selector1",
    "selector2",
    "k1",
    "mail",
    "s1",
    "s2"
  ]
}' |
apify call q_services/email-deliverability-auditor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=q_services/email-deliverability-auditor",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/PQCLrzCrGOAVw1p7C/builds/9nlqq7R1HaiM1XquW/openapi.json
