{"uid":"cap_bGE-YduuC2wWqMBm3CccQ","slug":"http-srv-record-lookup-via-cloudflare-doh-a842bcd7","name":"HTTP SRV Record Lookup via Cloudflare DoH","description":"HTTP service discovery (_http._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's http service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/http-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_3BO0Ja0alTpWmnU8c6j4m","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 _http._tcp.<domain> SRV DNS records (priority, weight, port, target host) using Cloudflare DNS-over-HTTPS","exampleAgentPrompt":"Look up the _http._tcp SRV records for example.com so I can find out which host and port its HTTP service is running on.","exampleUseCases":[{"title":"Discover HTTP service host and port","prompt":"Can you find the SRV records for _http._tcp.mycompany.com? I need to know the target host, port, priority, and weight so I can connect to the right server."},{"title":"Validate HTTP service configuration","prompt":"Check the _http._tcp SRV record for api.startup.io — I want to confirm the HTTP service is pointing to the correct host and port before we go live."},{"title":"Automate service endpoint discovery","prompt":"For each of these domains, look up their _http._tcp SRV records so I can build a map of where each domain's HTTP service lives — start with platform.example.net."}],"resultDescription":"Returns the SRV record set for _http._tcp.<domain> queried via Cloudflare DoH, including one or more records each containing: priority (integer), weight (integer), port (integer), and target hostname. Also includes the record TTL and DNS response code.","failureModes":["Domain has no _http._tcp SRV record — returns empty record set or NXDOMAIN","Malformed domain input — validation error returned","Cloudflare DoH upstream timeout or error — request may fail with 5xx","Domain does not exist — NXDOMAIN response code","Network error between service and Cloudflare DoH resolver"],"whenToPreferThis":"Use this endpoint when you need to discover the exact host and port a domain's HTTP service is served from via standard DNS SRV service discovery, without guessing subdomains. Prefer this over A/AAAA lookups when the domain uses SRV records for service location. Especially useful for federated services, self-hosted infrastructure, or protocols that rely on DNS-SD. Choose this over the OpenDNS SRV variant when you specifically want Cloudflare DoH as the resolver for consistency or privacy reasons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:22.668Z","isFirstParty":false,"canonicalSlug":"http-srv-record-lookup-via-cloudflare-doh-a842bcd7"}