from curl_cffi import requests headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36 MicroMessenger/7.0.20.1781(0x6700143B) NetType/WIFI MiniProgramEnv/Windows WindowsWechat/WMPF WindowsWechat(0x63090a13) UnifiedPCWindowsWechat(0xf254162e) XWEB/18151', 'xweb_xhr': '1', 'Content-Type': 'application/json', 'Sec-Fetch-Site': 'cross-site', 'Sec-Fetch-Mode': 'cors', 'Sec-Fetch-Dest': 'empty', 'Referer': 'https://servicewechat.com/wx2efc0705600eb6db/550/page-frame.html', 'Accept-Language': 'zh-CN,zh;q=0.9', } params = { 'platform': 'wx', 'version': '2025.6.30.01', 'action': 'childDetail', 'id': '131', 'citycode': 'cd', } response = requests.get('https://wxapidg.bendibao.com/smartprogram/zhuanti.php', params=params, headers=headers) print(response.json())