├── README.md └── example.py /README.md: -------------------------------------------------------------------------------- 1 | # Free API 2 | 3 | ## Sign Endpoint 4 | 5 | ### Endpoint 6 | 7 | `POST http://gpt.catway.org:8000/sign` 8 | 9 | ### Description 10 | 11 | This endpoint generates a signature and related information based on the provided data. 12 | 13 | ### Request 14 | 15 | The request should be sent as a JSON object in the body of the POST request. The following parameters are supported: 16 | 17 | - `params` (required, str): A string representing the parameters. 18 | - `data` (optional, str): Request Payload. 19 | - `device_id` (optional, str): Device ID. 20 | - `aid` (optional, int): Application ID. 21 | - `license_id` (optional, int): License ID. 22 | - `sdk_version_str` (optional, str): SDK version string. 23 | - `sdk_version` (optional, int): SDK version. 24 | - `platform` (optional, int): Platform. 25 | - `cookie` (optional, str): Cookie. 26 | 27 | ### Response 28 | 29 | The API will respond with a JSON object containing the following keys: 30 | 31 | - `success`: Indicates whether the request was successful. 32 | - `result`: A dictionary containing the generated signatures and related information. 33 | 34 | ### Example 35 | 36 | #### Request 37 | 38 | ```json 39 | { 40 | "params": "param1=value1¶m2=value2", 41 | "data": "request_payload", 42 | "device_id": "7268580072775517702", 43 | "aid": 1233, 44 | "license_id": 123456789, 45 | "sdk_version_str": "v1.2.3", 46 | "sdk_version": 123456789, 47 | "platform": 0, 48 | "cookie": "cookie1=value1&cookie2=value2" 49 | } 50 | ``` 51 | #### Response 52 | 53 | ```json 54 | { 55 | "success": true, 56 | "result": { 57 | "x-argus": "", 58 | "x-ladon": "", 59 | "x-gorgon": "", 60 | "x-khronos": "", 61 | "x-ss-req-ticket": "", 62 | "x-tt-trace-id": "", 63 | "x-ss-stub": "" 64 | } 65 | } 66 | ``` 67 | -------------------------------------------------------------------------------- /example.py: -------------------------------------------------------------------------------- 1 | import requests 2 | 3 | requests.urllib3.disable_warnings() 4 | 5 | response = requests.post( 6 | "http://gpt.catway.org:8000/sign", 7 | json={ 8 | "params": "iid=7269719797901231877&device_id=7269718763266737669&ac=mobile&channel=googleplay&aid=1233&app_name=musical_ly&version_code=300804&version_name=30.8.4&device_platform=android&os=android&ab_version=30.8.4&ssmix=a&device_type=SM-A500H&device_brand=Samsung&language=&os_api=26&os_version=8&openudid=92bfedf2f1dc0774&manifest_version_code=2023008040&resolution=1220%2A2712&dpi=387&update_version_code=2023008040&_rticket=1692613566176&app_type=normal&sys_region=PH&mcc_mnc=51501&timezone_name=Asia%5C%2FManila&carrier_region_v2=515&app_language=en&carrier_region=PH&ac2=lte&uoo=0&op_region=PH&timezone_offset=28800&build_number=30.8.4&host_abi=arm64-v8a&locale=en®ion=PH&ts=1692613566&cdid=bb8b6f0a-f374-40a2-a493-8a7282fff873&support_webview=1&cronet_version=f022bf57_2023-08-01&ttnet_version=4.1.120.34-tiktok&use_store_region_cookie=1" 9 | }, 10 | verify=False 11 | ).json() 12 | 13 | print(response) 14 | --------------------------------------------------------------------------------