铁路客户服务中心https://kyfw.12306.cn/otn/leftTicket/query?leftTicketDTO.train_date=2022-12-22&leftTicketDTO.from_station=CQW&leftTicketDTO.to_station=ETW&purpose_codes=ADULT请求头
Accept: */*
Accept-Language: zh-CN,zh;q=0.9
Cache-Control: no-cache
Connection: keep-alive
Cookie: _uab_collina=167100143228062482511635; JSESSIONID=3912A2FA2BE8D4725169344498E75556; BIGipServerotn=3755409674.64545.0000; BIGipServerpassport=854065418.50215.0000; RAIL_EXPIRATION=1671265636842; RAIL_DEVICEID=GHWSMde_px8PLnaaT2OUvnGt5YZCFXGu4ylc36InwAZD6820nCLZmJGekvjUSIVpkoNWEi9N8eC8y0g5rFWAc8I2ZlJhJPQ9c_3z1o4z14YErB73NVJgTkS9TE6QZtiu9QkxQ_zfFfVjRM5R3iRhabkEPok1SxLb; guidesStatus=off; highContrastMode=defaltMode; cursorStatus=off; fo=9y2yoi84w1s8gw0rxBczlh03kGDM21X8f1Thv_elm1l7Ifwpr2a72ekoS6RrtLK8Z0w4b5oMIB2W-m2OevFN4-WNvBeNOwG6LygFDS7D3GiwcN5tONnjIBpfE9hJUyIJCCT06nUvJ9M18twl0sMq795owvAJyNDLLa1ZVx3ThHf8Occ1B70tKX7YYY8; route=c5c62a339e7744272a54643b3be5bf64; _jc_save_fromStation=%u91CD%u5E86%2CCQW; _jc_save_toStation=%u79C0%u5C71%2CETW; _jc_save_toDate=2022-12-14; _jc_save_wfdc_flag=dc; BIGipServerportal=3151233290.17695.0000; _jc_save_fromDate=2022-12-22
Host: kyfw.12306.cn
If-Modified-Since: 0
Pragma: no-cache
Referer: https://kyfw.12306.cn/otn/leftTicket/init?linktypeid=dc&fs=%E9%87%8D%E5%BA%86,CQW&ts=%E7%A7%80%E5%B1%B1,ETW&date=2022-12-22&flag=N,N,Y
里面有cookie 需要处理不然查询不到数据
响应
{
"httpstatus": 200,
"data": {
"result": [
"DamUfx4ps%2FHuzugxi0F2EiLakN7t%2Fh75lFJa41orbXsODdV3taTwhjpmeKoDzb1KjOVkghvOwgNm%0ARuohrkMfGjfl7DVGrTHhOJVCiNZ07%2BrDibMEmDs9QLOga4iKdA5Mw9oTYUOckljakctmtia2YMRB%0AUae4iU6in0pPlOzKll%2B8wUa91XTcRd8PqSe0G1Za8jro30ZKHZBe1h6jjM9B06BkCg5hT0ClKG0%2F%0ALMaUQk4SHj%2FUa%2BvikuyhjDaoQSLQPpfk80NtfmR96nC4J5bZ5F5QxyPWYDnFvTnZlPdtT%2Foc%2B5%2BF%0AZpv0VEu%2FTYE%3D|预订|770000C73101|C731|CUW|ETW|CUW|ETW|08:00|12:20|04:20|Y|TtYJNpurtFKr%2FXKEZ2pk7R%2F89s1I2e8x0p8hftAMGwj3trNX|20221222|3|W3|01|06|1|0|||||||无||||有|有|||M0O0W0|MOO|1|0||M020000021O012500021O012503000|0|||||1|0#1#0#0#z||",
"At2PDikA6Qgeqnv7UiwjeXVjtj2vQmE4LR1YPDO97G7lIPnZv2ZmlvjHD2a4OwxpM%2BU853k7BZ2A%0AurbO912yY7IgxDijlW0zouaDfdWUoCkMl4S020FdjDrzJJDr1clH%2Bs0RnyoMbF7pPSd11C%2FuL1lE%0A1bGjaa6b75RD%2Buf1nm6vHFnxMa8xjD%2F8ys6cRAb5Kblwi1RrGlQdlTLLqF8UK%2F3LkzTIXEQN3JEu%0AhUBPDNTh1MvTGHRUHIyoFbqNl6DeCrXI8gXo9yXJj3xUaxccB3A1hPWY0av3%2FwG7IIS8HNY%3D|预订|77000K950904|K9509|CUW|ETW|CUW|ETW|08:40|14:38|05:58|Y|cu5qRHdivZl8iPwkkEXwAkpxRStjwmRS|20221222|3|W2|01|07|1|0|||||||无|||有|||||10W0|11|0|0||10062500211006253000|0|||||1|#0#0#0#z||",
"W0IqGS1Tk54%2BexrPpOVQ3Yr5r%2Bz%2B%2FNQflUAPW%2BCprhp%2Bo4SZBxzzYw3ZUgsONxQrt6Hs6layK1ag%0AACJOqo2gXOTc52Zqzn5FM6iNuDsK%2F5jsHFIXSnSneqILg1y1fl0DGquSh4aooDO8iQNr1a1mKvyJ%0AICUvqSZ61EaOD5TANIiuIatRVkaeqEnvOJii%2BYdZJ1p0vO5UsMagllQwKeVjXowNQhY3ntTf27mb%0Aqx43ZM3OVzzagT3d%2BD29Hhl04Q7MtEecOlJYjkWVy1P%2FGV1mgJPwhRZkf3NhqIr9BwnkBEY%3D|12月20日<br/>8点起售|770000560941|5609|CUW|ETW|CUW|ETW|10:15|17:31|07:16|IS_TIME_NOT_BUY|HOq8z3TolZF7Z%2BTNyWKlcnZDq7NfMXO0|20221222|3|W2|01|22|1|0|||||||*|||*|||||10W0|11|0|1||10054500001005453000|5@12@20@8@|||||1|#0#0#0#z||",
"K6Pk9yMUGQ2gbTqhtMmu8oxHfIUAvlvn6dXaJb5jJGVi4cknc%2BaEvD%2FFXGSWvIJ2ZzdIUfMjOVQr%0AhLv7Vt0T5wewlRts4BiKMFOwXwy318wFmzpdpr6fhcpVxw4BDLSA9B5h5LYvL4ZYk0VStMTEEOC5%0A7%2F59Snoj1xqS8JK54imszL4vgs15TXLp1j7y44HhTrhD7ENGTWeyU3D8UC6tPTqmvkPUNFKXUoL8%0ACpBklBgPMoZ50m%2BOac%2BgmWZTyKJmofvW8Q9y8A9ZP6blUzGibbNC92IWrQa5ZrpONDRJYgp8uErq%0ASi8fycuCnmFlvjre3Ja2qw%3D%3D|预订|770000K80301|K803|CUW|FZS|CUW|ETW|16:24|22:28|06:04|N|YZzPPcSnOyPrlfUKCZUkOpd9SSKeM%2B5iGguiRDkOlmsuKO6%2Fjvx%2BokG22h4%3D|20221222|3|W3|01|07|1|0||||无|||无||无|无|||||103040W0|1341|0|1||1006250000301105000040166500001006253000|0|||||1|0#0#0#0#z||",
"2dpmj2sAibABVcDEGWsgQEOpnHSbzDX410H48eUSvMvQzFUZsiAiW%2BiGn2QntGPkXF%2Fk4N1ZfgfN%0AZSk5TFK1dOFVa1mlp0mpuUBPJBAHyJfrQywkQdXMKIMdXYGrFt6JZMrTo83oeHS%2F3iRF7CHAsXcN%0AXT2YEvaZ9sbp%2BaOkgtfLG0V%2Bc9MyxrD%2BG%2B5qGhN%2F%2B0VHnSE8AE7aLS0tc4CYOhXE3p8Qr%2B%2B%2BSJZ9%0AZ5WGYmqwABGp2Sfj2lJlm1mJHRoxgiW%2Bd2V7NDz3izBwiQlDWku20vZ0j1pKZSZhUnac%2Fu5Sn0Yj%0Amqu07f%2BT5m0%3D|预订|770000C73301|C733|CUW|ETW|CUW|ETW|17:28|21:45|04:17|Y|kJhdvs%2BZyJW9mmFRQFeuscPzAIhUPDaw6zkku4aLEDKAhuYS|20221222|3|W3|01|05|1|0|||||||无||||有|有|||M0O0W0|MOO|0|0||M020000021O012500021O012503000|0|||||1|0#1#0#0#z||",
"hizGj8GrJF1ZvkAeQ3%2FwCWMWjinvVdRChF54RKMm7mINFReoMn%2B7LL72mhyoiTjTRcVCBzHsymRd%0AW105z%2F2cZh%2F%2BUd8ytKKckAHgIwrSELarzAy4n1SkBYfjH2%2FpnuKHzrEYnqUuDYve1LXnaICT064v%0Ay8CQkCXX6ZWlSPNffGPogFld9exI%2BgQBVpSDbDhXyydcAZvMSRObtc0ANACBELnMUv8AHtwEh1HW%0AF3GIDc06fKWosUQmWso76Q4okRA0w8BHTe5DLwnqwHTzP3%2Bg94Y1sGb62GdRYEb3ZEGIjGtNQ225%0AG0TWvSh9K%2FD83bdVwiGhhg%3D%3D|预订|770000K8130P|K813|RXW|GZQ|CUW|ETW|20:35|01:53|05:18|Y|4IeyjVQWoDawVsK7VoQyMPzD%2FPQdpNQl09hFxU1c9J7a2Exe8fsIKr%2FHnu8%3D|20221222|3|W2|04|06|1|0||||3|||无||有|有|||||103040W0|1341|0|0||1006250021301105002140166500031006253000|0|||||1|#0#0#0#z||"
],
"flag": "1",
"map": {
"CUW": "重庆北",
"ETW": "秀山"
}
},
"messages": "",
"status": true
}