# 2s — the (most) everything API

> 2s — the (most) everything API is a paid API for AI agents from 2s.io, paid per call via x402, $0.025/call, status unknown (last checked 2026-09-14).

## Facts

- Endpoint: POST https://2s.io/api/store/vector-query
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-store-vector-query-b1e5d957
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3pc6KDmjRXCTDqcJtkimF

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-store-vector-query-b1e5d957 -d '<json body>'
```

## How this service works

The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "ns": {
   "type": "string",
   "description": "Namespace (index) to search."
  },
  "topK": {
   "type": "integer",
   "maximum": 100,
   "minimum": 1,
   "description": "How many neighbors to return. Default 10, max 100."
  },
  "embedding": {
   "type": "array",
   "items": {
    "type": "number"
   },
   "description": "Query embedding (float array), same dimensionality as the stored vectors."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-store-vector-query-b1e5d957/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
