{"uid":"cap_ERp7h0DDQbHB3NEZgIpwO","slug":"dns-srv-record-lookup-for-stun-over-tcp-862a2464","name":"DNS SRV Record Lookup for STUN over TCP","description":"Call when an agent needs SRV records at _stun._tcp.{hostname} for STUN over TCP. The caller sends the registrable domain, not the underscored name. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/dns-srv-stun-tcp first.","url":"https://agentshelf.syntexa.ch/v1/dns-srv-stun-tcp?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"hostname":{"type":"string","examples":["example.com"],"maxLength":253,"minLength":1,"description":"Public DNS hostname such as example.com. Not a URL, not an IP literal, and not a private name."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_AYOZNDAAzlYgM-Y7Ufj7u","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Resolves SRV DNS records at _stun._tcp.{hostname} given a registrable domain name, returning STUN-over-TCP service location data.","exampleAgentPrompt":"Look up the STUN-over-TCP SRV DNS records for example.com and tell me which server and port to use.","exampleUseCases":[{"title":"WebRTC peer connection setup","prompt":"I need to find the STUN server and port that example.com advertises over TCP for WebRTC — can you look up its _stun._tcp SRV records?"},{"title":"VoIP infrastructure discovery","prompt":"We're configuring our SIP client to connect to voipprovider.com — look up the STUN TCP SRV record so we know which server and port to use for NAT traversal."},{"title":"Network diagnostic check","prompt":"Can you check whether mycompany.com has any STUN-over-TCP SRV records published in DNS and tell me the priority, weight, port, and target if they exist?"}],"resultDescription":"Returns the SRV record data found at _stun._tcp.{hostname}, including fields such as priority, weight, port number, and target hostname of the STUN server. If no record exists, returns an empty or error response.","failureModes":["No SRV record exists for the given hostname — returns empty result or not-found error","Invalid or malformed hostname input — returns validation error","DNS resolution timeout or network failure — returns error","Hostname exceeds 253-character limit — rejected by schema validation","Payment not provided or insufficient — request rejected with 402 status"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically discover STUN-over-TCP service endpoints via DNS SRV records for a given domain, particularly in WebRTC, VoIP, or NAT traversal scenarios. Prefer the free sandbox POST /v1/sandbox/dns-srv-stun-tcp endpoint during development or testing. Choose this paid endpoint when the sandbox is unavailable or for production lookups.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:45:43.796Z","isFirstParty":false,"canonicalSlug":"dns-srv-record-lookup-for-stun-over-tcp-862a2464"}