# PennyRail BatchRail Trial

> PennyRail BatchRail Trial is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Classifies up to 100 short text items against custom labels in a single low-cost trial batch call for $0.05 USDC.

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/batch/trial
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-batchrail-trial-abe3e6a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qlks4ZaEhQ9VMjgrulHMT

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 pennyrail-batchrail-trial-abe3e6a8 -d '<json body>'
```

Example prompt: Classify these 50 customer support messages into the labels 'billing', 'technical', 'general inquiry', and 'complaint' — use the instruction 'assign the single most relevant support category'.

## When to prefer this

Choose this endpoint when you need to classify a small batch of up to 100 short text items cheaply ($0.05) as a trial or proof-of-concept before scaling to the full 1,000-item batch route. Ideal for testing custom label sets, validating classification quality on a representative sample, or when your batch size is naturally small.

## Known failure modes

- More than 100 items submitted — exceeds maxItems limit
- Combined text exceeds 32KB — payload too large
- Fewer than 2 labels provided — minItems violation
- Payment not received or insufficient USDC — x402 payment required
- Malformed item objects missing required 'text' field
- Instruction string exceeds 600 character limit

## How this service works

BatchRail discovery/trial: classify up to 100 short items for $0.05. Full 1,000-item bulk route is /api/batch/classify for $0.20.

## Output

Returns a list of classification results for each input item, each containing the assigned label (and optionally a confidence score), keyed by item ID or position. Results cover all submitted items up to 100.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "maxItems": 100,
   "minItems": 1,
   "description": "Short strings, or {id,text} objects. Combined text <=32KB."
  },
  "labels": {
   "type": "array",
   "items": {
    "type": "string"
   },
   "maxItems": 20,
   "minItems": 2
  },
  "instruction": {
   "type": "string",
   "maxLength": 600
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-batchrail-trial-abe3e6a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
