{"uid":"cap_fDT2H5Lu_FqbeWrW8j6wl","slug":"carddav-srv-record-lookup-via-cloudflare-doh-352596fd","name":"CardDAV SRV Record Lookup via Cloudflare DoH","description":"CARDDAV service discovery (_carddav._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's carddav service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/carddav-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_-q5iqUNivo1PcWgc1VBYI","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 _carddav._tcp SRV DNS records for a domain using Cloudflare DNS-over-HTTPS, returning priority, weight, port, and target host for the domain's CardDAV service.","exampleAgentPrompt":"Can you look up the CardDAV SRV DNS record for example.com so I know which host and port to connect to for contacts sync?","exampleUseCases":[{"title":"CardDAV client auto-configuration","prompt":"I'm building a contacts sync client — can you find the CardDAV SRV record for fastmail.com so I know the right server, port, and priority to connect to?"},{"title":"Verifying CardDAV DNS setup","prompt":"I just configured a CardDAV SRV record for my domain mycompany.org — can you check what the DNS currently returns for _carddav._tcp.mycompany.org to make sure it's live?"},{"title":"IT audit of CardDAV infrastructure","prompt":"Can you pull the _carddav._tcp SRV record for acmecorp.com? I need the target host, port, priority, and weight for our infrastructure documentation."}],"resultDescription":"Returns the SRV records for _carddav._tcp.<domain> as answered by Cloudflare DNS-over-HTTPS, including each record's priority, weight, port, and target hostname, along with TTL and DNS response code (e.g. NOERROR or NXDOMAIN).","failureModes":["Domain has no _carddav._tcp SRV record configured — returns NXDOMAIN or empty answer section","Domain does not exist — DNS lookup fails with NXDOMAIN","Cloudflare DoH upstream unavailable — service may return error or timeout","Malformed domain input — query may fail or return unexpected results","Domain has CardDAV served via other discovery methods (e.g. well-known URL) but no SRV record — returns empty result"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover a domain's CardDAV service location via standard SRV DNS records, especially for auto-configuring contacts clients or auditing DNS infrastructure. Prefer it over manual guessing or well-known URL probing when SRV-based discovery is the target mechanism. Choose it over generic DNS tools when you specifically need _carddav._tcp SRV resolution with Cloudflare's DoH resolver.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:54:53.036Z","isFirstParty":false,"canonicalSlug":"carddav-srv-record-lookup-via-cloudflare-doh-352596fd"}