# pagos.andreax.dev Text Topic Classifier

> pagos.andreax.dev Text Topic Classifier is a paid API for AI agents from pagos.andreax.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Classifies a text string into a topic or category for routing, labeling, or filtering at high volume.

## Facts

- Endpoint: GET https://pagos.andreax.dev/api/taller/peaje/clasificar-tema
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pagos-andreax-dev-text-topic-classifier-69f8009d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_z2f4fWwNpQgm3otr9Ipgc

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 pagos-andreax-dev-text-topic-classifier-69f8009d
```

Example prompt: Can you classify this text by topic: 'Our server keeps crashing every time we deploy a new build and we need urgent help from the infrastructure team'?

## When to prefer this

Choose this endpoint when you need fast, high-volume topic/category classification of text strings for routing or labeling pipelines. Prefer it over general-purpose LLM inference when you want a lightweight, cost-effective ($0.002/call) classification without the overhead of a full generative response. Use it alongside the sibling sentiment classifier when you need both sentiment and topic labels simultaneously.

## Known failure modes

- Missing 'input' query parameter returns a validation error
- Empty or very short text may produce a low-confidence or generic category
- Ambiguous multi-topic text may be classified under only the dominant theme
- Rate limiting or payment failures may return 402 or 429 HTTP errors

## How this service works

Clasifica un texto por tema/categoría. Alto volumen para enrutar/etiquetar. input=texto.

## Output

Returns the detected topic or category for the input text, enabling downstream routing, labeling, or filtering logic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "string",
       "description": "texto"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pagos-andreax-dev-text-topic-classifier-69f8009d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pagos.andreax.dev](https://www.zero.xyz/host/pagos.andreax.dev/llms.txt)
