# DNS SRV Record Lookup for IMAP (_imap._tcp)

> DNS SRV Record Lookup for IMAP (_imap._tcp) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.007/call, status unknown (last checked 2026-09-29).

Looks up SRV records at _imap._tcp.{hostname} for a given registrable domain to discover IMAP server configuration

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-srv-imap?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-srv-record-lookup-for-imap-imap-tcp-7e8bacd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XebdLDlcKHUlo5PrB1a2e

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 dns-srv-record-lookup-for-imap-imap-tcp-7e8bacd0 -d '<json body>'
```

Example prompt: What IMAP server and port does gmail.com advertise via its _imap._tcp SRV record?

## When to prefer this

Use this endpoint when you need to discover IMAP server configuration for a domain via DNS SRV records (_imap._tcp) as part of email client autoconfiguration or service discovery. Prefer the unpaid POST /v1/sandbox/dns-srv-imap endpoint first for testing. Choose this over manual DNS tools when an AI agent needs programmatic, structured SRV record data with x402 micropayment-based access.

## Known failure modes

- Domain has no _imap._tcp SRV record — returns empty or NXDOMAIN result
- Invalid or malformed hostname input — validation error
- DNS resolution timeout or upstream DNS failure — network error
- Hostname exceeds 253-character limit — schema validation failure
- Payment of exactly $0.007 USDC not provided — 402 Payment Required

## How this service works

Call when an agent needs SRV records at _imap._tcp.{hostname} for IMAP. The caller sends the registrable domain, not the underscored name. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/dns-srv-imap first.

## Output

Returns SRV record data for the _imap._tcp subdomain of the given hostname, including target server hostname, port, priority, and weight values as advertised in DNS.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "hostname": {
   "type": "string",
   "examples": [
    "example.com"
   ],
   "maxLength": 253,
   "minLength": 1,
   "description": "Public DNS hostname such as example.com. Not a URL, not an IP literal, and not a private name."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dns-srv-record-lookup-for-imap-imap-tcp-7e8bacd0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
