{"uid":"cap_95u6xTuihK8Cw5AuVGy8p","slug":"stun-srv-record-lookup-udp-79e634af","name":"STUN SRV Record Lookup (UDP)","description":"STUN service discovery (_stun._udp.<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-udp?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_wEIDv7wTR7KklHm3ve4bU","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":"Looks up SRV records for the _stun._udp service of a domain via Cloudflare DNS-over-HTTPS, returning priority, weight, port, and target host for STUN service discovery.","exampleAgentPrompt":"Can you find the STUN server for example.com by looking up its _stun._udp SRV DNS records — I need the hostname, port, priority, and weight?","exampleUseCases":[{"title":"WebRTC app STUN server discovery","prompt":"I'm building a WebRTC app and need to know what STUN server example.com uses — can you look up its _stun._udp SRV records and give me the target host and port?"},{"title":"Diagnosing NAT traversal setup","prompt":"We're having trouble with peer-to-peer connections on our platform at mycompany.io — can you check what STUN server is configured by looking up the _stun._udp SRV records for that domain?"},{"title":"Verifying STUN configuration after DNS change","prompt":"I just updated the DNS for voipplatform.net — can you look up the _stun._udp SRV records to confirm the STUN server is pointing to the right host and port now?"}],"resultDescription":"Returns one or more SRV records for the _stun._udp.<domain> DNS name, each containing priority, weight, port number, and the target hostname of the STUN server. If no SRV records exist, returns an empty or negative response.","failureModes":["Domain has no _stun._udp SRV records — returns empty result set","Invalid or non-existent domain — DNS NXDOMAIN response","Cloudflare DoH upstream timeout or error","Malformed domain input causing query failure","Domain exists but STUN SRV record is misconfigured or points to unreachable host"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover a domain's STUN server configuration via DNS without guessing hostnames. Prefer this over manual DNS lookups or generic DNS tools when you specifically need _stun._udp SRV records for WebRTC, VoIP, or NAT traversal applications. It is ideal for agents automating infrastructure checks, network diagnostics, or service configuration validation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T06:50:04.125Z","isFirstParty":false,"canonicalSlug":"stun-srv-record-lookup-udp-79e634af"}