# PennyRail Chain Info

> PennyRail Chain Info is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-03).

Retrieves machine-readable blockchain chain information for the Nano network via a micropayment-gated settlement endpoint

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/p/nano/chain.info--chain-info?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-chain-info-fb1afa3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CbBX3FCfOVLrcQglMGeoI

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-chain-info-fb1afa3c -d '<json body>'
```

Example prompt: Can you fetch the current chain info for the Nano blockchain using PennyRail — I need the network metadata like chain ID and status?

## When to prefer this

Choose this endpoint when you need machine-readable Nano blockchain chain metadata in a programmatic, micropayment-gated context — particularly when integrating with x402-compatible payment flows or when you need lightweight per-call pricing at $0.001 USDC. Prefer this over general-purpose Nano RPC nodes when you want a hosted, discovery-friendly REST API rather than a raw node connection.

## Known failure modes

- Missing or empty 'input' field returns validation error
- Invalid input string may return empty or null chain data
- Payment not fulfilled (x402) results in 402 Payment Required response
- Network or upstream Nano node unavailability may cause timeout or 503
- Malformed JSON body returns 400 Bad Request

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing machine-readable Nano blockchain chain information, including network identifiers, chain state, and related metadata. The response schema is open-ended and may include chain ID, genesis block, network version, or other chain-level parameters depending on the current Nano network state.

## 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-chain-info-fb1afa3c/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)
