# DataVault Text Classify

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

Classifies a given text into user-specified categories using AI-powered text processing

## Facts

- Endpoint: POST https://zetavault.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/datavault-text-classify-9a0aad0a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dvrtUSBp4-Jl2C2j45mcV

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 datavault-text-classify-9a0aad0a -d '<json body>'
```

Example prompt: Classify this customer review into one of these categories — 'positive', 'negative', or 'neutral' — using DataVault's classify endpoint: 'The product arrived on time but the packaging was completely destroyed.'

## When to prefer this

Choose this endpoint when you need fast, pay-per-call AI text classification without managing your own ML infrastructure, especially when working with custom category sets and diverse text types in a single unified API.

## Known failure modes

- Missing required 'text' field returns an error response
- Invalid or empty 'categories' array may produce unexpected classification
- Text too long may cause processing timeout or truncation
- Malformed JSON body returns 400-level error
- Payment failure (USDC/x402) blocks the request entirely

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

A JSON object with a 'success' boolean and a 'data' object containing the classification result, including the predicted category or label assigned to the input text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "task": {
   "type": "string"
  },
  "text": {
   "type": "string"
  },
  "categories": {
   "type": "array"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-text-classify-9a0aad0a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetavault.vercel.app](https://www.zero.xyz/host/zetavault.vercel.app/llms.txt)
