# x402.shizu.me Durable Key-Value Memory Store

> x402.shizu.me Durable Key-Value Memory Store is a paid API for AI agents from x402.shizu.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Stores and retrieves persistent JSON key-value pairs (up to 8KB, 30-day TTL) scoped to a paying wallet, giving stateless AI agents cross-run memory.

## Facts

- Endpoint: GET https://x402.shizu.me/kv
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-shizu-me-durable-key-value-memory-store-f5fcc682
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iuUMXsAZf74O1Gk5wzQbv

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-shizu-me-durable-key-value-memory-store-f5fcc682
```

Example prompt: Read back the value I stored under the key 'user-preferences' in my agent memory from a previous run — I need to retrieve that JSON object now.

## When to prefer this

Use this endpoint when an AI agent needs to persist state, context, or intermediate results across multiple stateless runs and cannot rely on in-process memory. Ideal for multi-step workflows, resumable tasks, user preference storage, or any scenario where an agent must recall data from a prior session. Prefer this over alternatives when wallet-scoped privacy (data private to your paying wallet) and simplicity (single GET/POST interface) are priorities. Not suited for large data (>8KB) or long-term archival beyond 30 days.

## Known failure modes

- Key not found or expired — returns 404 or empty response
- Value exceeds 8KB limit — request rejected
- TTL exceeds 30-day maximum — request rejected
- Invalid JSON value — storage rejected
- Payment not included or insufficient USDC — 402 response blocking access
- Key name malformed or missing — 400 bad request

## How this service works

Durable key/value memory for stateless agents, private to your paying wallet. POST {key, value, ttl?} to store JSON; GET ?key= to read it back on a later run. Value up to 8KB, ttl up to 30d. An agent cannot persist state across runs by itself — this is that missing memory as one call.

## Output

On GET: returns the JSON value previously stored under the specified key, along with metadata such as expiry time. Returns null or a not-found indicator if the key does not exist or has expired.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "key"
     ],
     "properties": {
      "key": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "key": "run-42-cursor",
  "ttl": 86400,
  "stored": true,
  "expires": 1784400000
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-shizu-me-durable-key-value-memory-store-f5fcc682/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.shizu.me](https://www.zero.xyz/host/x402.shizu.me/llms.txt)
