# MemoryAPI Store Memory

> MemoryAPI Store Memory is a paid API for AI agents from api.memoryapi.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Stores a memory entry for an AI agent for later retrieval

## Facts

- Endpoint: GET https://api.memoryapi.org/x402/memory
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-memoryapi-org-351408a1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7326Nf9_b0aJ8sH1GnI9u

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 api-memoryapi-org-351408a1
```

Example prompt: Save this to my agent's memory: 'The user prefers responses in bullet points and their timezone is UTC-5.'

## When to prefer this

Use this endpoint when you need to persist a discrete piece of information for an AI agent between sessions or across calls, and you are operating in an x402 micropayment-enabled environment. Prefer this over in-context storage when you need durable, cross-session memory for an agent.

## Known failure modes

- Missing or empty memory content returns an error
- Payment not processed causes 402 response
- Invalid agent identifier causes rejection
- Memory content too large exceeds payload limits
- Network timeout or service unavailability returns 5xx error

## How this service works

Semantically search stored agent memories using natural language

## Output

A confirmation that the memory has been stored, along with a memory ID or acknowledgment record that can be used to retrieve or reference the memory later.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "required": [
    "method"
   ],
   "properties": {
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "memory": {
   "id": "uuid",
   "content": "User prefers dark mode",
   "created_at": "2026-01-01T00:00:00Z"
  },
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-memoryapi-org-351408a1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.memoryapi.org](https://www.zero.xyz/host/api.memoryapi.org/llms.txt)
