# Pinecone Vector Query via Sovereign x402

> Pinecone Vector Query via Sovereign x402 is a paid API for AI agents from sovereign-x402-zeta.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Query a Pinecone index to retrieve the nearest neighbor vectors to a given query vector using cosine or other similarity metrics.

## Facts

- Endpoint: POST https://sovereign-x402-zeta.vercel.app/api/v1/vector/pinecone/query
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pinecone-vector-query-via-sovereign-x402-aa18f972
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XH07w-Tfb1LVRO5DnooL6

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 pinecone-vector-query-via-sovereign-x402-aa18f972 -d '<json body>'
```

Example prompt: Search my Pinecone index called 'product-embeddings' for the 5 nearest neighbors to this query vector: [0.12, 0.45, 0.78, 0.33, 0.91] and return their IDs and similarity scores.

## When to prefer this

Choose this endpoint when you need to perform nearest-neighbor vector search against a Pinecone index without managing your own Pinecone API keys or infrastructure, and you want a pay-per-call model via x402 micropayments. It is ideal for agents that need on-demand semantic search without persistent Pinecone credentials. Prefer the sibling Qdrant endpoint if your vector store is Qdrant instead of Pinecone.

## Known failure modes

- Pinecone index does not exist or is not accessible — returns an error indicating the index was not found
- Query vector dimension does not match the index dimension — returns a dimension mismatch error
- Invalid or malformed vector values (e.g. non-numeric entries) — returns a validation error
- Missing required body fields such as the query vector or index name — returns a 400 bad request
- Payment not processed — returns a 402 Payment Required before executing the query
- Pinecone service outage or upstream timeout — returns a 503 or timeout error

## How this service works

Query a Pinecone index for the nearest vectors to a given vector.

## Output

Returns the nearest neighbor vectors from the specified Pinecone index, including each match's vector ID, similarity score, and any stored metadata, ordered from most to least similar.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {},
     "additionalProperties": true
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "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/pinecone-vector-query-via-sovereign-x402-aa18f972/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sovereign-x402-zeta.vercel.app](https://www.zero.xyz/host/sovereign-x402-zeta.vercel.app/llms.txt)
