# HydraTrader Cheap Errand – Text NLP Tasks

> HydraTrader Cheap Errand – Text NLP Tasks is a paid API for AI agents from x402.hydratrader.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Performs one of six NLP tasks (summarize, rewrite, classify, extract keywords, sentiment, or translate) on buyer-supplied text for $0.01 USDC per call via x402 micropayment.

## Facts

- Endpoint: POST https://x402.hydratrader.ai/v1/cheap-errand
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hydratrader-cheap-errand-text-nlp-tasks-c05baf1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kvE6z_27ad6Gh87Vdx7-X

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 hydratrader-cheap-errand-text-nlp-tasks-c05baf1f -d '<json body>'
```

Example prompt: Summarize this product description for me — it's under 8000 characters: 'The HydraTrader platform leverages x402 micropayments so AI agents can call APIs with USDC on Base without signing up for an account.'

## When to prefer this

Choose this endpoint when you need a cheap, no-login, pay-per-use NLP operation on a single piece of text and want to pay $0.01 USDC on Base via x402. It is ideal for agents that need occasional text processing without API key management or subscriptions, and when the task fits one of the six supported operations (summarize, rewrite, classify, extract_keywords, sentiment, translate).

## Known failure modes

- Payment not included or invalid — 402 response returned
- input text exceeds 8000 character limit — validation error
- unsupported task enum value — schema validation error
- upstream LLM timeout — latency spike or error response
- malformed JSON body — 400 bad request

## How this service works

Summarize, classify, extract keywords, rewrite, sentiment, or translate buyer-supplied text. When to use: cheap agent glue / probe steps. Returns JSON. Pay-per-call USDC on Base via x402 — no API key. Local-fast NLP; no login scrape.

## Output

Returns a JSON object with ok:true, the task name, usage stats (latency_ms, price_usdc), and a result object containing text (for summarize/rewrite/translate), label (for classify), keywords (for extract_keywords), and sentiment (for sentiment analysis), plus the client_ref if provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "enum": [
    "summarize",
    "rewrite",
    "classify",
    "extract_keywords",
    "sentiment",
    "translate"
   ],
   "type": "string"
  },
  "input": {
   "type": "string",
   "maxLength": 8000
  },
  "options": {
   "type": "object"
  },
  "client_ref": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "task": "summarize",
  "usage": {
   "latency_ms": 420,
   "price_usdc": "0.01"
  },
  "result": {
   "meta": {
    "chars_in": 58,
    "model_hint": "fast"
   },
   "text": "x402 is an HTTP 402 micropayment protocol so agents can pay USDC for API calls.",
   "label": null,
   "keywords": null,
   "sentiment": null
  },
  "endpoint": "cheap-errand",
  "client_ref": null
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hydratrader-cheap-errand-text-nlp-tasks-c05baf1f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.hydratrader.ai](https://www.zero.xyz/host/x402.hydratrader.ai/llms.txt)
