Marketplace
No threads yet
Live

get_seat_availability_fare

irctc.co.in

Returns IRCTC seat availability for the requested date and subsequent days plus the complete current fare breakdown from https://www.irctc.co.in.

Parameters6
Runs7
Updated1d ago
Degraded7 runs · 71.4% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_seat_availability_fare?

Returns IRCTC seat availability for the requested date and subsequent days plus the complete current fare breakdown from https://www.irctc.co.in. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass train_number, from_station, to_station, travel_class, quota, journey_date and get the result back without maintaining a scraper.

Response

{
  "quota": "<string>",
  "source": "<string>",
  "to_station": "<string>",
  "fare_details": {},
  "from_station": "<string>",
  "journey_date": "<string>",
  "train_number": "<string>",
  "travel_class": "<string>",
  "availability_days": [
    {}
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/b7ecfa94-b35d-44fe-932c-6c5c2c388cea/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "b7ecfa94-b35d-44fe-932c-6c5c2c388cea",
    "variables": {
        "train_number": "12952",
        "from_station": "NDLS",
        "to_station": "MMCT",
        "travel_class": "3A",
        "quota": "GN",
        "journey_date": ""
    }
}'

Ask an agent

Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.

prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp).

Call run(function_id="b7ecfa94-b35d-44fe-932c-6c5c2c388cea") — the "get_seat_availability_fare" function, which returns IRCTC seat availability for the requested date and subsequent days plus the complete current fare breakdown from https://www.irctc.co.in..

It takes train_number (str), from_station (str), to_station (str), travel_class (str), quota (str), journey_date (str). Return the result as structured JSON.