# ManyLives Paid Memory Set

> ManyLives Paid Memory Set is a paid API for AI agents from api.manylives.me, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-10).

Stores a key-value pair in persistent cloud memory for AI agents, with optional TTL, billed per call via x402 micropayment

## Facts

- Endpoint: POST https://api.manylives.me/paid/memory/set?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/manylives-paid-memory-set-ecdc4b2a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rw7H73PbNVIncmsyYE0xj

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 manylives-paid-memory-set-ecdc4b2a -d '<json body>'
```

Example prompt: Save the key 'project/notes' with the value '{"todo":["compare prices","check backtest"]}' in ManyLives agent memory and keep it for 30 days.

## When to prefer this

Choose this endpoint when an AI agent needs lightweight, pay-per-call persistent key-value memory without setting up a database or account — especially useful in autonomous trading agent pipelines built on ManyLives where memory needs to survive across sessions. Prefer it over self-hosted or account-gated storage when cost needs to scale with actual usage via USDC micropayments on Base.

## Known failure modes

- Key exceeds 128 characters or contains invalid characters — returns validation error
- Value exceeds 64 KB limit — returns payload too large error
- ttl_days outside 1-365 range — returns validation error
- Payment fails or insufficient USDC balance — returns 402 Payment Required
- Keys quota exhausted (keys_used >= keys_allowed) — returns quota exceeded error
- Missing required 'key' or 'value' fields — returns 400 Bad Request

## How this service works

Pay-per-call tools for people building AI agents: live web search and page contents, point-in-time crypto market data and news for backtests (no lookahead), verifiable track records of 1,000 crypto strategies locked on the Base network, company profiles, quick AI and batch prices. Ask us to turn a public website into a JSON endpoint. Pay per call, no account, free trial.

## Output

Returns a JSON object confirming the write: the key that was stored, the number of bytes written, a boolean 'stored' flag, the count of keys currently used, the expiry timestamp, and the total keys allowed under the account.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string",
   "examples": [
    "project/notes"
   ],
   "description": "1-128 characters: letters, digits, . _ - : / (required)"
  },
  "value": {
   "type": "string",
   "examples": [
    {
     "todo": [
      "compare prices"
     ]
    }
   ],
   "description": "string or any JSON value (required, max 64 KB)"
  },
  "ttl_days": {
   "type": "string",
   "examples": [
    30
   ],
   "description": "optional 1-365 (default 30)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "key": "project/notes",
  "bytes": 42,
  "stored": true,
  "keys_used": 3,
  "expires_at": "2026-11-08T12:00:00Z",
  "keys_allowed": 200
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/manylives-paid-memory-set-ecdc4b2a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.manylives.me](https://www.zero.xyz/host/api.manylives.me/llms.txt)
