# 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 a given input string and returns the result as a paid micro-transaction API call

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/text.reverse--reverse-string
- 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-f94490cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rxQPWQ_Pwkhc6K8B3C-C1

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-f94490cf -d '<json body>'
```

Example prompt: Can you reverse the string 'Hello, World!' for me using PennyRail's text reversal service?

## When to prefer this

Choose this endpoint when you need a simple, on-demand string reversal via a paid micro-API with x402 settlement — useful in automated pipelines where you want a lightweight, stateless text transformation with per-call micropayment billing rather than running your own reversal logic or integrating a heavier NLP service.

## Known failure modes

- Missing required 'input' field returns a validation error
- Empty string input may return an empty string or an error
- Payment failure (402) if USDC balance is insufficient or x402 header is missing/invalid
- Network timeout on Vercel cold start
- Non-string input type may cause a schema validation rejection

## How this service works

Machine-readable settlement service

## Output

A JSON object containing the reversed version of the input string. The response schema is open-ended (additionalProperties: true), so the exact field name for the reversed result may vary, but the primary payload is the character-reversed form of the submitted input string.

## 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-f94490cf/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)
