# is-email-hosted-by-mailgun

> is-email-hosted-by-mailgun is a paid API for AI agents from email.intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Detects whether a domain's email is hosted by Mailgun by querying MX records via Cloudflare DoH and matching against Mailgun's mail-exchanger patterns.

## Facts

- Endpoint: GET https://email.intel.rallylive.ca/email/hosted-by/mailgun?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/is-email-hosted-by-mailgun-00ab161e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q9__AwR5j-ZY-qGdCEAEq

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability is-email-hosted-by-mailgun-00ab161e
```

Example prompt: Can you check if stripe.com's email is hosted by Mailgun — look up their MX records and tell me whether they match Mailgun's mail-exchanger patterns?

## When to prefer this

Choose this endpoint when you need a fast, single-domain check specifically for Mailgun hosting detection using live MX record lookups via Cloudflare DoH. Prefer this over generic MX lookup tools when you need structured yes/no provider detection with matched pattern detail, and over bulk variants when checking a single domain at $0.01 per call.

## Known failure modes

- Domain has no MX records — returns no match with empty MX host list
- Cloudflare DoH lookup failure — DNS resolution error returned
- Invalid or malformed domain input — request rejected
- Domain uses a custom or obfuscated MX configuration that doesn't match known Mailgun patterns — false negative possible
- Rate limiting or payment failure — 402 payment required

## How this service works

Is the domain's email hosted by mailgun? Looks up the MX records (Cloudflare DoH) and matches them against mailgun's mail-exchanger patterns, returning yes/no, the MX hosts and which matched. Provider detection for deliverability, sales and migration work. $0.01 per lookup.

## Output

Returns a yes/no answer indicating whether the domain's email is hosted by Mailgun, along with the full list of MX hosts discovered and which specific MX hosts matched Mailgun's known mail-exchanger patterns.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/is-email-hosted-by-mailgun-00ab161e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from email.intel.rallylive.ca](https://www.zero.xyz/host/email.intel.rallylive.ca/llms.txt)
