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

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

数据ID:96

接口状态:正常

连接应用数:1625

接入服务商:敬众科技

¥99.00 /4000次

  • API
  • 错误码参照
  • 价格与请求限制
  • 示例代码
  • 其他相关
接口地址:http://op.juhe.cn/flight/sk
支持格式:json/xml
请求方式:http get/post
请求示例:http://op.juhe.cn/flight/sk?key=APPKEY&orgCity=SHA&dstCity=WUH&flightDate=2014-11-12&airline=ALL&direct=true&nostop=true
调用样例及调试工具:API测试工具
请求参数说明:
名称 类型 必填 说明
  key string 应用APPKEY(应用详细页查询)
  dtype string 返回数据的格式,xml或json,默认json
  orgCity string 始发城市的三字码
  dstCity string 到达城市的三字码
  flightDate Date 日期(年月日)
  airline string 航空公司的两字码或者"ALL"或者""
  direct boolean 直航/转飞
  nostop boolean 是否经停
返回参数说明:
名称 类型 说明
  Airline 字符串 本航段的航班号
  ArrTime 字符串 本航段的起飞时刻(时分)
  arrTimeModify 字符串 本航段的起飞日期修正
  Asr 布尔型 本航段的ASR支持标志
  ClassList 字符串 本航段的舱位列表
  DepTime 字符串 本航段的到达时刻
  depTimeModify 字符串 本航段的到达日期修正
  Dstcity 字符串 本航段的到达城市的三字码
  effectiveDate 日期类型 有效期限的起始时间(年月日)
  expirationDate 日期类型 有效期限的截至时间(年月日)
  flightClasses 字符串 本航段支持的舱位种类
  IsEtkt 布尔型 本航段的电子票标志
  Link 字符串 本航段的连接级别
  Meal 布尔型 本航段的餐食标志
  OpenTo 字符串 本航段的开放对象
  OrgCity 字符串 本航段的始发城市的三字码
  PlaneStyle 字符串 本航段使用的机型
  StopNumber 长整型 本航段的经停次数
 
