// AGENT DISCOVERY — 3 PROTOCOLS
GET https://structureclerk.ca/api/agent-manifest
{
"name": "StructureClerk",
"version": "2.0.0",
"pricing": "x402-metered",
"auth_required": false,
"protocols": {
"a2a": "/api/a2a",
"mcp": "/api/mcp-http",
"rest": "/api/agent/*"
},
"jurisdictions_covered": 170,
"languages": ["fr", "en"]
}A2A 0.2.1MCP 2025-03-26REST v1ERC-8004 registeredx402 USDC
Available endpoints
All endpoints are public. Human users: always free. Agent callers: metered via x402 (USDC on Base Sepolia). Include the header X-Caller-Type: agent for agent access.
POST
/api/a2aA2A v0.2.1A2A — Agent-to-Agent▼POST
/api/mcp-httpMCP 2025-03-26MCP — Model Context Protocol▼GET
/api/agent-manifestRESTAgent Manifest▼POST
/api/agent/compliance-checkRESTCompliance Analysis▼GET
/api/agent/jurisdiction-map?jurisdiction=QCRESTJurisdiction Mapping▼POST
/api/agent/roadmapRESTCompliance Roadmap▼MCP Client Config
Add this to your MCP client configuration to use StructureClerk tools.
{
"mcpServers": {
"structureclerk": {
"url": "https://structureclerk.ca/api/mcp-http",
"transport": "streamable-http"
}
}
}ERC-8004 Registered Agent
StructureClerk is registered on the ERC-8004 standard — the identity protocol for autonomous agents co-authored by Google, MetaMask, Coinbase and the Ethereum Foundation. On-chain verifiable identity, portable reputation.
x402 Agent Payments — USDC on Base Sepolia
StructureClerk uses the x402 protocol (HTTP 402 Payment Required) for machine-to-machine payments. Human users are always free. AI agents pay per API call in USDC on Base Sepolia testnet.
| Endpoint | Price | Description |
|---|---|---|
/api/agent/jurisdiction-map | $0.01 USDC | Jurisdiction mapping (170) |
/api/agent/compliance-check | $0.10 USDC | Compliance analysis |
/api/agent/roadmap | $0.15 USDC | Compliance roadmap |
/api/agent/algorithmic-compliance | $0.20 USDC | Algorithmic assessment |
/api/a2a | $0.10 USDC | A2A protocol (any method) |
/api/mcp-http (tools/call) | $0.05 USDC | MCP tools/call only |
x402 PAYMENT FLOW
1. Agent sends request with X-Caller-Type: agent
2. Server returns 402 Payment Required + x402 payload
3. Agent creates USDC payment on Base Sepolia
4. Agent retries request with X-Payment header
5. Server verifies payment and returns data
// Example 402 response:
{
"x402Version": 1,
"accepts": [{
"scheme": "exact",
"network": "base-sepolia",
"maxAmountRequired": "100000",
"payTo": "0x...",
"asset": "USDC on base-sepolia"
}]
}