# DNS SRV Record Lookup for AMQP (_amqp._tcp)

> DNS SRV Record Lookup for AMQP (_amqp._tcp) is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-02).

Resolves SRV records at _amqp._tcp.{hostname} to return AMQP broker connection details for a given registrable domain

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/dns-srv-amqp?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dns-srv-record-lookup-for-amqp-amqp-tcp-c83cacc1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-TFX135GyTTvrRG5hkR4W

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-amqp-amqp-tcp-c83cacc1 -d '<json body>'
```

Example prompt: Look up the AMQP SRV record for example.com so I can find out which message broker host and port to connect to.

## When to prefer this

Use this endpoint when an agent needs to programmatically discover an AMQP broker's host and port via DNS SRV service discovery, without needing to hardcode broker addresses. Prefer the unpaid POST /v1/sandbox/dns-srv-amqp endpoint for testing; use this paid endpoint for production queries where results need to be reliable and billable.

## Known failure modes

- No SRV record found at _amqp._tcp.{hostname} — domain has no AMQP SRV entry configured
- Invalid or malformed hostname input — rejected before DNS query
- DNS resolution timeout or upstream failure — transient network error
- Hostname exceeds 253-character limit — validation error
- Payment not included or insufficient — 402 response requiring $0.01 USDC

## How this service works

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

## Output

Returns the SRV record details found at _amqp._tcp.{hostname}, including priority, weight, port number, and target hostname of the AMQP broker. If no record exists, returns an empty or not-found response.

## 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-amqp-amqp-tcp-c83cacc1/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)
