# ApexAPI AI Text Classifier

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

Classifies a text query or input into AI-determined categories using a pay-per-call model on Base

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/classify
- Price: $0.175348/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-ai-text-classifier-91fec2c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bNnoyMHvv6t-jg4RAiHKw

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-text-classifier-91fec2c1 -d '<json body>'
```

Example prompt: Classify this text for me: 'I love this product but the shipping was terrible' — tell me what category or label it falls into.

## When to prefer this

Use this endpoint when you need to classify or categorize arbitrary text using an AI model without setting up your own API keys, paying per-call in USDC on Base via the x402 protocol.

## Known failure modes

- Missing or empty query field returns an error
- Payment not sent or insufficient USDC balance causes 402 rejection
- Ambiguous or very short input may yield low-confidence or unexpected classification
- Server-side model errors may return generic 500 responses
- Overly long inputs may be truncated or rejected

## 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 the AI classification result for the submitted text query, such as a category label or class assignment.

## 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-text-classifier-91fec2c1/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)
