{"uid":"cap_f3ygPXUReRU39zaC1qJyl","slug":"stun-tcp-srv-record-lookup-d2edfb08","name":"STUN TCP SRV Record Lookup","description":"STUN service discovery (_stun._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's stun service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/stun-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_8rB3ercr6PeSyvAnpsdQI","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 _stun._tcp.<domain> SRV DNS records via Cloudflare DoH, returning the priority, weight, port, and target host for a domain's STUN service.","exampleAgentPrompt":"Look up the STUN TCP SRV record for example.com so I can find out the hostname and port of its STUN server.","exampleUseCases":[{"title":"WebRTC ICE server configuration","prompt":"Find the STUN server hostname and port for webrtc-app.io by looking up its _stun._tcp DNS SRV record — I need this to configure ICE candidates."},{"title":"VoIP network topology discovery","prompt":"What STUN service does voipprovider.com use? Can you resolve its _stun._tcp SRV record and give me the target host, port, priority, and weight?"},{"title":"Validating STUN SRV DNS setup","prompt":"Check if communications.example.org has a properly configured _stun._tcp SRV record in DNS and tell me what it points to."}],"resultDescription":"Returns one or more SRV records for the _stun._tcp.<domain> DNS lookup, each containing: priority (integer), weight (integer), port (integer), and target hostname. If no SRV records exist, returns an empty or negative result. Data is sourced from Cloudflare DoH for reliability and speed.","failureModes":["Domain has no _stun._tcp SRV record — returns empty result or NXDOMAIN","Invalid or malformed domain name input — may return an error","Cloudflare DoH upstream timeout or failure — transient error","Domain exists but STUN SRV record is misconfigured — returns whatever DNS has, which may be incorrect"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover a domain's STUN service endpoint without manually guessing hostnames. Ideal for WebRTC, VoIP, or NAT traversal applications that need to dynamically configure STUN servers from DNS. Prefer this over generic DNS resolvers when you specifically need _stun._tcp SRV records in a structured, pay-per-lookup API format.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T18:56:29.640Z","isFirstParty":false,"canonicalSlug":"stun-tcp-srv-record-lookup-d2edfb08"}