Calendar Fare Of The Month

Calendar Fare Of The Month API

The Calendar Fare Of The Month API allows you to retrieve fare information for flights across an entire month, helping you identify the best pricing options for flexible travel dates.

API Endpoint

POST /calendar_fare

Request Format

Request Body Parameters

ParameterTypeRequiredDescription
client_referenceIdstringYesUnique reference identifier for the request
originstringYesOrigin airport code (IATA 3-letter code)
destinationstringYesDestination airport code (IATA 3-letter code)
cabin_classstringYesCabin class preference (economy, premium_economy, business, first)
departure_datestringYesDeparture date in YYYY-MM-DD format
departure_periodstringNoPreferred departure time period (morning, afternoon, evening, night)
sourcearrayNoArray of airline codes to search (e.g., ["6E"] for IndiGo)

Example Request

{
  "client_referenceId": "REF123456789",
  "origin": "DEL",
  "destination": "BOM",
  "cabin_class": "economy",
  "departure_date": "2025-06-01",
  "departure_period": "morning",
  "source": ["6E"]
}

Response Format

Response Structure

FieldTypeDescription
statusstringResponse status (SUCCESS or ERROR)
status_codestringHTTP status code
messagestringDescriptive message about the response
dataobjectContains the fare information

Data Object

FieldTypeDescription
trace_idstringUnique identifier for tracking the request
originstringOrigin airport code
destinationstringDestination airport code
calendar_farearrayArray of fare options for the month

Calendar Fare Array

Each fare object contains:

FieldTypeDescription
airline_codestringIATA airline code
airline_namestringFull airline name
departure_timestringDeparture date and time (YYYY-MM-DD HH:MM:SS)
lowest_fare_of_monthbooleanIndicates if this is the lowest fare for the month
farenumberTotal fare amount including all taxes and fees
basefarenumberBase fare amount before taxes
tax_and_surchargesnumberTotal taxes and surcharges

Response 200 Properties

Root Level Properties

PropertyTypeRequiredDescription
statusstringYesAlways SUCCESS for successful responses
status_codestringYesHTTP status code, always "200" for successful responses
messagestringYesHuman-readable message describing the response
dataobjectYesMain data container with fare information

Data Object Properties

PropertyTypeRequiredDescription
trace_idstringYesUnique UUID for request tracking and debugging
originstringYesThree-letter IATA airport code for departure airport
destinationstringYesThree-letter IATA airport code for arrival airport
calendar_farearrayYesArray of available flight fare options for the specified month

Calendar Fare Object Properties

Each object in the calendar_fare array contains:

PropertyTypeRequiredFormat/ValuesDescription
airline_codestringYes2-3 charsIATA airline code (e.g., "SG", "6E", "AI")
airline_namestringYes-Full airline name (e.g., "Spicejet", "IndiGo")
departure_timestringYesYYYY-MM-DD HH:MM:SSDeparture date and time in 24-hour format
lowest_fare_of_monthbooleanYestrue/falseFlag indicating if this is the month's lowest fare
farenumberYesDecimalTotal fare including all taxes and surcharges
basefarenumberYesDecimalBase fare amount before taxes
tax_and_surchargesnumberYesDecimalTotal amount of taxes and surcharges

Example Response

{
    "status": "SUCCESS",
    "status_code": "200",
    "message": "Calendar fare for the month has been successfully fetched.",
    "data": {
        "trace_id": "4dd49a95-6521-49ce-b1c5-bff2fed3bd07",
        "origin": "DEL",
        "destination": "BOM",
        "calendar_fare": [
            {
                "airline_code": "SG",
                "airline_name": "Spicejet",
                "departure_time": "2025-06-01 06:10:00",
                "lowest_fare_of_month": false,
                "fare": 3268.77,
                "basefare": 1999,
                "tax_and_surcharges": 1269.77
            }
        ]
    }
}

Notes

  • The API returns fare information for the entire month based on the departure date provided
  • Use the lowest_fare_of_month flag to identify the most economical options
  • Multiple airlines can be included in the source parameter for comprehensive results
  • All monetary values are in the local currency of the origin country
  • The trace_id can be used for debugging and support purposes
Language
Click Try It! to start a request and see the response here!