龙虾开放平台(通用版)
    • 欢迎语
    • 快速开始
      • 接入流程
      • 公共请求头
      • 注意事项
      • 速率限制与配额策略
      • 鉴权说明
      • 错误码
    • 机票
      • 机票接口说明
      • 机场搜索
      • 创建机票订单
      • 机票验价
      • 机票查询列表
    • 酒店
      • 酒店接口说明
      • 酒店查询列表
      • 酒店房型详情
      • 创建酒店订单
    • 数据模型
      • response.Response
      • schema.AirportSearchResponse
      • schema.FlightOrderCreateRequest
      • schema.FlightOrderCreateResponse
      • schema.FlightPricingRequest
      • schema.FlightPricingResponse
      • schema.FlightSearchResponse
      • schema.HotelOrderCreateRequest
      • schema.HotelOrderCreateResponse
      • schema.HotelRoomsRequest
      • schema.HotelRoomsResponse
      • schema.HotelSearchRequest
      • schema.HotelSearchResponse
      • schema.AirportItem
      • schema.ContactInfo
      • schema.InvoiceAddress
      • schema.PassengerInfo
      • schema.PassengerFareItem
      • schema.FlightItem
      • schema.GuestInfo
      • schema.RoomType
      • schema.HotelSearchFilters
      • schema.HotelItem
      • schema.PageInfo
      • schema.CabinFareItem
      • schema.RoomTypeProduct

    schema.FlightSearchResponse

    {
        "flights": [
            {
                "aircraft_type": "320",
                "airline_code": "CZ",
                "airline_name": "南方航空",
                "arr_airport_code": "HGH",
                "arr_airport_name": "杭州萧山国际机场",
                "arr_city_code": "HGH",
                "arr_city_name": "杭州",
                "arr_terminal": "T4",
                "arr_time": "2026-06-01 10:30",
                "cabins": [
                    {
                        "adult_price": 580,
                        "airport_tax": 50,
                        "baggage_rule": "20kg",
                        "cabin_class": "economy",
                        "cabin_code": "Y",
                        "cabin_name": "经济舱",
                        "change_rule": "起飞前24小时改签免费",
                        "child_price": 290,
                        "discount_rate": 0.5,
                        "fuel_tax": 0,
                        "lowest_price": 580,
                        "offer_id": "eyJhbGciOiJBMjU2R0NNIiwidHlwIjoiSldUIn0...",
                        "price_type": "reference",
                        "pricing_required": false,
                        "refund_rule": "起飞前2小时退票收取50%",
                        "search_offer_id": "eyJhbGciOiJBMjU2R0NNIiwidHlwIjoiSldUIn0...",
                        "seat_status": "enough"
                    }
                ],
                "dep_airport_code": "SZX",
                "dep_airport_name": "深圳宝安国际机场",
                "dep_city_code": "SZX",
                "dep_city_name": "深圳",
                "dep_terminal": "T3",
                "dep_time": "2026-06-01 08:00",
                "duration_minutes": 150,
                "flight_id": "FL_20260601_CZ3569_SZX_HGH",
                "flight_no": "CZ3569",
                "meal": "有餐食",
                "stop_count": 0
            }
        ],
        "page": 1,
        "page_size": 20,
        "return_flights": [
            {
                "aircraft_type": "320",
                "airline_code": "CZ",
                "airline_name": "南方航空",
                "arr_airport_code": "HGH",
                "arr_airport_name": "杭州萧山国际机场",
                "arr_city_code": "HGH",
                "arr_city_name": "杭州",
                "arr_terminal": "T4",
                "arr_time": "2026-06-01 10:30",
                "cabins": [
                    {
                        "adult_price": 580,
                        "airport_tax": 50,
                        "baggage_rule": "20kg",
                        "cabin_class": "economy",
                        "cabin_code": "Y",
                        "cabin_name": "经济舱",
                        "change_rule": "起飞前24小时改签免费",
                        "child_price": 290,
                        "discount_rate": 0.5,
                        "fuel_tax": 0,
                        "lowest_price": 580,
                        "offer_id": "eyJhbGciOiJBMjU2R0NNIiwidHlwIjoiSldUIn0...",
                        "price_type": "reference",
                        "pricing_required": false,
                        "refund_rule": "起飞前2小时退票收取50%",
                        "search_offer_id": "eyJhbGciOiJBMjU2R0NNIiwidHlwIjoiSldUIn0...",
                        "seat_status": "enough"
                    }
                ],
                "dep_airport_code": "SZX",
                "dep_airport_name": "深圳宝安国际机场",
                "dep_city_code": "SZX",
                "dep_city_name": "深圳",
                "dep_terminal": "T3",
                "dep_time": "2026-06-01 08:00",
                "duration_minutes": 150,
                "flight_id": "FL_20260601_CZ3569_SZX_HGH",
                "flight_no": "CZ3569",
                "meal": "有餐食",
                "stop_count": 0
            }
        ],
        "search_id": "S_20260601_SZX_HGH_xxx",
        "tag": "lowest_price",
        "total": 50
    }
    Built with