# NexusAPI AI Embeddings

> NexusAPI AI Embeddings is a paid API for AI agents from nexus-api-virid.vercel.app, paid per call via x402, $0.021615/call, status unknown (last checked 2026-09-14).

Generates vector embeddings for a given text query or input string, enabling semantic search and similarity computation.

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/ai/embeddings
- Price: $0.021615/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-ai-embeddings-ffe5d01f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_un-x2gGLE-i1lskqGxmYl

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-embeddings-ffe5d01f -d '<json body>'
```

Example prompt: Generate an embedding vector for the text 'What are the best practices for machine learning model deployment?' so I can use it for semantic similarity search.

## When to prefer this

Choose this endpoint when you need a pay-per-call, no-API-key embedding service that accepts USDC on Base, especially useful in agent pipelines that handle micro-payments natively via x402. Prefer it over managed embedding APIs when you want frictionless onboarding without credential management.

## Known failure modes

- Empty or missing query string returns an error or malformed response
- Very long input text may be truncated or rejected
- Payment failure (insufficient USDC balance) results in HTTP 402
- Ambiguous or unsupported input types may return a generic error
- Rate limiting or server overload may cause timeouts

## 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 a numerical vector (array of floats) representing the semantic meaning of the input text, suitable for use in similarity search, clustering, or retrieval-augmented generation pipelines.

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