{"uid":"cap__lTp8fpqVNV-lZm5OHZld","slug":"hkp-srv-record-lookup-via-cloudflare-doh-05f60b05","name":"HKP SRV Record Lookup via Cloudflare DoH","description":"HKP service discovery (_hkp._tcp.<domain>): SRV records with priority, weight, port and target host, from Cloudflare DoH. Tells a client where the domain's hkp service lives without guessing hosts. $0.01 per lookup.","url":"https://dns.intel.rallylive.ca/dns/srv/hkp-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_nMhyFVFeKDd4aKcKypyXq","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 SRV records for the _hkp._tcp.<domain> service discovery endpoint, returning priority, weight, port, and target host for a domain's HKP (HTTP Keyserver Protocol) service.","exampleAgentPrompt":"Can you look up the HKP service SRV record for keys.example.com so I can find out which host and port their OpenPGP keyserver is running on?","exampleUseCases":[{"title":"Locate PGP keyserver for email encryption","prompt":"I need to send an encrypted email to someone at protonmail.com — can you find the HKP service details for protonmail.com so I know which keyserver host and port to contact for their public keys?"},{"title":"Verify keyserver infrastructure for a domain","prompt":"We're auditing the DNS setup for gnupg.net — can you pull the _hkp._tcp SRV record so I can see what priority, weight, port, and host they've configured for their keyserver?"},{"title":"Automate keyserver discovery in key-fetching workflow","prompt":"Before fetching a user's public PGP key, I need to know the correct HKP keyserver endpoint for openpgp.org — what does the SRV record say about the host and port?"}],"resultDescription":"Returns SRV record data for the _hkp._tcp.<domain> DNS query, including one or more records each with: priority (lower = preferred), weight (load-balancing hint), port number, and target hostname where the HKP service can be reached. Data is sourced from Cloudflare's DNS over HTTPS resolver.","failureModes":["No SRV record exists for the domain — returns empty or NXDOMAIN response","Domain does not exist — DNS resolution fails entirely","Domain provided without required query parameter — returns validation error","Cloudflare DoH upstream timeout or outage — may return error or stale result","Malformed domain input — may return error response"],"whenToPreferThis":"Choose this endpoint when you need to discover the HKP (HTTP Keyserver Protocol) service location for a domain without hardcoding hostnames or ports. Ideal for agents building OpenPGP key-fetching workflows, email encryption clients, or any application that needs to dynamically resolve a domain's keyserver endpoint via standard DNS SRV records.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:59:38.404Z","isFirstParty":false,"canonicalSlug":"hkp-srv-record-lookup-via-cloudflare-doh-05f60b05"}