机票查询

今日调用0次,累计调用279

机票查询

接口地址: https://wyq.wqwlkj.cn/api/plane_search

返回格式: JSON

请求方式: GET/POST

请求示例: https://wyq.wqwlkj.cn/api/plane_search

请求参数说明:

名称 必填 类型 说明
departure string 出发地
arrival string 目的地
date string 出发时间,默认查询当天
apiKey string 独立的apikey

返回参数说明:

名称 类型 说明
code int 1成功,其他失败
ms string 获取结果
departure string 出发点
arrival string 目的地
date string 出发时间
filghtData string 航班数据
filghtData['flightNo'] string 航班班次
filghtData['aapname'] string 目的地机场
filghtData['oapname'] string 出发地机场
filghtData['airCompanyName'] string 航空公司名称
filghtData['equipmentName'] string 飞机型号
filghtData['flyOffTime'] string 起飞时间
filghtData['arrivalTime'] string 到达时间
filghtData['spantime'] string 总时长
filghtData['productPrices'] string 价格起售价
filghtData['sts'] string 飞机信息
isDirect string 分直达,中转

返回示例:

{
    "code": 1,
    "msg": "获取成功",
    "departure": "北京",
    "arrival": "上海",
    "date": "2024-01-17",
    "filghtData": [
        {
            "flightNo": "MU5100",
            "aapname": "上海浦东国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "东方航空",
            "equipmentName": "空客320(中)",
            "flyOffTime": "2024-01-17 07:00",
            "arrivalTime": "2024-01-17 09:20",
            "spantime": "2小时20分钟",
            "productPrices": {
                "经济舱": 996,
                "公务舱": 996,
                "头等舱": 1040,
                "超级经济舱": 1650
            },
            "sts": {
                "fbi": "东航MU5100",
                "equipmentName": "空客320(中)",
                "fRate": "航班准点率90%",
                "fYear": "机龄11.6年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率96%",
                "adl": "平均延误19分钟",
                "clp": "航班取消率13%"
            }
        },
        {
            "flightNo": "HU7611",
            "aapname": "上海浦东国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "海南航空",
            "equipmentName": "波音787(大)",
            "flyOffTime": "2024-01-17 07:10",
            "arrivalTime": "2024-01-17 09:30",
            "spantime": "2小时20分钟",
            "productPrices": {
                "经济舱": 1290,
                "公务舱": 1290,
                "头等舱": 1410,
                "超级经济舱": 1830
            },
            "sts": {
                "fbi": "海航HU7611",
                "equipmentName": "波音787(大)",
                "fRate": "航班准点率87%",
                "fYear": "机龄10.1年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率62%",
                "adl": "平均延误20分钟",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "KN5737",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京大兴国际机场",
            "airCompanyName": "中国联合航空",
            "equipmentName": "波音737-800(中)",
            "flyOffTime": "2024-01-17 07:20",
            "arrivalTime": "2024-01-17 09:25",
            "spantime": "2小时5分钟",
            "productPrices": {
                "经济舱": 1630,
                "公务舱": 1582,
                "头等舱": 1630
            },
            "sts": {
                "fbi": "中联航KN5737",
                "equipmentName": "波音737-800(中)",
                "fRate": "航班准点率90%",
                "fYear": "机龄13.2年",
                "mfg": "无餐食",
                "bridge": "航班廊桥率62%",
                "adl": "平均延误26分钟",
                "budget": "廉价航空",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "MU5183",
            "aapname": "上海浦东国际机场",
            "oapname": "北京大兴国际机场",
            "airCompanyName": "东方航空",
            "equipmentName": "空客A330-33L(大)",
            "flyOffTime": "2024-01-17 07:30",
            "arrivalTime": "2024-01-17 09:45",
            "spantime": "2小时15分钟",
            "productPrices": {
                "经济舱": 797,
                "公务舱": 797,
                "头等舱": 840,
                "超级经济舱": 1495
            },
            "sts": {
                "fbi": "东航MU5183",
                "equipmentName": "空客A330-33L(大)",
                "fRate": "航班准点率60%",
                "fYear": "机龄6.7年",
                "wifi": "机上WiFi",
                "mfg": "有早餐",
                "bridge": "航班廊桥率90%",
                "adl": "平均延误45分钟",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "CA1507",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "中国国际航空",
            "equipmentName": "波音777-300(大)",
            "flyOffTime": "2024-01-17 07:30",
            "arrivalTime": "2024-01-17 09:55",
            "spantime": "2小时25分钟",
            "productPrices": {
                "经济舱": 1830,
                "公务舱": 1830,
                "头等舱": 1880,
                "超级经济舱": 2500
            },
            "sts": {
                "fbi": "国航CA1507",
                "equipmentName": "波音777-300(大)",
                "fRate": "航班准点率93%",
                "fYear": "机龄9.8年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率100%",
                "adl": "平均延误17分钟",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "MU5102",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "东方航空",
            "equipmentName": "空客A330-200(大)",
            "flyOffTime": "2024-01-17 08:00",
            "arrivalTime": "2024-01-17 10:15",
            "spantime": "2小时15分钟",
            "productPrices": {
                "经济舱": 1823,
                "公务舱": 1823,
                "头等舱": 1870,
                "超级经济舱": 2189
            },
            "sts": {
                "fbi": "东航MU5102",
                "equipmentName": "空客A330-200(大)",
                "fRate": "航班准点率87%",
                "fYear": "机龄9.8年",
                "wifi": "机上WiFi",
                "mfg": "有早餐",
                "bridge": "航班廊桥率20%",
                "adl": "平均延误18分钟",
                "clp": "航班取消率23%"
            }
        },
        {
            "flightNo": "CA1835",
            "aapname": "上海浦东国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "中国国际航空",
            "equipmentName": "空客A330-300(大)",
            "flyOffTime": "2024-01-17 08:00",
            "arrivalTime": "2024-01-17 10:15",
            "spantime": "2小时15分钟",
            "productPrices": {
                "经济舱": 1830,
                "公务舱": 1830,
                "头等舱": 1830,
                "超级经济舱": 2200
            },
            "sts": {
                "fbi": "国航CA1835",
                "equipmentName": "空客A330-300(大)",
                "fRate": "航班准点率73%",
                "fYear": "机龄13.8年",
                "wifi": "机上WiFi",
                "mfg": "有早餐",
                "bridge": "航班廊桥率100%",
                "adl": "平均延误32分钟",
                "clp": "航班取消率10%"
            }
        },
        {
            "flightNo": "HU7603",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "海南航空",
            "equipmentName": "波音787(大)",
            "flyOffTime": "2024-01-17 08:15",
            "arrivalTime": "2024-01-17 10:20",
            "spantime": "2小时5分钟",
            "productPrices": {
                "经济舱": 1630,
                "公务舱": 1630,
                "头等舱": 1750,
                "超级经济舱": 3660
            },
            "sts": {
                "fbi": "海航HU7603",
                "equipmentName": "波音787(大)",
                "fRate": "航班准点率77%",
                "fYear": "机龄10.1年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率52%",
                "adl": "平均延误27分钟",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "MU5152",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "东方航空",
            "equipmentName": "空客A330-33L(大)",
            "flyOffTime": "2024-01-17 08:30",
            "arrivalTime": "2024-01-17 10:45",
            "spantime": "2小时15分钟",
            "productPrices": {
                "经济舱": 2121,
                "公务舱": 2130,
                "头等舱": 2150,
                "超级经济舱": 2510
            },
            "sts": {
                "fbi": "东航MU5152",
                "equipmentName": "空客A330-33L(大)",
                "fRate": "航班准点率87%",
                "fYear": "机龄5.5年",
                "wifi": "机上WiFi",
                "mfg": "有早餐",
                "bridge": "航班廊桥率83%",
                "adl": "平均延误22分钟",
                "clp": "航班取消率0%"
            }
        },
        {
            "flightNo": "CA1501",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "中国国际航空",
            "equipmentName": "波音777-300(大)",
            "flyOffTime": "2024-01-17 08:30",
            "arrivalTime": "2024-01-17 10:55",
            "spantime": "2小时25分钟",
            "productPrices": {
                "经济舱": 2150,
                "公务舱": 2150,
                "超级经济舱": 2800
            },
            "sts": {
                "fbi": "国航CA1501",
                "equipmentName": "波音777-300(大)",
                "fRate": "航班准点率77%",
                "fYear": "机龄9.3年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率100%",
                "adl": "平均延误29分钟",
                "clp": "航班取消率20%"
            }
        }
    ]
}

请求参数设置:

参数名称 参数值


{
    "code": 1,
    "msg": "获取成功",
    "departure": "北京",
    "arrival": "上海",
    "date": "2024-01-17",
    "filghtData": [
        {
            "flightNo": "MU5100",
            "aapname": "上海浦东国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "东方航空",
            "equipmentName": "空客320(中)",
            "flyOffTime": "2024-01-17 07:00",
            "arrivalTime": "2024-01-17 09:20",
            "spantime": "2小时20分钟",
            "productPrices": {
                "经济舱": 996,
                "公务舱": 996,
                "头等舱": 1040,
                "超级经济舱": 1650
            },
            "sts": {
                "fbi": "东航MU5100",
                "equipmentName": "空客320(中)",
                "fRate": "航班准点率90%",
                "fYear": "机龄11.6年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率96%",
                "adl": "平均延误19分钟",
                "clp": "航班取消率13%"
            }
        },
        {
            "flightNo": "HU7611",
            "aapname": "上海浦东国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "海南航空",
            "equipmentName": "波音787(大)",
            "flyOffTime": "2024-01-17 07:10",
            "arrivalTime": "2024-01-17 09:30",
            "spantime": "2小时20分钟",
            "productPrices": {
                "经济舱": 1290,
                "公务舱": 1290,
                "头等舱": 1410,
                "超级经济舱": 1830
            },
            "sts": {
                "fbi": "海航HU7611",
                "equipmentName": "波音787(大)",
                "fRate": "航班准点率87%",
                "fYear": "机龄10.1年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率62%",
                "adl": "平均延误20分钟",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "KN5737",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京大兴国际机场",
            "airCompanyName": "中国联合航空",
            "equipmentName": "波音737-800(中)",
            "flyOffTime": "2024-01-17 07:20",
            "arrivalTime": "2024-01-17 09:25",
            "spantime": "2小时5分钟",
            "productPrices": {
                "经济舱": 1630,
                "公务舱": 1582,
                "头等舱": 1630
            },
            "sts": {
                "fbi": "中联航KN5737",
                "equipmentName": "波音737-800(中)",
                "fRate": "航班准点率90%",
                "fYear": "机龄13.2年",
                "mfg": "无餐食",
                "bridge": "航班廊桥率62%",
                "adl": "平均延误26分钟",
                "budget": "廉价航空",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "MU5183",
            "aapname": "上海浦东国际机场",
            "oapname": "北京大兴国际机场",
            "airCompanyName": "东方航空",
            "equipmentName": "空客A330-33L(大)",
            "flyOffTime": "2024-01-17 07:30",
            "arrivalTime": "2024-01-17 09:45",
            "spantime": "2小时15分钟",
            "productPrices": {
                "经济舱": 797,
                "公务舱": 797,
                "头等舱": 840,
                "超级经济舱": 1495
            },
            "sts": {
                "fbi": "东航MU5183",
                "equipmentName": "空客A330-33L(大)",
                "fRate": "航班准点率60%",
                "fYear": "机龄6.7年",
                "wifi": "机上WiFi",
                "mfg": "有早餐",
                "bridge": "航班廊桥率90%",
                "adl": "平均延误45分钟",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "CA1507",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "中国国际航空",
            "equipmentName": "波音777-300(大)",
            "flyOffTime": "2024-01-17 07:30",
            "arrivalTime": "2024-01-17 09:55",
            "spantime": "2小时25分钟",
            "productPrices": {
                "经济舱": 1830,
                "公务舱": 1830,
                "头等舱": 1880,
                "超级经济舱": 2500
            },
            "sts": {
                "fbi": "国航CA1507",
                "equipmentName": "波音777-300(大)",
                "fRate": "航班准点率93%",
                "fYear": "机龄9.8年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率100%",
                "adl": "平均延误17分钟",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "MU5102",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "东方航空",
            "equipmentName": "空客A330-200(大)",
            "flyOffTime": "2024-01-17 08:00",
            "arrivalTime": "2024-01-17 10:15",
            "spantime": "2小时15分钟",
            "productPrices": {
                "经济舱": 1823,
                "公务舱": 1823,
                "头等舱": 1870,
                "超级经济舱": 2189
            },
            "sts": {
                "fbi": "东航MU5102",
                "equipmentName": "空客A330-200(大)",
                "fRate": "航班准点率87%",
                "fYear": "机龄9.8年",
                "wifi": "机上WiFi",
                "mfg": "有早餐",
                "bridge": "航班廊桥率20%",
                "adl": "平均延误18分钟",
                "clp": "航班取消率23%"
            }
        },
        {
            "flightNo": "CA1835",
            "aapname": "上海浦东国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "中国国际航空",
            "equipmentName": "空客A330-300(大)",
            "flyOffTime": "2024-01-17 08:00",
            "arrivalTime": "2024-01-17 10:15",
            "spantime": "2小时15分钟",
            "productPrices": {
                "经济舱": 1830,
                "公务舱": 1830,
                "头等舱": 1830,
                "超级经济舱": 2200
            },
            "sts": {
                "fbi": "国航CA1835",
                "equipmentName": "空客A330-300(大)",
                "fRate": "航班准点率73%",
                "fYear": "机龄13.8年",
                "wifi": "机上WiFi",
                "mfg": "有早餐",
                "bridge": "航班廊桥率100%",
                "adl": "平均延误32分钟",
                "clp": "航班取消率10%"
            }
        },
        {
            "flightNo": "HU7603",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "海南航空",
            "equipmentName": "波音787(大)",
            "flyOffTime": "2024-01-17 08:15",
            "arrivalTime": "2024-01-17 10:20",
            "spantime": "2小时5分钟",
            "productPrices": {
                "经济舱": 1630,
                "公务舱": 1630,
                "头等舱": 1750,
                "超级经济舱": 3660
            },
            "sts": {
                "fbi": "海航HU7603",
                "equipmentName": "波音787(大)",
                "fRate": "航班准点率77%",
                "fYear": "机龄10.1年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率52%",
                "adl": "平均延误27分钟",
                "clp": "航班取消率3%"
            }
        },
        {
            "flightNo": "MU5152",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "东方航空",
            "equipmentName": "空客A330-33L(大)",
            "flyOffTime": "2024-01-17 08:30",
            "arrivalTime": "2024-01-17 10:45",
            "spantime": "2小时15分钟",
            "productPrices": {
                "经济舱": 2121,
                "公务舱": 2130,
                "头等舱": 2150,
                "超级经济舱": 2510
            },
            "sts": {
                "fbi": "东航MU5152",
                "equipmentName": "空客A330-33L(大)",
                "fRate": "航班准点率87%",
                "fYear": "机龄5.5年",
                "wifi": "机上WiFi",
                "mfg": "有早餐",
                "bridge": "航班廊桥率83%",
                "adl": "平均延误22分钟",
                "clp": "航班取消率0%"
            }
        },
        {
            "flightNo": "CA1501",
            "aapname": "上海虹桥国际机场",
            "oapname": "北京首都国际机场",
            "airCompanyName": "中国国际航空",
            "equipmentName": "波音777-300(大)",
            "flyOffTime": "2024-01-17 08:30",
            "arrivalTime": "2024-01-17 10:55",
            "spantime": "2小时25分钟",
            "productPrices": {
                "经济舱": 2150,
                "公务舱": 2150,
                "超级经济舱": 2800
            },
            "sts": {
                "fbi": "国航CA1501",
                "equipmentName": "波音777-300(大)",
                "fRate": "航班准点率77%",
                "fYear": "机龄9.3年",
                "mfg": "有早餐",
                "bridge": "航班廊桥率100%",
                "adl": "平均延误29分钟",
                "clp": "航班取消率20%"
            }
        }
    ]
}

错误码格式说明:

名称 类型 说明

代码示例:

自行测试