x402 protocol

xmem

Pay-per-call key-value store for AI agents. Persist anything across sessions.

Endpoints

POST/api/set
Store a key-value pair (TTL up to 90 days)
$0.002
POST/api/get
Retrieve a value by key
$0.001
POST/api/delete
Remove a key
$0.001
POST/api/list
List keys with optional prefix filter
$0.001

How it works

Send a request. Get a 402 challenge. Your x402 client pays with USDC automatically. Data persists across sessions with namespace isolation. Payment only settles on success.
Base (EVM) Solana