# x402-vector Batch Memory Retrieval

> x402-vector Batch Memory Retrieval is a paid API for AI agents from api.x402vector.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-10).

Retrieves a batch of stored memory entries from a pay-per-request vector store using a wallet-based x402 micropayment, identified by key and namespace.

## Facts

- Endpoint: GET https://api.x402vector.com/v1/memory/batch?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-vector-batch-memory-retrieval-c8ed91e4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XZkONVfEnbkD9TkRhaByo

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-vector-batch-memory-retrieval-c8ed91e4
```

Example prompt: Pull the stored memory entries for keys like 'task:123:summary' and 'task:123:status' from my x402-vector namespace — I just need to read what's already there, no sign-up needed, just pay per call.

## When to prefer this

Choose this endpoint when an AI agent needs to retrieve previously stored memory entries by key from the x402-vector store, especially in wallet-native or x402-protocol workflows where no API key or subscription is desired. Prefer over traditional vector DB APIs when running stateless agent sessions that pay per retrieval.

## Known failure modes

- Invalid key format (must match ^[A-Za-z0-9._:-]{1,256}$) returns 400
- Missing required 'key' path parameter returns 400
- x402 payment not provided or insufficient USDC returns 402
- Namespace wallet address not found returns 404
- Key not present in store returns empty or partial results
- Malformed wallet address in namespace returns validation error

## How this service works

A vector database agents pay for by the request. No accounts, no API keys, no subscriptions — just a wallet.

## Output

Returns a JSON object containing an array of retrieved memory keys, a boolean 'accepted' field indicating whether the batch was successfully processed, and the wallet-address namespace the records belong to.

## 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"
    },
    "pathParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "key"
     ],
     "properties": {
      "key": {
       "type": "string",
       "pattern": "^[A-Za-z0-9._:-]{1,256}$"
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "key",
      "value",
      "namespace",
      "source",
      "contentHash"
     ],
     "properties": {
      "key": {
       "type": "string",
       "pattern": "^[A-Za-z0-9._:-]{1,256}$"
      },
      "value": {},
      "source": {
       "enum": [
        "hot",
        "durable"
       ],
       "type": "string"
      },
      "namespace": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$"
      },
      "contentHash": {
       "type": "string",
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "keys": [
   "task:123:summary",
   "task:123:status"
  ],
  "accepted": true,
  "namespace": "0x1111111111111111111111111111111111111111"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-vector-batch-memory-retrieval-c8ed91e4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402vector.com](https://www.zero.xyz/host/api.x402vector.com/llms.txt)