JSON返回示例:
{
    "resultcode": "200",
    "reason": "Success",
    "result": [
        {
            "flightNo": "FM9361    ",
            "ArrTime": "0755  ",
            "arrTimeModify": "0755  ",
            "Asr": "false",
            "ClassList": "FPAYKBEHLMNRSVTWG*",
            "DepTime": "0940  ",
            "DepTimeModify": [],
            "Dstcity": "WUH",
            "effectiveDate": "2012-12-01T00:00:00",
            "expirationDate": "2012-12-01T00:00:00",
            "flightClasses": [],
            "IsEtkt": "true",
            "Link": "false",
            "Meal": "false",
            "OpenTo": [],
            "OrgCity": "SHA",
            "PlaneStyle": "73E",
            "StopNumber": "0"
        },
        {
            "flightNo": "MU9361    ",
            "ArrTime": "0755  ",
            "arrTimeModify": "0755  ",
            "Asr": "false",
            "ClassList": "FPYKBEHLMNRSVTWGX*",
            "DepTime": "0940  ",
            "DepTimeModify": [],
            "Dstcity": "WUH",
            "effectiveDate": "2012-12-01T00:00:00",
            "expirationDate": "2012-12-01T00:00:00",
            "flightClasses": [],
            "IsEtkt": "true",
            "Link": "false",
            "Meal": "false",
            "OpenTo": [],
            "OrgCity": "SHA",
            "PlaneStyle": "73E",
            "StopNumber": "0"
        },
        {
            "flightNo": "FM9359    ",
            "ArrTime": "0915  ",
            "arrTimeModify": "0915  ",
            "Asr": "false",
            "ClassList": "FPAYKBEHLMNRSVTWG*",
            "DepTime": "1105  ",
            "DepTimeModify": [],
            "Dstcity": "WUH",
            "effectiveDate": "2012-03-29T00:00:00",
            "expirationDate": "2012-03-29T00:00:00",
            "flightClasses": [],
            "IsEtkt": "true",
            "Link": "false",
            "Meal": "false",
            "OpenTo": [],
            "OrgCity": "SHA",
            "PlaneStyle": "738",
            "StopNumber": "0"
        },
        {
            "flightNo": "MU9359    ",
            "ArrTime": "0915  ",
            "arrTimeModify": "0915  ",
            "Asr": "false",
            "ClassList": "FPYKBEHLMNRSVTWGX*",
            "DepTime": "1105  ",
            "DepTimeModify": [],
            "Dstcity": "WUH",
            "effectiveDate": "2012-03-29T00:00:00",
            "expirationDate": "2012-03-29T00:00:00",
            "flightClasses": [],
            "IsEtkt": "true",
            "Link": "false",
            "Meal": "false",
            "OpenTo": [],
            "OrgCity": "SHA",
            "PlaneStyle": "738",
            "StopNumber": "0"
        },
        {
            "flightNo": "MU2516    ",
            "ArrTime": "1045  ",
            "arrTimeModify": "1045  ",
            "Asr": "false",
            "ClassList": "FPAYKBEHLMNRSVTWG*",
            "DepTime": "1235  ",
            "DepTimeModify": [],
            "Dstcity": "WUH",
            "effectiveDate": "2012-11-27T00:00:00",
            "expirationDate": "2012-11-27T00:00:00",
            "flightClasses": [],
            "IsEtkt": "true",
            "Link": "false",
            "Meal": "false",
            "OpenTo": [],
            "OrgCity": "SHA",
            "PlaneStyle": "JET",
            "StopNumber": "0"
        },
        {
            "flightNo": "FM9363    ",
            "ArrTime": "1925  ",
            "arrTimeModify": "1925  ",
            "Asr": "false",
            "ClassList": "FPAYKBEHLMNRSVTWG*",
            "DepTime": "2120  ",
            "DepTimeModify": [],
            "Dstcity": "WUH",
            "effectiveDate": "2012-03-30T00:00:00",
            "expirationDate": "2012-03-30T00:00:00",
            "flightClasses": [],
            "IsEtkt": "true",
            "Link": "false",
            "Meal": "false",
            "OpenTo": [],
            "OrgCity": "SHA",
            "PlaneStyle": "738",
            "StopNumber": "0"
        },
        {
            "flightNo": "MU9363    ",
            "ArrTime": "1925  ",
            "arrTimeModify": "1925  ",
            "Asr": "false",
            "ClassList": "FPYKBEHLMNRSVTWGX*",
            "DepTime": "2120  ",
            "DepTimeModify": [],
            "Dstcity": "WUH",
            "effectiveDate": "2012-03-30T00:00:00",
            "expirationDate": "2012-03-30T00:00:00",
            "flightClasses": [],
            "IsEtkt": "true",
            "Link": "false",
            "Meal": "false",
            "OpenTo": [],
            "OrgCity": "SHA",
            "PlaneStyle": "738",
            "StopNumber": "0"
        },
        {
            "flightNo": "MU2512    ",
            "ArrTime": "2345  ",
            "arrTimeModify": "2345  ",
            "Asr": "false",
            "ClassList": "FPAYKBEHLMNRSVTWG*",
            "DepTime": "0140  ",
            "DepTimeModify": [],
            "Dstcity": "WUH",
            "effectiveDate": "2012-12-30T00:00:00",
            "expirationDate": "2012-12-30T00:00:00",
            "flightClasses": [],
            "IsEtkt": "true",
            "Link": "false",
            "Meal": "false",
            "OpenTo": [],
            "OrgCity": "SHA",
            "PlaneStyle": "JET",
            "StopNumber": "0"
        },
        {
            "flightNo": "MU2512    ",
            "ArrTime": "2345  ",
            "arrTimeModify": "2345  ",
            "Asr": "false",
            "ClassList": "FPAYKBEHLMNRSVTWG*",
            "DepTime": "0140  ",
            "DepTimeModify": [],
            "Dstcity": "WUH",
            "effectiveDate": "2012-12-31T00:00:00",
            "expirationDate": "2012-12-31T00:00:00",
            "flightClasses": [],
            "IsEtkt": "true",
            "Link": "false",
            "Meal": "false",
            "OpenTo": [],
            "OrgCity": "SHA",
            "PlaneStyle": "JET",
            "StopNumber": "0"
        }
    ],
    "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/1490681741
其他相关内容
  内容 详细
  接口测试: API测试工具
  技术支持: info@juhe.cn
  联系电话: 0512-62391880
  在线客服QQ: 800076065
  商务合作QQ: 603866358

推荐接口/API

活动推荐/Activity