# IRCTC Train Information API

> IRCTC Train Information API is a paid API for AI agents from sna4an-sosmed-v1.vercel.app, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-11).

Queries Indian Railways (IRCTC) train data including schedules, availability, and route information via a natural language or structured query.

## Facts

- Endpoint: POST https://sna4an-sosmed-v1.vercel.app/api/irctc?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/irctc-train-information-api-17645bf6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w3t4x8fTdu01DIsR0lOP_

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 irctc-train-information-api-17645bf6 -d '<json body>'
```

Example prompt: Can you check if there are any trains running from New Delhi to Mumbai tomorrow, and what seats are available?

## When to prefer this

Use this endpoint when you need to look up Indian Railways (IRCTC) train information such as schedules, routes, fares, or seat availability. Prefer this over generic travel search APIs when the user specifically needs Indian Railways data. Not suitable for flight, bus, or international train queries.

## Known failure modes

- Invalid or unrecognized station names return empty or error results
- Queries for trains outside the IRCTC network return no data
- Ambiguous query strings may yield irrelevant results
- Date-specific queries may fail if the date is too far in the future or past
- API may return generic object response with unclear structure due to loose schema definition

## How this service works

126 paid social media API endpoints - TikTok, Instagram, Twitter/X, YouTube, Finance, AI Tools &amp; more. Protected by x402 micropayments on Base chain.

## Output

Returns train-related data from IRCTC such as train names, numbers, schedules, departure/arrival times, seat class availability, fares, and route information based on the input query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/irctc-train-information-api-17645bf6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from sna4an-sosmed-v1.vercel.app](https://www.zero.xyz/host/sna4an-sosmed-v1.vercel.app/llms.txt)
