# agentbit.app Text Classifier

> agentbit.app Text Classifier is a paid API for AI agents from agentbit.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-14).

Classifies input text into user-defined single or multiple labels with confidence scores per label

## Facts

- Endpoint: POST https://agentbit.app/v1/ai/classify?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentbit-app-text-classifier-5e2fb1a3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M4NjHS-C5mMW1BcGqNdqt

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 agentbit-app-text-classifier-5e2fb1a3 -d '<json body>'
```

Example prompt: Classify this support message into one of these labels — billing, technical-issue, account-access, or general-inquiry — and give me a confidence score: 'I can't log into my account after resetting my password yesterday.'

## When to prefer this

Choose this endpoint when you need fast, cheap, high-volume text classification with custom label sets — especially for routing, tagging, moderation triage, or intent detection workflows. It supports both single-label and multi-label modes and accepts optional natural-language instructions to guide the classifier, making it more flexible than fixed-schema sentiment APIs. At $0.005 per call it is cost-effective for large-scale automated pipelines.

## Known failure modes

- Empty text field returns validation error
- More than 30 labels provided triggers a limit error
- Missing required fields (text or labels) returns 400 bad request
- Very ambiguous or very short text may yield low confidence scores across all labels
- Labels list with only one entry may produce degenerate results
- Payment failure or insufficient USDC balance returns 402 payment required

## How this service works

Classify text into your labels with confidence and per-label scores. Single- or multi-label. Cheap and high-volume: routing, tagging, moderation triage, intent.

## Output

Returns the predicted label or labels for the input text along with a confidence score for the top prediction and individual scores for each candidate label in the provided list. In multi-label mode, multiple labels may be returned when confidence warrants.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text to classify (required)."
  },
  "labels": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "description": "Allowed labels (required, up to 30)."
  },
  "multi_label": {
   "type": "boolean",
   "description": "Allow multiple labels (default false)."
  },
  "instructions": {
   "type": "string",
   "description": "Optional guidance on how to classify."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentbit-app-text-classifier-5e2fb1a3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentbit.app](https://www.zero.xyz/host/agentbit.app/llms.txt)
