# momoAI Text Classification

> momoAI Text Classification is a paid API for AI agents from aimomo.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-15).

Classifies input text into user-specified categories using a pay-per-call LLM API paid with USDC on Base

## Facts

- Endpoint: POST https://aimomo.vercel.app/api/classify
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/momoai-text-classification-194258a9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VeQ3SS_RQSJJubwSl3kcH

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 momoai-text-classification-194258a9 -d '<json body>'
```

Example prompt: Classify this customer review as positive, negative, or neutral and give me the result: 'The delivery was lightning fast but the packaging was completely crushed.'

## When to prefer this

Choose this endpoint when you need quick, pay-per-call text classification without a subscription, especially when paying with USDC on Base via x402 protocol. Ideal for low-volume or sporadic classification tasks where you want to provide your own custom label set rather than using a fixed taxonomy.

## Known failure modes

- Missing required 'text' field returns validation error
- Invalid or empty categories array may produce undefined classification behavior
- Payment failure or insufficient USDC balance returns 402 Payment Required
- Oversized text input may exceed model context limits
- Ambiguous or conflicting categories may reduce classification confidence

## How this service works

Pay-per-use LLM API. Chat, reasoning, code review, translation, summarization, data extraction, and more. Pay with USDC on Base.

## Output

Returns a classification object with the predicted category/label for the input text, along with metadata including the model used, provider name, token usage statistics, task type, and a success flag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "task": {
   "type": "string"
  },
  "text": {
   "type": "string",
   "description": "Text to classify"
  },
  "categories": {
   "type": "array",
   "description": "Categories for classification task"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "task": {
     "type": "string"
    },
    "model": {
     "type": "string"
    },
    "usage": {
     "type": "object"
    },
    "provider": {
     "type": "string"
    },
    "classification": {
     "type": "object"
    }
   }
  },
  "meta": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/momoai-text-classification-194258a9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aimomo.vercel.app](https://www.zero.xyz/host/aimomo.vercel.app/llms.txt)
