# PennyRail Text Reverse

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

Reverses the characters of an input string, delivered as a paid micropayment API endpoint

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/text.reverse--reverse-text
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-text-reverse-a03c5104
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1wRTPf71ivOU_rla1xmHg

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-text-reverse-a03c5104 -d '<json body>'
```

Example prompt: Can you reverse the text 'Hello, World!' for me — flip all the characters backwards so it reads in reverse order?

## When to prefer this

Choose this endpoint when you need a simple, deterministic, pay-per-call text reversal over the x402 micropayment protocol — useful in agent workflows where you want metered, trustless string transformation without setting up a full backend service.

## Known failure modes

- Missing 'input' field in request body returns a validation error
- Empty string input may return an empty string or an error
- Very long strings may time out or be rejected
- Payment of $0.001 USDC must be settled via x402 protocol before the response is delivered; insufficient payment returns a 402 error

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the reversed version of the input string — characters in the exact opposite order from what was submitted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-text-reverse-a03c5104/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)
