# paygentic Text Classifier

> paygentic Text Classifier is a paid API for AI agents from api.discoverdmc.cloud, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-11).

Classifies a piece of text into exactly one of a caller-supplied set of labels using an LLM

## Facts

- Endpoint: POST https://api.discoverdmc.cloud/classify?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/paygentic-text-classifier-4c7b999b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cBwgL7bi91W4sNhDsFJX4

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 paygentic-text-classifier-4c7b999b -d '<json body>'
```

Example prompt: Classify this customer message into exactly one of these labels — 'billing', 'technical_support', 'shipping', or 'general_inquiry': 'Hi, I was charged twice for my last order and need a refund.'

## When to prefer this

Choose this endpoint when you need zero-shot text classification into a fully custom, caller-defined label set without training a model. It is ideal for dynamic classification tasks where the categories change per request (e.g. per-customer taxonomies, ad-hoc routing rules). Prefer it over a dedicated sentiment API when your labels are domain-specific and not simply positive/negative/neutral, and over a fine-tuned classifier when you cannot train one.

## Known failure modes

- Text exceeds 4000 characters — request rejected
- Fewer than 2 or more than 20 labels supplied — validation error
- Individual label string exceeds 50 characters — validation error
- LLM ambiguity when text fits multiple labels equally well — may return unexpected label
- Payment not included or insufficient — x402 payment required error
- Network timeout on LLM inference — transient 5xx error

## How this service works

Classify text into exactly one of your own labels using an LLM. Body: text (max 4000 chars), labels (2-20 strings).

## Output

Returns the single label from the provided list that the LLM judged most appropriate for the input text. No confidence score or explanation is specified in the schema; the result is one of the caller-supplied label strings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 4000,
   "description": "Text to classify"
  },
  "labels": {
   "type": "array",
   "items": {
    "type": "string",
    "maxLength": 50
   },
   "maxItems": 20,
   "minItems": 2,
   "description": "Allowed labels"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/paygentic-text-classifier-4c7b999b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.discoverdmc.cloud](https://www.zero.xyz/host/api.discoverdmc.cloud/llms.txt)
