# did-web-resolve

> did-web-resolve is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Resolves a did:web DID identifier or domain to its DID document, returning verification methods, authentication references, services, and document validity.

## Facts

- Endpoint: GET https://intel.rallylive.ca/dev/did-web
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/did-web-resolve-f3220633
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ufkknHRhV8OsvEKzWgOmH

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability did-web-resolve-f3220633
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/did-web-resolve-f3220633/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
