# Pricing State API — Railway Pricing Snapshot

> Pricing State API — Railway Pricing Snapshot is a paid API for AI agents from pricing-state-api.replit.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Returns a structured snapshot of Railway's current SaaS pricing plans, including plan names, prices, currency, billing period, and features.

## Facts

- Endpoint: GET https://pricing-state-api.replit.app/api/monitors/railway?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pricing-state-api-railway-pricing-snapshot-68d059de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__MXgCxKE4vFBSq4bsqMTA

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 pricing-state-api-railway-pricing-snapshot-68d059de
```

Example prompt: What are Railway's current pricing plans, how much do they cost per month, and what features are included in each tier?

## When to prefer this

Use this endpoint when you need machine-readable, structured Railway pricing data without scraping Railway's website yourself. Prefer this over general web scrapers when you want a normalized, consistently formatted pricing snapshot with plan names, prices, billing periods, and features already extracted. It is especially suited for AI agents doing cost comparisons, budget planning, or competitive intelligence where structured JSON output is more useful than raw HTML.

## Known failure modes

- 404 Not Found: the slug 'railway' is not in the catalog (no charge issued)
- 503 Service Unavailable: the Railway monitor has not yet completed its first successful check (no charge issued)
- Payment failure: x402 wallet lacks sufficient USDC on Base, causing the request to fail before data is returned
- Stale data: snapshot may be up to ~6 hours old if Railway's pricing page has changed recently

## How this service works

$0.01 USDC required (x402 / Base)

Paid 0.01 USDC. Structured snapshot for one catalog slug: plan names, prices, currency, billing period, price text, features when present, snapshot time. Unknown slug returns 404 and a monitor with no first successful check returns 503, both before charge.

No API key needed. Pay with any x402-compatible wallet that holds USDC on Base. If your agent does not yet have a funded wallet, set one up via Coinbase Agentic Wallet or Base MCP — then standard x402 clients will pay and retry automatically.

## Output

A structured JSON snapshot containing Railway's current pricing plans with fields including plan names, prices, currency, billing period, human-readable price text, available features (when present), and the timestamp of when the snapshot was last captured. Returns 404 if the slug is unknown, or 503 if no successful check has been made yet — both without charging.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "example": "linear",
       "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
       "description": "One monitor slug from the free catalog at GET /api/monitors — not the only paid monitor; every enabled slug in the catalog is a paid resource. The path template itself is a placeholder, not a vendor."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pricing-state-api-railway-pricing-snapshot-68d059de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pricing-state-api.replit.app](https://www.zero.xyz/host/pricing-state-api.replit.app/llms.txt)
