# PennyRail Number Round

> PennyRail Number Round 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-15).

Rounds a numeric value to a specified number of decimal places via a paid micropayment API

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/f/number.round
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-number-round-20cc6701
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R5rBt6d4fKOAIHLHFu-lo

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-number-round-20cc6701 -d '<json body>'
```

Example prompt: Round the value 3.14159265 to 2 decimal places using PennyRail's number rounding service.

## When to prefer this

Use this endpoint when you need a simple, pay-per-call numeric rounding operation without setting up your own compute infrastructure, or when operating in an agent pipeline that already uses x402 micropayment rails and needs arithmetic utilities on demand.

## Known failure modes

- Missing required 'input' field returns a 400-level error
- Invalid or non-numeric value field causes computation failure
- Missing decimals specification may produce unexpected default precision
- Payment failure (insufficient USDC balance) blocks the request with a 402 status

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object with the operation name (e.g. 'round') and the rounded numeric result, plus any additional fields the service appends.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "description": "{value,decimals}"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "operation",
  "result"
 ],
 "properties": {
  "result": {},
  "operation": {
   "type": "string"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-number-round-20cc6701/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)
