{"uid":"cap_ufkknHRhV8OsvEKzWgOmH","slug":"did-web-resolve-f3220633","name":"did-web-resolve","description":"did:web resolver: converts a did:web identifier (or domain) to its DID document URL (/.well-known/did.json or /path/did.json), fetches it and returns the id, controller, verification methods (id, type, public key kind), authentication/assertion references, services, and whether the document id matches the DID. Decentralised-identity checks for agent-to-agent trust. $0.01 per DID.","url":"https://intel.rallylive.ca/dev/did-web","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_C_Q1QmWKc-ooW4mDyvO2q","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 a did:web DID identifier or domain to its DID document, returning verification methods, authentication references, services, and document validity.","exampleAgentPrompt":"Can you resolve the did:web DID for example.com and tell me its verification methods, controller, and whether the document ID matches the DID?","exampleUseCases":[{"title":"Agent-to-agent trust verification","prompt":"Before I connect to the agent at agent.acme.com, can you resolve its did:web DID and confirm its verification methods and whether the document ID is valid?"},{"title":"Auditing a domain's decentralized identity","prompt":"Check whether decentralized.identity.org has a valid DID document — I want to see its controller, any listed services, and if the document ID matches the DID."},{"title":"Extracting public keys for encrypted messaging","prompt":"Look up the did:web identifier for did:web:messaging.myplatform.io and give me all its public keys and authentication references so I can set up a secure channel."}],"resultDescription":"Returns the DID document's id, controller, an array of verification methods (each with id, type, and public key), references for authentication and assertion, listed services, and a boolean indicating whether the document's id field matches the resolved DID.","failureModes":["DID or domain has no /.well-known/did.json or /path/did.json — returns not found error","Malformed did:web identifier — input validation error","DID document is unreachable due to network/DNS issues — fetch failure","DID document id does not match the resolved DID — flagged as mismatch in response","Invalid JSON in the remote DID document — parse error"],"whenToPreferThis":"Choose this endpoint when you need to resolve did:web identifiers specifically (not did:key, did:ion, or other DID methods), particularly for agent-to-agent trust checks, verifying a domain's decentralized identity, or extracting cryptographic keys and services from a DID document without running your own resolver infrastructure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:19.810Z","isFirstParty":false}