# ApexAPI AI Embeddings

> ApexAPI AI Embeddings is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.172356/call, status unknown (last checked 2026-09-14).

Generates vector embeddings for a given text query or input string, suitable for semantic search and similarity tasks

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/embeddings
- Price: $0.172356/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-ai-embeddings-4babcf1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nMCYF3xo_ovaVUxgbJtmc

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 apexapi-ai-embeddings-4babcf1f -d '<json body>'
```

Example prompt: Generate a vector embedding for the text 'The quick brown fox jumps over the lazy dog' so I can use it for semantic similarity search.

## When to prefer this

Choose this endpoint when you need pay-per-call text embeddings with no API key setup, paying in USDC on Base via x402 protocol. Suitable for agents needing on-demand semantic embeddings without managing API credentials.

## Known failure modes

- Empty or missing query field returns validation error
- Query string too long may exceed token limits
- Payment of 0.172356 USDC not sent results in 402 Payment Required
- Network timeout if model inference is slow
- Malformed JSON body returns 400 error

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns an API response object containing the vector embedding (numerical array) representing the semantic content of the input text query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-ai-embeddings-4babcf1f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
