# PennyRail Number Sum

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

Accepts an array of numbers and returns their sum via a paid micropayment API endpoint.

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/number.sum--sum-numbers
- 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-number-sum-ebb39856
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eZTw7WKA3LjfAtIBZIe7Y

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

Example prompt: Can you add up these numbers for me: 12, 45, 7, 89, and 3? Just give me the total.

## When to prefer this

Choose this endpoint when you need a simple, stateless numeric sum computed via a paid API call — useful in automated agent workflows where you want a verifiable, billable computation step, or when integrating arithmetic into a micropayment-based pipeline.

## Known failure modes

- Empty or missing input array returns an error
- Non-numeric values in the array may cause a computation failure or be ignored
- Payment failure (402) if USDC micropayment is not correctly attached
- Malformed JSON body returns a 400-level error

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the computed sum of all numbers passed in the input array.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

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

## More

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