← Back to directory

Ambr (ambr.run): create a Ricardian contract that an AI agent signs on behalf of...

https://getamber.dev/api/v1/contracts

Overview

Ambr (ambr.run): create a Ricardian contract that an AI agent signs on behalf of its principal, a person or company. Call it when your agent agrees a deal with another party (an API or compute service, a purchase, a subscription, or a delegation of authority) and needs a signed written record. Returns legal text and machine-readable JSON bound by one SHA-256 hash, plus reader and sign links; the parties sign with their wallets. Templates: GET /api/v1/templates.

Protocol x402 (POST)
Price $0.20
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/wallet
Provider Ambr
Source bazaar
Indexed 2026-10-25 09:32:34

Health

Status degraded
Latency (p50) 525ms
Uptime (30d) 100.0%
Reliability Score 87/100
Last Checked 2026-10-31 07:08:58
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Invalid
Asset Verified —
Facilitator —

Input Schema

{ "body": { "parameters": { "consumer_email": "consumer@example.com", "consumer_name": "Example Consumer", "currency": "USDC", "delivery_timeline": "Within 24 hours of payment", "fee": 20, "governing_law": "Singapore", "provider_agent_id": "0x0000000000000000000000000000000000000002", "provider_name": "Example Provider Ltd", "refund_policy": "Full refund within 14 days if not delivered", "service_description": "One month of market data via API" }, "principal_declaration": { "agent_id": "0x0000000000000000000000000000000000000001", "principal_name": "Example Principal", "principal_type": "company" }, "template": "a1-service-purchase" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "contract_id": "amb-2026-0001", "created_at": "2026-10-29T12:00:00.000Z", "handshake_url": "https://getamber.dev/api/v1/contracts/amb-2026-0001/handshake", "next_step": "Contract created as draft. Optionally handshake first, then both parties must sign (ECDSA) to activate.", "payment_method": "x402", "reader_url": "https://getamber.dev/reader/9f2c4e8a1b7d3f6e0a5c9b2d8e4f1a7c3b6d0e9f2a5c8b1d4e7f0a3c6b9d2e5f?token=<share-token>", "require_zk_identity": false, "sha256_hash": "9f2c4e8a1b7d3f6e0a5c9b2d8e4f1a7c3b6d0e9f2a5c8b1d4e7f0a3c6b9d2e5f", "sign_url": "https://getamber.dev/api/v1/contracts/amb-2026-0001/sign", "status": "draft", "visibility": "private" }, "type": "json" }