{"uid":"cap_6LPcaK3nr6wlSMjJTPkAT","slug":"dns-srv-record-lookup-for-turns-turns-tcp-64bfeed9","name":"DNS SRV Record Lookup for TURNS (_turns._tcp)","description":"Call when an agent needs SRV records at _turns._tcp.{hostname} for TURNS. The caller sends the registrable domain, not the underscored name. Exact $0.008 USDC. Prefer unpaid POST /v1/sandbox/dns-srv-turns first.","url":"https://agentshelf.syntexa.ch/v1/dns-srv-turns?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.008","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.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_HFCP-Dj-O9Tf9jSB90sl5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","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 at _turns._tcp.{hostname} for TURNS (Traversal Using Relays around NAT with TLS) service discovery given a registrable domain name.","exampleAgentPrompt":"Can you look up the TURNS SRV records for example.com so I can find its TURNS relay server address and port?","exampleUseCases":[{"title":"WebRTC TURNS relay discovery","prompt":"I'm setting up a WebRTC application and need to find the TURNS relay servers configured for mycompany.com — can you look up the _turns._tcp SRV records for that domain?"},{"title":"Diagnose missing TURNS configuration","prompt":"Can you check whether turns.example.org has any TURNS SRV records configured? I'm troubleshooting why our media relay isn't connecting."},{"title":"Automate TURNS endpoint inventory","prompt":"Pull the TURNS SRV records for voip-provider.net so I can add the relay endpoints to our network configuration."}],"resultDescription":"Returns the SRV record set found at _turns._tcp.{hostname}, including priority, weight, port, and target fields for each record, enabling the caller to connect to the appropriate TURNS relay server.","failureModes":["Domain has no _turns._tcp SRV records configured — returns empty or NXDOMAIN result","Invalid or malformed hostname input — validation error","DNS resolution timeout or upstream DNS failure","Hostname exceeds 253 characters or is empty — schema validation error","Payment not provided or insufficient — HTTP 402 response"],"whenToPreferThis":"Use this endpoint when you need to programmatically discover TURNS relay server endpoints for a given domain via DNS SRV lookup, particularly in WebRTC, VoIP, or NAT traversal contexts. Prefer the free sandbox endpoint POST /v1/sandbox/dns-srv-turns first if available; use this paid endpoint when the sandbox is unavailable or production reliability is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:09.842Z","isFirstParty":false,"canonicalSlug":"dns-srv-record-lookup-for-turns-turns-tcp-64bfeed9"}