# PennyRail Router Execute (Mini)

> PennyRail Router Execute (Mini) is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Routes a natural-language task or product ID through PennyRail's settlement layer and executes the resolved micro-service, charging $0.002 USDC per call via x402.

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/router/execute/mini
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-router-execute-mini-c926c622
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lhjgKPcBDdiuclKvIWKpM

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-router-execute-mini-c926c622 -d '<json body>'
```

Example prompt: Use PennyRail to summarize the following text for me — just pass it as the intent: 'The quick brown fox jumps over the lazy dog. This sentence contains every letter of the English alphabet.'

## When to prefer this

Choose this endpoint when you need to dispatch a small, cheap automated task through PennyRail's routing layer and don't want to manage individual service integrations — especially when you can describe the task in natural language and let PennyRail resolve the best product, or when you already have a PennyRail product ID and want to invoke it directly for $0.002 USDC per call.

## Known failure modes

- No matching product found for the given intent — returns an error or empty result
- Invalid or unknown productId — returns a resolution failure
- Payment not authorized or x402 settlement fails — call is rejected before execution
- Input string malformed or missing — may return a validation error
- Service timeout if the resolved downstream product is slow

## How this service works

Machine-readable settlement service

## Output

An open-schema JSON object containing the output from whichever PennyRail product was resolved and executed — the shape depends on the product but always reflects the result of the routed micro-task.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "Input passed to the resolved PennyRail product."
  },
  "intent": {
   "type": "string",
   "description": "Natural-language task. Omit when productId is supplied."
  },
  "productId": {
   "type": "string",
   "description": "Optional exact PennyRail product id returned by find/quote."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-router-execute-mini-c926c622/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)
