Complete documentation for every endpoint. All responses are JSON. CORS is enabled for all origins.
/.well-known/brand-capsule.jsonReturns a JSON-LD ItemList of all verified Brand Capsules. No authentication required. Cached for 5 minutes.
{ "@context": "https://schema.org", "@type": "ItemList",
"numberOfItems": 42, "itemListElement": [...] }/.well-known/agent.jsonAgent-to-Agent protocol discovery. Returns capabilities, endpoints, and authentication requirements.
{ "name": "RegisteredBrands.AI Verification Agent",
"version": "2.0.0", "capabilities": [...], "endpoints": {...} }/.well-known/agent-payment.jsonMachine-readable payment configuration. Lists accepted tokens, networks, and subscription endpoints.
{ "merchant": {...}, "accepted_tokens": [...],
"subscription_endpoints": {...} }/.well-known/rb-merchant.jsonPlatform merchant identity with payment addresses and key fingerprints.
{ "capsule_id": "cap_registeredbrands_platform",
"payment_addresses": {...}, "key_fingerprints": {...} }/pricing.jsonCurrent pricing for all agent plans including credits, rate limits, and upgrade rules.
{ "agent_plans": [{ "plan_id": "starter",
"price_usd": 0, "credits": 1000, ... }] }/api/v1/verify/capsuleVerifies a Brand Capsule's identity, trust score, and domain anchoring. Optionally verifies an Ed25519 signature if provided.
{ "capsuleId": "cap_7xK9mN2p",
"signature": "base64... (optional)",
"publicKey": "base64... (optional)" }{ "verified": true, "capsuleId": "cap_7xK9mN2p",
"trustScore": 87500, "dunsVerified": true,
"domainAnchored": true, "signatureValid": true }/api/v1/verify/receiptVerifies a receipt's schema validity, signature, and checks that both buyer and seller capsules exist and are verified.
{ "receiptId": "rcpt_Q4wR7xK9",
"signature": "base64... (optional)",
"publicKey": "base64... (optional)" }{ "verified": true, "receiptId": "rcpt_Q4wR7xK9",
"schemaValid": true, "buyer": {...}, "seller": {...},
"amount": "29.00", "currency": "USDC" }/api/v1/subscriptions/quoteReturns pricing details and creates a payment intent for the specified plan. Intent expires in 30 minutes.
{ "plan_id": "professional" }{ "plan_id": "professional", "price_usd": 29,
"credits": 25000, "payment_intent_id": "pi_...",
"payment_address": "0x...", "expires_at": "..." }/api/v1/subscriptions/pay_intentConfirms a payment intent with an on-chain transaction hash. In mock mode, auto-confirms.
{ "payment_intent_id": "pi_...",
"tx_hash": "0x... (optional in mock mode)" }{ "payment_intent_id": "pi_...",
"status": "confirmed", "tx_hash": "0x..." }/api/v1/subscriptions/activateActivates a confirmed payment intent and issues a signed entitlement token with credit caps and rate limits.
{ "payment_intent_id": "pi_..." }{ "entitlement_id": "ent_...", "credits": 5000,
"signature": "base64...",
"issuer_public_key": "base64..." }/api/v1/capsules/search?q=&status=&limit=&offset=Full-text search across brand names and descriptions. Filter by status, trust score range.
{ "results": [...], "total": 42,
"limit": 50, "offset": 0 }/api/v1/capsules/:capsuleIdReturns a single capsule as a JSON-LD Brand document.
{ "@context": "https://schema.org", "@type": "Brand",
"name": "...", "trustScore": 87500, ... }/api/v1/badges/verifyValidates a badge token and returns the associated permissions and brand information.
{ "token": "badge_token_string" }{ "valid": true, "badge": {...}, "brand": {...} }/api/v1/protocol/a2aAgent-to-Agent protocol endpoint. Supports tasks: verify-brand, verify-receipt, search-brands.
{ "task": "verify-brand",
"message": { "capsuleId": "cap_..." } }{ "status": "completed",
"result": { "verified": true, ... } }/api/v1/protocol/tapTransaction Authorization Protocol endpoint for agent-to-agent transaction verification.
{ "capsuleId": "cap_...",
"action": "verify" }{ "protocol": "tap", "verified": true,
"brandIdentity": {...}, "agentAuthorization": {...} }/api/v1/protocol/ucpUniversal Commerce Protocol compatible brand catalog.
{ "protocol": "ucp", "catalog": {
"totalBrands": 42, "brands": [...] } }/api/v1/statusHealth check endpoint returning service status.
{ "status": "operational",
"services": { "api": "operational", ... } }