Live
get_fare_breakdown
irctc.co.inReturns the full fare breakdown for a train, route, class, and quota from https://www.irctc.co.in using a journey date seven days ahead.
Parameters5
Runs10
Updated1d ago
Degraded10 runs · 60% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_fare_breakdown?
Returns the full fare breakdown for a train, route, class, and quota from https://www.irctc.co.in using a journey date seven days ahead. 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 and get the result back without maintaining a scraper.
Response
{
"quota": "<string>",
"source": "<string>",
"to_station": "<string>",
"from_station": "<string>",
"journey_date": "<string>",
"train_number": "<string>",
"travel_class": "<string>",
"fare_breakdown": {}
}Call it
curl --location 'https://us-prod.notte.cc/functions/87d39368-43d8-48d8-84dc-200b885b97f5/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "87d39368-43d8-48d8-84dc-200b885b97f5",
"variables": {
"train_number": "12952",
"from_station": "NDLS",
"to_station": "MMCT",
"travel_class": "3A",
"quota": "GN"
}
}'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="87d39368-43d8-48d8-84dc-200b885b97f5") — the "get_fare_breakdown" function, which returns the full fare breakdown for a train, route, class, and quota from https://www.irctc.co.in using a journey date seven days ahead.. It takes train_number (str), from_station (str), to_station (str), travel_class (str), quota (str). Return the result as structured JSON.