{"uid":"cap_QZdBK1V9L5A-laYRQWJvj","slug":"https-srv-record-lookup-via-cloudflare-doh-f1068909","name":"HTTPS SRV Record Lookup via Cloudflare DoH","description":"HTTPS service discovery (_https._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's https service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/https-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_Q3fMkj5iRxo41lGXKtVb-","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":"Returns SRV records for the _https._tcp.<domain> service discovery entry, providing priority, weight, port, and target host for HTTPS services on a domain.","exampleAgentPrompt":"Can you look up the _https._tcp SRV DNS record for example.com so I can find out what host and port its HTTPS service is running on?","exampleUseCases":[{"title":"Locate HTTPS service before connecting","prompt":"Before my app tries to connect to api.acmecorp.com, can you check the _https._tcp SRV record so I know the exact host and port I should be hitting?"},{"title":"Audit service discovery configuration","prompt":"We're auditing our DNS setup — can you pull the _https._tcp SRV record for mycompany.com and tell me the priority, weight, port, and target host?"},{"title":"Debug missing HTTPS SRV record","prompt":"Our HTTPS clients can't auto-discover the service endpoint for partnerdomain.io — can you check if there's a valid _https._tcp SRV record and what it says?"}],"resultDescription":"Returns one or more SRV DNS records for _https._tcp.<domain>, each containing: priority (lower = preferred), weight (load-balancing hint), port number, and target hostname — sourced via Cloudflare DNS over HTTPS.","failureModes":["Domain has no _https._tcp SRV record — returns empty result set","Domain does not exist — NXDOMAIN error","Cloudflare DoH upstream timeout or unreachable — service error","Invalid domain name input — request validation failure","Rate limiting or payment failure — 402 or 429 response"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover where a domain's HTTPS service is hosted (host, port, priority, weight) via the standard SRV DNS mechanism, without guessing subdomains or hardcoding ports. Prefer this over generic DNS A/AAAA lookups when the service uses SRV-based discovery, such as in federated protocols, SVCB/HTTPS record-adjacent setups, or microservice infrastructure. Backed by Cloudflare DoH for reliability and privacy.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:38.685Z","isFirstParty":false,"canonicalSlug":"https-srv-record-lookup-via-cloudflare-doh-f1068909"}