航班时刻票价查询 敬众科技 支持HTTPS

查询航班可售舱位、经停点、机票验真、实时起降时间、改签查询、机场天气等

数据ID:96

接口状态:正常

连接应用数:2262

接入服务商:敬众科技

¥99.00 /4000次

  • API
  • 错误码参照
  • 价格与请求限制
  • 示例代码
  • 其他相关
接口地址:http://op.juhe.cn/flight/nfd
返回格式:jsom/xml
请求方式:http get/post
请求示例:http://op.juhe.cn/flight/nfd?key=APPKEY&&orgCity=WUH&dstCity=PVG&flightDate=2014-12-18&airline=all
调用样例及调试工具:API测试工具
请求参数说明:
名称 类型 必填 说明
  key string 应用APPKEY(应用详细页查询)
  dtype string 返回数据的格式,xml或json,默认json
  orgCity string 始发城市的三字码
  dstCity string 到达城市的三字码
  flightDate Date 日期(年月日)
  airline string 航空公司的两字码或者"ALL"或者""
返回参数说明:
名称 类型 说明
  AirlineCode 字符串 航空公司
  FlightCourse 字符串 航段 如:PEK-SHA
  SeatClass 字符串 舱位
  BasicCabinType 字符串 基础舱位
  Price 双精度 票面价
  RtPrice 字符串 票价级别
  GoDepartureAirport 字符串 去程出发机场
  GoArrivalAirport 字符串 去程到达机场
  GoStartDate 字符串 去程乘机日期始
  GoExpirationDate 字符串 去程乘机日期止
  SmallestAdvancingDay 整数型 提前预定最小天数
  BiggestAdvancingDay 整数型 提前预定最大天数
  GoFlightNoInclude 字符串 去程适用航班
  GoFlightNoExclude 字符串 去程不适用航班
  RefundRule 字符串 退票规定
  ChangeRule 字符串 变更规定
  GoFlightCycle 字符串 去程班期限制
 
