Memory · sandbox · browse · critique · judge.
Documents16PDF · Word · Excel · OCR.
Audio20Transcribe · diarize · TTS.
Images27Caption · OCR · resize.
Web39Scrape · screenshot · meta.
Validation25Email · IBAN · IP · VAT.
Conversions20JSON · YAML · UUID.
All endpoints159Full catalog · featured first.
Wallet-only · earn USDC daily.
Sell-side guideEIP-712 · JWT · settlement.
Pricing & take rate3% paywall · 4% proxy.
How settlement worksSettlement runs daily at 00:00 UTC, in USDC. A balance ≥ 1 USDC is paid at the next run (within 24h). A balance below 1 USDC carries over and accumulates across days until it reaches 1 USDC, then it's paid.
/v1/agent/identity
Validation · viem-eip712
Request → Response
Examples from schemas.json.
POST /v1/agent/identity Content-Type: application/json { "action": "build" }
HTTP/1.1 200 OK Content-Type: application/json // Endpoint-specific body after 402 settlement
Build or verify an AP2 Intent Mandate as EIP-712 typed data for agent identity (spend cap, expiry, wallet). Powered by viem.
Body: JSON · application/json
| Field | Type | Description | |
|---|---|---|---|
| action | string | required | enum: build, verify |
| intent_description | string | optional | — |
| max_spend_atomic | integer | optional | min: 0 |
| expires_at | integer | optional | min: -9007199254740991 |
| agent_wallet | string | optional | pattern: ^0x[0-9a-fA-F]{40}$ |
| typed_data | object | optional | — |
| signature | string | optional | pattern: ^0x[0-9a-fA-F]{130}$ |
curl -X POST https://api.tools402.dev/v1/agent/identity \
-H "Content-Type: application/json" \
-d '{
"action": "build"
}'402 payment flow omitted — see Integrations for settlement.