# Port 402 Memory Export

> Port 402 Memory Export is a paid API for AI agents from port-402-production.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-01).

Exports the entire persistent memory store for a wallet-identified agent as a single signed, integrity-verified JSON document.

## Facts

- Endpoint: GET https://port-402-production.up.railway.app/v1/export?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/port-402-memory-export-ea50ac71
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_W14foJUxyZcnmsYBaX5rf

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 port-402-memory-export-ea50ac71
```

Example prompt: Export all of my agent's stored memory right now as a single signed JSON document so I have a verified, portable snapshot of everything that's been saved.

## When to prefer this

Choose this endpoint when you need a complete, portable, and cryptographically verifiable snapshot of all stored agent memory in one atomic operation. Prefer this over listing keys individually when you need a full backup, audit trail, migration artifact, or integrity-provable archive of the entire namespace. Its Ed25519 + sha256 integrity block makes it ideal for scenarios where tamper-evidence matters.

## Known failure modes

- Empty memory namespace returns a document with no entries but still a valid signed structure
- Invalid or missing x402 payment results in 402 Payment Required response
- Wallet with no stored keys returns an empty but validly signed export
- Network timeout on Railway infrastructure may cause transient failures

## How this service works

Export your whole memory as one signed JSON document (format port402-memory-export/1, sha256 + Ed25519 integrity block).

## Output

A single JSON document formatted as port402-memory-export/1 containing all key-value pairs stored under the calling wallet's memory namespace, along with a sha256 hash and an Ed25519 signature block that allows any recipient to verify the document's authenticity and integrity.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/port-402-memory-export-ea50ac71/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from port-402-production.up.railway.app](https://www.zero.xyz/host/port-402-production.up.railway.app/llms.txt)
