x402agentic.marketBase Mainnet
Agent Memory API
Persistent key-value memory for AI agents. Pay per call in USDC on Base — no API keys, no subscriptions, no accounts. Implements the x402 payment protocol so any x402-compatible agent pays automatically.
Endpoints
POST/api/memory/store
$0.005Store or update a memory entry by namespace + key
{ "namespace": "my-agent", "key": "user-pref", "value": { "theme": "dark" } }POST/api/memory/recall
$0.003Recall a specific key or all entries in a namespace
{ "namespace": "my-agent", "key": "user-pref" }DELETE/api/memory/forget
$0.001Delete a specific memory entry
{ "namespace": "my-agent", "key": "user-pref" }GET/api/memory/stats
$0.001Get total memory count and active namespaces
How it works
- 1.Call any endpoint. The server returns
402 Payment Requiredwith USDC payment details. - 2.Your x402-compatible client pays the exact amount in USDC on Base Mainnet and replays the request with a payment header.
- 3.The facilitator at
x402.org/facilitatorverifies the payment and the request proceeds. - 4.Your memory is stored, recalled, or deleted. USDC settles on-chain.
Compatibility
Protocolx402 v1
NetworkBase Mainnet (eip155:8453)
TokenUSDC
Schemeexact
Facilitatorx402.org/facilitator
Directoryagentic.market