Indian rail data, one stable contract

Live stations, trains, availability, fares, chart intelligence, and async analysis through one authenticated v1 API.

Build with RailCore's Indian railway API: station, train, journey, availability, fare and chart endpoints with complete guides, an error reference and an interactive playground.

Base URL https://ir.railcore.tech/v1. Authenticate with an X-RailCore-Key header. Every response uses a shared envelope, and every endpoint documents its scope, credit cost and error codes.

Guides

Authentication

Every request carries your key in an X-RailCore-Key header. Keys are scoped per endpoint family, can be rotated, and may be restricted to an IP allowlist. Requests that change state can additionally be HMAC-signed. See authentication and HMAC signing.

Standard response envelope

Every endpoint returns the same envelope, so a client written against one operation already understands the rest: a success flag, the payload under data, and metadata carrying the request id and timing. Errors use the same shape with a stable machine-readable code rather than prose. Full reference in response envelope, and the complete code list in the error code catalog.

Rate limits and credits

Usage is metered in credits, and each endpoint documents its own cost and the plans it is available on. Per-minute and daily budgets are enforced, and every response reports the remaining quota in headers so a client can back off before it is throttled. See rate limits, credits and billing and the header reference.

API reference — 32 endpoints

Stations (4)

Trains (8)

Journeys (3)

Availability (4)

Fares (3)

Charts (4)

Jobs (6)

What the RailCore Indian Railways API covers