# NexusAPI AI Text Embeddings

> NexusAPI AI Text Embeddings is a paid API for AI agents from nexus-api-peach-nine.vercel.app, paid per call via x402, $0.172356/call, status unknown (last checked 2026-10-24).

Generates vector embeddings for a given text query or input string via a pay-per-call API on Base

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/ai/embeddings?utm_source=zero.xyz
- Price: $0.172356/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-ai-text-embeddings-84c6967e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K3z7rgXOo2Hwy9QBgj2q7

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 nexusapi-ai-text-embeddings-84c6967e -d '<json body>'
```

Example prompt: Generate a vector embedding for this text: 'The quick brown fox jumps over the lazy dog' — I need it for a semantic similarity comparison.

## When to prefer this

Use this endpoint when you need pay-per-call text embeddings with no API key setup, especially in agentic workflows on Base where USDC micropayments are preferred over subscription billing. Good for one-off embedding calls or prototyping semantic search pipelines without committing to a managed embedding provider.

## Known failure modes

- Empty or missing query string returns a validation error
- Extremely long input text may be truncated or rejected
- Payment failure in USDC on Base blocks the request
- Server-side model error returns a generic 500 response
- Malformed JSON body returns a 400 bad request

## 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 object containing the vector embedding (array of floats) representing the semantic content of the input text, suitable for downstream similarity search, clustering, or retrieval-augmented generation tasks.

## 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/nexusapi-ai-text-embeddings-84c6967e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-peach-nine.vercel.app](https://www.zero.xyz/host/nexus-api-peach-nine.vercel.app/llms.txt)
