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/memory/query
Powered by SQLite
Request → Response
Examples from schemas.json.
POST /v1/memory/query Content-Type: application/json { "key": "example", "query": "latest AI agent payments", "top_k": 5 }
HTTP/1.1 200 OK Content-Type: application/json // Endpoint-specific body after 402 settlement
Retrieve stored entries by exact key or by semantic similarity (top-k). Backed by SQLite with all-MiniLM-L6-v2 embeddings.
Self-contained, serverless, embedded SQL database engine.
Body: JSON · application/json
| Field | Type | Description | |
|---|---|---|---|
| key | string | optional | — |
| query | string | optional | — |
| top_k | integer | required | min: 1 |
curl -X POST https://api.tools402.dev/v1/memory/query \
-H "Content-Type: application/json" \
-d '{
"key": "example",
"query": "latest AI agent payments",
"top_k": 5
}'402 payment flow omitted — see Integrations for settlement.