# NexusAPI AI Text Classifier

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

Classifies a text query or input string into categories using AI

## Facts

- Endpoint: POST https://nexus-api-virid.vercel.app/api/ai/classify
- Price: $0.024348/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-text-classifier-a7eaf314
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_c_U6jqGqlQ8RzV47II_xV

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-classifier-a7eaf314 -d '<json body>'
```

Example prompt: Classify this customer message into a category and tell me what it is: 'My order arrived damaged and I need a refund as soon as possible.'

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call AI classification of text without managing your own NLP infrastructure or API keys. It is well-suited for agents that need on-demand categorization for routing, moderation, or intent detection without a subscription commitment.

## Known failure modes

- Missing or empty query field returns an error or empty classification
- Ambiguous or very short input may produce low-confidence or generic classifications
- Rate limiting or payment issues (USDC balance insufficient) may block calls
- Overly long input strings may be truncated or rejected
- Non-English input may yield poor or unexpected classification results

## 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 structured API response containing the AI-generated classification label or category for the submitted text query, potentially including confidence scores or category metadata.

## 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-classifier-a7eaf314/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)
