{"uid":"cap_Mkz7aTTAECN-De041fwLi","slug":"imap-srv-record-lookup-imap-tcp-5bf953ed","name":"IMAP SRV Record Lookup (_imap._tcp)","description":"IMAP service discovery (_imap._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's imap service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/imap-tcp?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WG0MvDCQMIyLfwJH042vg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves _imap._tcp SRV DNS records for a domain via Cloudflare DoH, returning priority, weight, port, and target host for IMAP service discovery.","exampleAgentPrompt":"Look up the _imap._tcp SRV DNS record for gmail.com so I can see what host and port their IMAP service runs on.","exampleUseCases":[{"title":"Email client auto-configuration","prompt":"I'm setting up an email client and need to auto-discover the IMAP server details for fastmail.com — can you pull the _imap._tcp SRV record so I get the correct host and port?"},{"title":"Mail infrastructure audit","prompt":"I'm auditing the email setup for acme.com — can you check their _imap._tcp SRV record and tell me what priority, weight, port, and target host are published in DNS?"},{"title":"Verify IMAP service migration","prompt":"We just migrated our mail servers for company.org — can you look up the _imap._tcp SRV record to confirm the new IMAP host and port are showing up correctly in DNS?"}],"resultDescription":"Returns SRV record data for _imap._tcp.<domain>, including one or more records each with priority (integer), weight (integer), port (integer), and target hostname — exactly what an email client needs to locate the domain's IMAP server without guessing common hostnames.","failureModes":["Domain has no _imap._tcp SRV record — returns empty answer section","Invalid or malformed domain name — DNS query fails","Domain does not exist (NXDOMAIN) — no records returned","Cloudflare DoH upstream timeout or error — service unavailable","Network or payment failure — x402 payment not processed"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover a domain's IMAP server configuration directly from DNS rather than guessing common hostnames like mail.domain.com or imap.domain.com. Ideal for email client auto-configuration, mail infrastructure audits, or validating that SRV records were correctly published after a mail server migration. Prefer this over MX record lookups when specifically needing IMAP (TCP port-level) service discovery per RFC 6186.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:32.926Z","isFirstParty":false,"canonicalSlug":"imap-srv-record-lookup-imap-tcp-5bf953ed"}