# OmniAPI AI Embeddings

> OmniAPI AI Embeddings is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.021615/call, status unknown (last checked 2026-09-15).

Generates vector embeddings for a given text input or query via a pay-per-call USDC endpoint

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/ai/embeddings
- Price: $0.021615/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-ai-embeddings-e03205e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__i0N6UzhqwUgHfPCyuk4O

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 omniapi-ai-embeddings-e03205e5 -d '<json body>'
```

Example prompt: Can you generate vector embeddings for the text 'The quick brown fox jumps over the lazy dog' so I can use them for semantic similarity search in my RAG pipeline?

## When to prefer this

Choose this endpoint when you need text embeddings and want to pay per call in USDC via the x402 protocol without managing API keys for a dedicated embedding provider. Useful for lightweight or infrequent embedding needs in crypto-native or agent-to-agent workflows where micropayments are the preferred auth mechanism.

## Known failure modes

- Missing required 'query' field returns a 400 validation error
- Payment failure or insufficient USDC balance blocks the request with a 402 response
- Very long input text may exceed token limits and return an error
- Malformed JSON body results in a parsing error
- Network timeout on the Vercel deployment may cause intermittent 503 errors

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns a numerical vector (embedding array) representing the semantic meaning of the input text, suitable for use in similarity search, clustering, classification, or retrieval-augmented generation pipelines.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-ai-embeddings-e03205e5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
