说明

酷航的搜索和支付的hcp

请求地址(post/json)

https://akm.sakura-luo.top/hcp_token?token=xxxx

请求参数

属性

类型

必须

说明

sitekey

String

触发的key

ua

String

可指定破盾的ua,不指定随机返回

req_data

String

hcp接口返回的req值

请求示例

{
    "sitekey": "81e02ccc-8862-41be-a7fe-c3f04ba0eb8c",
    "req_data": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmIjowLCJzIjoyLCJ0IjoidyIsImQiOiIyMHVFTmsrODlyNTJaVHAyeFJWRkxUUmt4b0hQVzVtWWJUQXM2Y1NrMW1rWmZVVmprd2lUOW5XTVpMc0xlWVhxMlBQRjltTVlBVUdpS3UzU0NmUFNtaDUrd1lvMWZNeEI1bm1lT2JIMDhEU3U5a25KY3RqZndUVk5Qc1dWMUpkbmNoV0E2NHh1ckNpUnAzdzh3VWNFeEYvako1MVMxMVFxMzJOb1V3YTZ5NWRPd0w3NWVTSTM3RkVMRUw5ajNaSHpFUmdiSS9lMVh1eU9teUxjQndHOGFvVEp5ekxSbTlNYW12Q1BFdUNmM3BNSUxMQ3NoQnZhbVVqNU1ERUkxQ2M9d3RITG9GWHhHVmsvYVBiZyIsImwiOiIvYy81YjhlNjUwODNmYjAzZDY5ZjdmMWM3ZjM3YjcwYTYxNzY1ZjMxNmJkZDBmMWY1M2FiMjg2MzYxZDFiYzMyNzIzIiwiaSI6InNoYTI1Ni1xeDdEdWw0WTJZTTFIdmhGU1dEUnFPTFlIaERwSi94U2xLVjhUcnBZYWxrPSIsImUiOjE3MjkyMTcxMDIsIm4iOiJoc3ciLCJjIjoxMDAwfQ.52PpluPRlGRyU3xW3LYRa-F6QlRUcK9UnJ28AI387JI",
    "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0"
}

返回示例

