# NexusAPI AI Text Similarity

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

Computes semantic similarity between a query string and other content using AI-based comparison

## Facts

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

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-similarity-024bfe0d -d '<json body>'
```

Example prompt: How semantically similar is the sentence 'the cat sat on the mat' to 'a feline rested on a rug'? Give me a similarity score using AI.

## When to prefer this

Use this endpoint when you need a quick, pay-per-call semantic similarity computation without managing API keys or model infrastructure. Best suited for single-query similarity scoring in AI agent pipelines that already use x402 USDC payments on Base.

## Known failure modes

- Missing or empty query field returns validation error
- Extremely long text inputs may be truncated or rejected
- Payment not included or insufficient USDC causes 402 response
- Ambiguous or very short queries may produce low-confidence scores
- Network timeout on the Vercel deployment under load

## 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 JSON object containing a similarity score or ranking indicating how semantically close the input query is to the compared content, likely as a numeric value between 0 and 1.

## 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-similarity-024bfe0d/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)
