{"uid":"cap_ojDH4dqS-JwrzveMPSbza","slug":"matrix-tcp-srv-record-lookup-dc30e236","name":"Matrix TCP SRV Record Lookup","description":"MATRIX service discovery (_matrix._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's matrix service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/matrix-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_wZvLZ2kyGdETLxJK-eosg","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 _matrix._tcp SRV DNS records for a domain to discover where its Matrix homeserver lives (priority, weight, port, target host).","exampleAgentPrompt":"Look up the Matrix SRV record for matrix.org so I can find out which host and port its homeserver is running on for federation.","exampleUseCases":[{"title":"Matrix federation homeserver discovery","prompt":"I'm setting up Matrix federation and need to connect to example.com — can you look up their _matrix._tcp SRV record so I know the right host and port to use?"},{"title":"Verifying Matrix deployment configuration","prompt":"We just deployed a Matrix homeserver for acme-corp.com — can you pull the _matrix._tcp SRV record for that domain to confirm it's pointing to the right host and port?"},{"title":"Debugging Matrix server connection failure","prompt":"My Matrix client can't connect to a federated server on mozilla.org — can you resolve the _matrix._tcp SRV record for mozilla.org so I can see what host and port it's supposed to be using?"}],"resultDescription":"Returns SRV record data for _matrix._tcp.<domain> including priority, weight, port number, and target hostname, sourced from Cloudflare DoH. Enables a Matrix client or federation service to directly connect to the correct homeserver without guessing.","failureModes":["Domain has no _matrix._tcp SRV record — returns empty or NXDOMAIN response","Domain does not exist — DNS resolution fails entirely","Cloudflare DoH is temporarily unavailable — request times out","Malformed domain input — query rejected or returns error","Payment of $0.01 USDC not fulfilled — request blocked by x402 paywall"],"whenToPreferThis":"Use this endpoint when you need to discover a Matrix homeserver's actual host and port for a given domain via the standard SRV record mechanism, especially for federation or client configuration. Prefer this over guessing default ports or using A/AAAA records directly, as SRV records carry authoritative priority, weight, and port data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:45.914Z","isFirstParty":false,"canonicalSlug":"matrix-tcp-srv-record-lookup-dc30e236"}