[{"v":"4e17d72","sitekey":"81e02ccc-8862-41be-a7fe-c3f04ba0eb8c","host":"booking.flyscoot.com","hl":"zh","motionData":"{\"st\":1729216987849,\"mm\":[[47,3,1729216987888],[51,7,1729216987977],[44,7,1729216988066],[48,15,1729216988138],[51,20,1729216988221],[44,22,1729216988301],[51,25,1729216988346],[45,32,1729216988401]],\"mm-mp\":64.125,\"md\":[[45,32,1729216988481]],\"md-mp\":0,\"mu\":[[45,32,1729216988546]],\"mu-mp\":0,\"v\":1,\"topLevel\":{\"st\":1729216986620,\"sc\":{\"availWidth\":375,\"availHeight\":667,\"width\":375,\"height\":667,\"colorDepth\":24,\"pixelDepth\":24,\"availLeft\":0,\"availTop\":0,\"onchange\":null,\"isExtended\":true},\"nv\":{\"vendorSub\":\"\",\"productSub\":\"20030107\",\"vendor\":\"Google Inc.\",\"maxTouchPoints\":1,\"scheduling\":{},\"userActivation\":{},\"doNotTrack\":null,\"geolocation\":{},\"connection\":{},\"pdfViewerEnabled\":true,\"webkitTemporaryStorage\":{},\"hardwareConcurrency\":28,\"cookieEnabled\":true,\"appCodeName\":\"Mozilla\",\"appName\":\"Netscape\",\"appVersion\":\"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36\",\"platform\":\"Win32\",\"product\":\"Gecko\",\"userAgent\":\"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36\",\"language\":\"zh-CN\",\"languages\":[\"zh-CN\",\"zh\"],\"onLine\":true,\"webdriver\":false,\"deprecatedRunAdAuctionEnforcesKAnonymity\":false,\"bluetooth\":{},\"clipboard\":{},\"credentials\":{},\"keyboard\":{},\"managed\":{},\"mediaDevices\":{},\"storage\":{},\"serviceWorker\":{},\"virtualKeyboard\":{},\"wakeLock\":{},\"deviceMemory\":8,\"login\":{},\"ink\":{},\"hid\":{},\"locks\":{},\"gpu\":{},\"mediaCapabilities\":{},\"mediaSession\":{},\"permissions\":{},\"presentation\":{},\"usb\":{},\"xr\":{},\"serial\":{},\"windowControlsOverlay\":{},\"userAgentData\":{\"brands\":[],\"mobile\":false,\"platform\":\"\"},\"plugins\":[]},\"dr\":\"\",\"inv\":true,\"exec\":true,\"wn\":[[1322,967,1.25,1729216987849]],\"wn-mp\":0,\"xy\":[[0,0,1,1729216987849]],\"xy-mp\":0,\"ts\":[[[0,205.60000610351562,270.20001220703125],1729216987849],[[0,231.1999969482422,334.20001220703125],1729216987849]],\"ts-mp\":3192,\"te\":[[[0,205.60000610351562,270.20001220703125],1729216987849],[[0,231.1999969482422,334.20001220703125],1729216987849]],\"te-mp\":3182,\"mm\":[[1391,1279,1729216987893],[1376,1270,1729216987922],[1369,1260,1729216988017],[1365,1245,1729216988072],[1359,1229,1729216988105],[1353,1226,1729216988134],[1334,1211,1729216988227],[1333,1193,1729216988281],[1333,1184,1729216988361],[1332,1176,1729216988385],[1323,1163,1729216988478]],\"mm-mp\":53.36363636363637},\"session\":[],\"widgetList\":[\"0diwnct6dgf\"],\"widgetId\":\"0diwnct6dgf\",\"href\":\"https://booking.flyscoot.com/book/payments\",\"prev\":{\"escaped\":false,\"passed\":false,\"expiredChallenge\":false,\"expiredResponse\":false}}","pd":"{\"s\":1728722507962,\"n\":0,\"p\":4194,\"gcs\":4355,\"gces\":4355,\"gcee\":68896,\"gcds\":69266,\"gcde\":69273,\"gce\":69273,\"e\":69273,\"r\":\"challenge-passed\"}","pdc":"{\"s\":1728722602268,\"n\":0,\"p\":1728,\"gcs\":1890}","pem":"{\"csc\":240.70000000298023,\"gc\":367.09999999403954}","n":"tRmSG5ENS9Ve7TOaWQ9ynW4egwQP7oDZspf0smunN0ysKCJuqa//zceBp7fwHwCxJ3tRwtEypyusGh238miiax1Kd+c4HAwN5m28b1NIbGZ2uAU1yieew9KhGpYjoZ10ksc8wTQakRtxVOvI00y2QCnR4a3CdTeETrAV4ZE0OKFyIM0CaG9+v81ANiD8wvgbU/1IsW093Fe3Xmq9KLe6PB46CCojWwopibKBth3ec64Auw2hv3yY+j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eB5frHBrouGNwcI3no1ORYdNtM+cjVz3AFQzw9xjZxW8EsOz0ml2SFzOsm3byVdWlDZCEIzLAQJ2PJ6yQA=","c":"{\"type\":\"hsw\",\"req\":\"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmIjowLCJzIjoyLCJ0IjoidyIsImQiOiJ3OThna0dUL2VIcndiSWMwMkNrOGZDWXloODVYZGdDTzJwcGdLbHM4cW1ISldZRytIR3V4enllOUN6aVFCRTRnejJTRW5KU1N2WlJQK0UrMlZsdTRLaldERzkyWUxKVnRxSzNpenlYbGMvZlJTZ0VBaEt1czFiem5tbVVLcEhiamJubitjc1VGdCtLT1pGQ0NWWmduYWxINzBrYnRMWHFsdU9saWFkVDA3S0Zyb1V6eFc5WjV3bS9mZ2hmZzF5ek1pRGZZdXFZUmYzdklHVmhzYnArQTQ2d1phcXpwWDJKRGVOanNZOXdSTndrTG1wcHd1YTE2T1RzS1hmRXl0eHM9Wi9PMXF0VFJYSHJhVGVIeCIsImwiOiIvYy81YjhlNjUwODNmYjAzZDY5ZjdmMWM3ZjM3YjcwYTYxNzY1ZjMxNmJkZDBmMWY1M2FiMjg2MzYxZDFiYzMyNzIzIiwiaSI6InNoYTI1Ni1xeDdEdWw0WTJZTTFIdmhGU1dEUnFPTFlIaERwSi94U2xLVjhUcnBZYWxrPSIsImUiOjE3MjkyMTc0MjIsIm4iOiJoc3ciLCJjIjoxMDAwfQ.BINsPjXG5KeTUu7E8fnAYpAFmOg8TLI1sbklt4tNRMs\"}","pst":false},"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"]

demo

import requests

ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36"
sitekey = "81e02ccc-8862-41be-a7fe-c3f04ba0eb8c"
headers = {
    "authority": "hcaptcha.com",
    "user-agent": ua
}
url = "https://api.hcaptcha.com/checksiteconfig"
params = {
    "v": "4e17d72",
    "host": "booking.flyscoot.com",
    "sitekey": sitekey,
    "sc": "1",
    "swa": "1",
    "spst": "1"
}

resp = requests.get(url, headers=headers, params=params)
req_data = resp.json()["c"]["req"]
print(req_data)

resp = requests.post("https://akm.sakura-luo.top/hcp_token?token=xxxx", json={
    "req_data": req_data,
    "sitekey": sitekey,
    "ua": ua
})
print(resp.text)
data, ua = resp.json()

headers = {
    "authority": "hcaptcha.com",
    "accept": "application/json",
    "accept-language": "zh-CN,zh;q=0.9",
    "content-type": "application/x-www-form-urlencoded",
    "referer": "https://newassets.hcaptcha.com/",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Windows\"",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "same-site",
    "user-agent": ua
}
response = requests.post(f'https://api.hcaptcha.com/getcaptcha/{sitekey}', headers=headers, data=data)
print(response.text)