Skip to content
Back to skills

Mx Lookup Get {Domain}

ASecurity

Retrieve all MX records for a domain. Results are sorted by priority ascending (lowest numeric value has highest mail delivery priority per RFC 5321).

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 22, 2026
ai-agentsgoapi

Works with

  • api

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add bobadilla-tech/requiems-api-skills --skill 'mx-lookup-get-{domain}' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mx Lookup Get {Domain}?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mx Lookup Get {Domain}
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bobadilla-tech-mx-lookup-get-domain/badge)](https://www.skillsdirectory.com/skills/bobadilla-tech-mx-lookup-get-domain)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mx-lookup-get-{domain}
api: MX Lookup
method: GET
path: /v1/networking/mx/{domain}
base_url: https://requiems.xyz
description: Retrieve all MX records for a domain. Results are sorted by priority ascending (lowest numeric value has highest mail delivery priority per RFC 5321).
---

## Endpoint

**GET https://requiems.xyz/v1/networking/mx/{domain}**

## MX Lookup

Retrieve all MX records for a domain. Results are sorted by priority ascending (lowest numeric value has highest mail delivery priority per RFC 5321).

## Parameters

| Name | Type | Required | Location | Description |
| ---- | ---- | -------- | -------- | ----------- |
| `domain` | string | yes | path | The domain name to look up MX records for (e.g. gmail.com) |

## Response Example

```json
{
  "data": {
    "domain": "gmail.com",
    "records": [
      { "host": "gmail-smtp-in.l.google.com.", "priority": 5 },
      { "host": "alt1.gmail-smtp-in.l.google.com.", "priority": 10 },
      { "host": "alt2.gmail-smtp-in.l.google.com.", "priority": 20 },
      { "host": "alt3.gmail-smtp-in.l.google.com.", "priority": 30 },
      { "host": "alt4.gmail-smtp-in.l.google.com.", "priority": 40 }
    ]
  },
  "metadata": {
    "timestamp": "2026-01-01T00:00:00Z"
  }
}
```

## Response Fields

| Field | Type | Description |
| ----- | ---- | ----------- |
| `domain` | string | The domain that was queried |
| `records` | array<object> | List of MX records, sorted by priority ascending (lowest number = highest priority) |
| `records[].host` | string | Fully-qualified hostname of the mail server (typically ends with a trailing dot) |
| `records[].priority` | integer | MX priority value. Lower values have higher delivery priority per RFC 5321. |

## Errors

- `400` **bad_request** — The domain parameter is not a valid domain name.
- `404` **not_found** — No MX records were found for the domain (domain may not accept email).
- `500` **internal_error** — DNS lookup failed due to an unexpected server error.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…