JSON返回示例:
{
    "resultcode": "200",
    "reason": "Success",
    "result": [
        {
            "AirlineCode": "HO",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "I",
            "BasicCabinType": "Y",
            "Price": "280.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-12-16",
            "GoExpirationDate": "2015-01-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": "1118-1118",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "FM",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "T",
            "BasicCabinType": "Y",
            "Price": "290.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-10-17",
            "GoExpirationDate": "2015-01-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": "9364-9364/9372-9372",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "MU",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "T",
            "BasicCabinType": "Y",
            "Price": "290.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-10-17",
            "GoExpirationDate": "2015-01-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": "9364-9364/9372-9372/577-577/2543-2543/2691-2691/2019-2019/517-517",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "MU",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "T",
            "BasicCabinType": "Y",
            "Price": "260.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-11-12",
            "GoExpirationDate": "2014-12-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": "517-517",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "CZ",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "Z",
            "BasicCabinType": "Y",
            "Price": "430.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-10-26",
            "GoExpirationDate": "2020-12-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": [],
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "HO",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "X",
            "BasicCabinType": "Y",
            "Price": "220.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-10-26",
            "GoExpirationDate": "2014-12-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": "1068-1068",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "HO",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "X",
            "BasicCabinType": "Y",
            "Price": "270.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-10-26",
            "GoExpirationDate": "2014-12-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "3",
            "GoFlightNoInclude": "1118-1118",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "HO",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "Q",
            "BasicCabinType": "Y",
            "Price": "430.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-06-20",
            "GoExpirationDate": "2023-12-30",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": [],
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "HO",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "P",
            "BasicCabinType": "Y",
            "Price": "320.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-06-20",
            "GoExpirationDate": "2020-12-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": [],
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "CZ",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "T",
            "BasicCabinType": "Y",
            "Price": "240.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-12-01",
            "GoExpirationDate": "2014-12-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "30",
            "GoFlightNoInclude": "3823-3823",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "CZ",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "T",
            "BasicCabinType": "Y",
            "Price": "270.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-12-01",
            "GoExpirationDate": "2014-12-31",
            "SmallestAdvancingDay": "1",
            "BiggestAdvancingDay": "30",
            "GoFlightNoInclude": "6197-6197",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": "1,2,3,6"
        },
        {
            "AirlineCode": "CZ",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "T",
            "BasicCabinType": "Y",
            "Price": "290.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-12-01",
            "GoExpirationDate": "2014-12-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "30",
            "GoFlightNoInclude": "3543-3543",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": "1,2,3,6"
        },
        {
            "AirlineCode": "HO",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "A",
            "BasicCabinType": "F",
            "Price": "1080.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-10-27",
            "GoExpirationDate": "2015-02-21",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "3",
            "GoFlightNoInclude": "1068-1068",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "HO",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "A",
            "BasicCabinType": "F",
            "Price": "1300.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-10-27",
            "GoExpirationDate": "2015-02-21",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "3",
            "GoFlightNoInclude": "1118-1118",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "HO",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "Z",
            "BasicCabinType": "Y",
            "Price": "380.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-06-20",
            "GoExpirationDate": "2023-12-30",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": [],
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "MU",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "P",
            "BasicCabinType": "Y",
            "Price": "2150.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-12-15",
            "GoExpirationDate": "2020-12-30",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "2",
            "GoFlightNoInclude": [],
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "FM",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "P",
            "BasicCabinType": "Y",
            "Price": "1620.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-12-15",
            "GoExpirationDate": "2020-12-30",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "2",
            "GoFlightNoInclude": [],
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        },
        {
            "AirlineCode": "HO",
            "FlightCourse": "WUH-PVG",
            "SeatClass": "I",
            "BasicCabinType": "Y",
            "Price": "260.0000",
            "RtPrice": "0",
            "GoDepartureAirport": "WUH",
            "GoArrivalAirport": "PVG",
            "GoStartDate": "2014-12-16",
            "GoExpirationDate": "2015-01-31",
            "SmallestAdvancingDay": "0",
            "BiggestAdvancingDay": "365",
            "GoFlightNoInclude": "1068-1068",
            "GoFlightNoExclude": [],
            "RefundRule": [],
            "ChangeRule": [],
            "GoFlightCycle": []
        }
    ],
    "error_code": 0
}
服务级错误码参照(error_code):
  错误码 说明
  209601 参数错误(按照接口参数要求传参)
  209602 没有相关信息
  209603 接口升级中
系统级错误码参照:
  错误码 说明 旧版本(resultcode)
  10001 错误的请求KEY 101
  10002 该KEY无请求权限 102
  10003 KEY过期 103
  10004 错误的OPENID 104
  10005 应用未审核超时,请提交认证 105
  10007 未知的请求源 107
  10008 被禁止的IP 108
  10009 被禁止的KEY 109
  10011 当前IP请求超过限制 111
  10012 请求超过次数限制 112
  10013 测试KEY超过请求限制 113
  10014 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失) 114
  10020 接口维护 120
  10021 接口停用 121
错误码格式说明(示例:200201):
  2 002 01
  服务级错误(1为系统级错误) 服务模块代码(即数据ID) 具体错误代码
《航班时刻票价查询》资费说明:
  名称 价格 次数 说明
  赠送包 ¥0.00   0    
常规套餐包【更多次数、更多优惠,请与商务联系>>】
  名称 价格 次数 说明
  起步套餐 ¥99.00   4000  
  发展套餐 ¥199.00   10000  
为什么选择聚合数据?我们来做个比较!
 购买聚合数据的服务支出 << 服务器(600元/月)+带宽(100元/月)+技术人员(6000元/月)+...
完整教学代码示例:
  语言 标题 提供者 时间
常见问题:
  内容 详细
  常见问题: http://www.juhe.cn/qa/index/1513497315
其他相关内容
  内容 详细
  接口测试: API测试工具
  技术支持: info@juhe.cn
  联系电话: 0512-62391880
  在线客服QQ: 800076065

推荐接口/API