curl --request POST \
--url https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": "",
"device_info": {
"aid": "1233",
"cdid": "b820f79c-c74a-47b0-912f-ee3002ce60dc",
"channel": "googleplay",
"cookies": {},
"device_brand": "HONOR",
"device_id": "7423364899755607598",
"device_manufacturer": "HUAWEI",
"device_model": "HONOR V30",
"device_platform": "android",
"device_type": "OXF-AN00",
"dpi": 480,
"host_abi": "arm64-v8a",
"iid": "7423365134775469866",
"lanusk": "",
"manifest_version_code": "2023604040",
"mc": "7E:EE:BA:BC:5E:40",
"mssdk_token": "",
"openudid": "63401ab5140125d1",
"os_api": 29,
"os_version": "10",
"resolution": "2400*1080",
"rom": "11.0.0.185C00",
"rom_version": "OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys",
"server_time": 1728386909,
"ua": "com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)",
"update_version_code": "2023604040",
"uuid": "350244698061054",
"version_code": "360404",
"version_name": "36.4.4"
},
"url": "https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db"
}
'import requests
url = "https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm"
payload = {
"data": "",
"device_info": {
"aid": "1233",
"cdid": "b820f79c-c74a-47b0-912f-ee3002ce60dc",
"channel": "googleplay",
"cookies": {},
"device_brand": "HONOR",
"device_id": "7423364899755607598",
"device_manufacturer": "HUAWEI",
"device_model": "HONOR V30",
"device_platform": "android",
"device_type": "OXF-AN00",
"dpi": 480,
"host_abi": "arm64-v8a",
"iid": "7423365134775469866",
"lanusk": "",
"manifest_version_code": "2023604040",
"mc": "7E:EE:BA:BC:5E:40",
"mssdk_token": "",
"openudid": "63401ab5140125d1",
"os_api": 29,
"os_version": "10",
"resolution": "2400*1080",
"rom": "11.0.0.185C00",
"rom_version": "OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys",
"server_time": 1728386909,
"ua": "com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)",
"update_version_code": "2023604040",
"uuid": "350244698061054",
"version_code": "360404",
"version_name": "36.4.4"
},
"url": "https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data: '',
device_info: {
aid: '1233',
cdid: 'b820f79c-c74a-47b0-912f-ee3002ce60dc',
channel: 'googleplay',
cookies: {},
device_brand: 'HONOR',
device_id: '7423364899755607598',
device_manufacturer: 'HUAWEI',
device_model: 'HONOR V30',
device_platform: 'android',
device_type: 'OXF-AN00',
dpi: 480,
host_abi: 'arm64-v8a',
iid: '7423365134775469866',
lanusk: '',
manifest_version_code: '2023604040',
mc: '7E:EE:BA:BC:5E:40',
mssdk_token: '',
openudid: '63401ab5140125d1',
os_api: 29,
os_version: '10',
resolution: '2400*1080',
rom: '11.0.0.185C00',
rom_version: 'OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys',
server_time: 1728386909,
ua: 'com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)',
update_version_code: '2023604040',
uuid: '350244698061054',
version_code: '360404',
version_name: '36.4.4'
},
url: 'https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db'
})
};
fetch('https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'data' => '',
'device_info' => [
'aid' => '1233',
'cdid' => 'b820f79c-c74a-47b0-912f-ee3002ce60dc',
'channel' => 'googleplay',
'cookies' => [
],
'device_brand' => 'HONOR',
'device_id' => '7423364899755607598',
'device_manufacturer' => 'HUAWEI',
'device_model' => 'HONOR V30',
'device_platform' => 'android',
'device_type' => 'OXF-AN00',
'dpi' => 480,
'host_abi' => 'arm64-v8a',
'iid' => '7423365134775469866',
'lanusk' => '',
'manifest_version_code' => '2023604040',
'mc' => '7E:EE:BA:BC:5E:40',
'mssdk_token' => '',
'openudid' => '63401ab5140125d1',
'os_api' => 29,
'os_version' => '10',
'resolution' => '2400*1080',
'rom' => '11.0.0.185C00',
'rom_version' => 'OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys',
'server_time' => 1728386909,
'ua' => 'com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)',
'update_version_code' => '2023604040',
'uuid' => '350244698061054',
'version_code' => '360404',
'version_name' => '36.4.4'
],
'url' => 'https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm"
payload := strings.NewReader("{\n \"data\": \"\",\n \"device_info\": {\n \"aid\": \"1233\",\n \"cdid\": \"b820f79c-c74a-47b0-912f-ee3002ce60dc\",\n \"channel\": \"googleplay\",\n \"cookies\": {},\n \"device_brand\": \"HONOR\",\n \"device_id\": \"7423364899755607598\",\n \"device_manufacturer\": \"HUAWEI\",\n \"device_model\": \"HONOR V30\",\n \"device_platform\": \"android\",\n \"device_type\": \"OXF-AN00\",\n \"dpi\": 480,\n \"host_abi\": \"arm64-v8a\",\n \"iid\": \"7423365134775469866\",\n \"lanusk\": \"\",\n \"manifest_version_code\": \"2023604040\",\n \"mc\": \"7E:EE:BA:BC:5E:40\",\n \"mssdk_token\": \"\",\n \"openudid\": \"63401ab5140125d1\",\n \"os_api\": 29,\n \"os_version\": \"10\",\n \"resolution\": \"2400*1080\",\n \"rom\": \"11.0.0.185C00\",\n \"rom_version\": \"OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys\",\n \"server_time\": 1728386909,\n \"ua\": \"com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)\",\n \"update_version_code\": \"2023604040\",\n \"uuid\": \"350244698061054\",\n \"version_code\": \"360404\",\n \"version_name\": \"36.4.4\"\n },\n \"url\": \"https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"data\": \"\",\n \"device_info\": {\n \"aid\": \"1233\",\n \"cdid\": \"b820f79c-c74a-47b0-912f-ee3002ce60dc\",\n \"channel\": \"googleplay\",\n \"cookies\": {},\n \"device_brand\": \"HONOR\",\n \"device_id\": \"7423364899755607598\",\n \"device_manufacturer\": \"HUAWEI\",\n \"device_model\": \"HONOR V30\",\n \"device_platform\": \"android\",\n \"device_type\": \"OXF-AN00\",\n \"dpi\": 480,\n \"host_abi\": \"arm64-v8a\",\n \"iid\": \"7423365134775469866\",\n \"lanusk\": \"\",\n \"manifest_version_code\": \"2023604040\",\n \"mc\": \"7E:EE:BA:BC:5E:40\",\n \"mssdk_token\": \"\",\n \"openudid\": \"63401ab5140125d1\",\n \"os_api\": 29,\n \"os_version\": \"10\",\n \"resolution\": \"2400*1080\",\n \"rom\": \"11.0.0.185C00\",\n \"rom_version\": \"OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys\",\n \"server_time\": 1728386909,\n \"ua\": \"com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)\",\n \"update_version_code\": \"2023604040\",\n \"uuid\": \"350244698061054\",\n \"version_code\": \"360404\",\n \"version_name\": \"36.4.4\"\n },\n \"url\": \"https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data\": \"\",\n \"device_info\": {\n \"aid\": \"1233\",\n \"cdid\": \"b820f79c-c74a-47b0-912f-ee3002ce60dc\",\n \"channel\": \"googleplay\",\n \"cookies\": {},\n \"device_brand\": \"HONOR\",\n \"device_id\": \"7423364899755607598\",\n \"device_manufacturer\": \"HUAWEI\",\n \"device_model\": \"HONOR V30\",\n \"device_platform\": \"android\",\n \"device_type\": \"OXF-AN00\",\n \"dpi\": 480,\n \"host_abi\": \"arm64-v8a\",\n \"iid\": \"7423365134775469866\",\n \"lanusk\": \"\",\n \"manifest_version_code\": \"2023604040\",\n \"mc\": \"7E:EE:BA:BC:5E:40\",\n \"mssdk_token\": \"\",\n \"openudid\": \"63401ab5140125d1\",\n \"os_api\": 29,\n \"os_version\": \"10\",\n \"resolution\": \"2400*1080\",\n \"rom\": \"11.0.0.185C00\",\n \"rom_version\": \"OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys\",\n \"server_time\": 1728386909,\n \"ua\": \"com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)\",\n \"update_version_code\": \"2023604040\",\n \"uuid\": \"350244698061054\",\n \"version_code\": \"360404\",\n \"version_name\": \"36.4.4\"\n },\n \"url\": \"https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db\"\n}"
response = http.request(request)
puts response.read_body{
"cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
"cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
"cache_url": "<string>",
"code": 200,
"data": "<unknown>",
"docs": "<string>",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {},
"request_id": "<string>",
"router": "",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "<string>",
"time_stamp": 123,
"time_zone": "America/Los_Angeles"
}tiktok TTencrypt_algorithm
TikTok APP encryption algorithm
curl --request POST \
--url https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": "",
"device_info": {
"aid": "1233",
"cdid": "b820f79c-c74a-47b0-912f-ee3002ce60dc",
"channel": "googleplay",
"cookies": {},
"device_brand": "HONOR",
"device_id": "7423364899755607598",
"device_manufacturer": "HUAWEI",
"device_model": "HONOR V30",
"device_platform": "android",
"device_type": "OXF-AN00",
"dpi": 480,
"host_abi": "arm64-v8a",
"iid": "7423365134775469866",
"lanusk": "",
"manifest_version_code": "2023604040",
"mc": "7E:EE:BA:BC:5E:40",
"mssdk_token": "",
"openudid": "63401ab5140125d1",
"os_api": 29,
"os_version": "10",
"resolution": "2400*1080",
"rom": "11.0.0.185C00",
"rom_version": "OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys",
"server_time": 1728386909,
"ua": "com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)",
"update_version_code": "2023604040",
"uuid": "350244698061054",
"version_code": "360404",
"version_name": "36.4.4"
},
"url": "https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db"
}
'import requests
url = "https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm"
payload = {
"data": "",
"device_info": {
"aid": "1233",
"cdid": "b820f79c-c74a-47b0-912f-ee3002ce60dc",
"channel": "googleplay",
"cookies": {},
"device_brand": "HONOR",
"device_id": "7423364899755607598",
"device_manufacturer": "HUAWEI",
"device_model": "HONOR V30",
"device_platform": "android",
"device_type": "OXF-AN00",
"dpi": 480,
"host_abi": "arm64-v8a",
"iid": "7423365134775469866",
"lanusk": "",
"manifest_version_code": "2023604040",
"mc": "7E:EE:BA:BC:5E:40",
"mssdk_token": "",
"openudid": "63401ab5140125d1",
"os_api": 29,
"os_version": "10",
"resolution": "2400*1080",
"rom": "11.0.0.185C00",
"rom_version": "OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys",
"server_time": 1728386909,
"ua": "com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)",
"update_version_code": "2023604040",
"uuid": "350244698061054",
"version_code": "360404",
"version_name": "36.4.4"
},
"url": "https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
data: '',
device_info: {
aid: '1233',
cdid: 'b820f79c-c74a-47b0-912f-ee3002ce60dc',
channel: 'googleplay',
cookies: {},
device_brand: 'HONOR',
device_id: '7423364899755607598',
device_manufacturer: 'HUAWEI',
device_model: 'HONOR V30',
device_platform: 'android',
device_type: 'OXF-AN00',
dpi: 480,
host_abi: 'arm64-v8a',
iid: '7423365134775469866',
lanusk: '',
manifest_version_code: '2023604040',
mc: '7E:EE:BA:BC:5E:40',
mssdk_token: '',
openudid: '63401ab5140125d1',
os_api: 29,
os_version: '10',
resolution: '2400*1080',
rom: '11.0.0.185C00',
rom_version: 'OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys',
server_time: 1728386909,
ua: 'com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)',
update_version_code: '2023604040',
uuid: '350244698061054',
version_code: '360404',
version_name: '36.4.4'
},
url: 'https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db'
})
};
fetch('https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'data' => '',
'device_info' => [
'aid' => '1233',
'cdid' => 'b820f79c-c74a-47b0-912f-ee3002ce60dc',
'channel' => 'googleplay',
'cookies' => [
],
'device_brand' => 'HONOR',
'device_id' => '7423364899755607598',
'device_manufacturer' => 'HUAWEI',
'device_model' => 'HONOR V30',
'device_platform' => 'android',
'device_type' => 'OXF-AN00',
'dpi' => 480,
'host_abi' => 'arm64-v8a',
'iid' => '7423365134775469866',
'lanusk' => '',
'manifest_version_code' => '2023604040',
'mc' => '7E:EE:BA:BC:5E:40',
'mssdk_token' => '',
'openudid' => '63401ab5140125d1',
'os_api' => 29,
'os_version' => '10',
'resolution' => '2400*1080',
'rom' => '11.0.0.185C00',
'rom_version' => 'OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys',
'server_time' => 1728386909,
'ua' => 'com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)',
'update_version_code' => '2023604040',
'uuid' => '350244698061054',
'version_code' => '360404',
'version_name' => '36.4.4'
],
'url' => 'https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm"
payload := strings.NewReader("{\n \"data\": \"\",\n \"device_info\": {\n \"aid\": \"1233\",\n \"cdid\": \"b820f79c-c74a-47b0-912f-ee3002ce60dc\",\n \"channel\": \"googleplay\",\n \"cookies\": {},\n \"device_brand\": \"HONOR\",\n \"device_id\": \"7423364899755607598\",\n \"device_manufacturer\": \"HUAWEI\",\n \"device_model\": \"HONOR V30\",\n \"device_platform\": \"android\",\n \"device_type\": \"OXF-AN00\",\n \"dpi\": 480,\n \"host_abi\": \"arm64-v8a\",\n \"iid\": \"7423365134775469866\",\n \"lanusk\": \"\",\n \"manifest_version_code\": \"2023604040\",\n \"mc\": \"7E:EE:BA:BC:5E:40\",\n \"mssdk_token\": \"\",\n \"openudid\": \"63401ab5140125d1\",\n \"os_api\": 29,\n \"os_version\": \"10\",\n \"resolution\": \"2400*1080\",\n \"rom\": \"11.0.0.185C00\",\n \"rom_version\": \"OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys\",\n \"server_time\": 1728386909,\n \"ua\": \"com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)\",\n \"update_version_code\": \"2023604040\",\n \"uuid\": \"350244698061054\",\n \"version_code\": \"360404\",\n \"version_name\": \"36.4.4\"\n },\n \"url\": \"https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"data\": \"\",\n \"device_info\": {\n \"aid\": \"1233\",\n \"cdid\": \"b820f79c-c74a-47b0-912f-ee3002ce60dc\",\n \"channel\": \"googleplay\",\n \"cookies\": {},\n \"device_brand\": \"HONOR\",\n \"device_id\": \"7423364899755607598\",\n \"device_manufacturer\": \"HUAWEI\",\n \"device_model\": \"HONOR V30\",\n \"device_platform\": \"android\",\n \"device_type\": \"OXF-AN00\",\n \"dpi\": 480,\n \"host_abi\": \"arm64-v8a\",\n \"iid\": \"7423365134775469866\",\n \"lanusk\": \"\",\n \"manifest_version_code\": \"2023604040\",\n \"mc\": \"7E:EE:BA:BC:5E:40\",\n \"mssdk_token\": \"\",\n \"openudid\": \"63401ab5140125d1\",\n \"os_api\": 29,\n \"os_version\": \"10\",\n \"resolution\": \"2400*1080\",\n \"rom\": \"11.0.0.185C00\",\n \"rom_version\": \"OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys\",\n \"server_time\": 1728386909,\n \"ua\": \"com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)\",\n \"update_version_code\": \"2023604040\",\n \"uuid\": \"350244698061054\",\n \"version_code\": \"360404\",\n \"version_name\": \"36.4.4\"\n },\n \"url\": \"https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"data\": \"\",\n \"device_info\": {\n \"aid\": \"1233\",\n \"cdid\": \"b820f79c-c74a-47b0-912f-ee3002ce60dc\",\n \"channel\": \"googleplay\",\n \"cookies\": {},\n \"device_brand\": \"HONOR\",\n \"device_id\": \"7423364899755607598\",\n \"device_manufacturer\": \"HUAWEI\",\n \"device_model\": \"HONOR V30\",\n \"device_platform\": \"android\",\n \"device_type\": \"OXF-AN00\",\n \"dpi\": 480,\n \"host_abi\": \"arm64-v8a\",\n \"iid\": \"7423365134775469866\",\n \"lanusk\": \"\",\n \"manifest_version_code\": \"2023604040\",\n \"mc\": \"7E:EE:BA:BC:5E:40\",\n \"mssdk_token\": \"\",\n \"openudid\": \"63401ab5140125d1\",\n \"os_api\": 29,\n \"os_version\": \"10\",\n \"resolution\": \"2400*1080\",\n \"rom\": \"11.0.0.185C00\",\n \"rom_version\": \"OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys\",\n \"server_time\": 1728386909,\n \"ua\": \"com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)\",\n \"update_version_code\": \"2023604040\",\n \"uuid\": \"350244698061054\",\n \"version_code\": \"360404\",\n \"version_name\": \"36.4.4\"\n },\n \"url\": \"https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db\"\n}"
response = http.request(request)
puts response.read_body{
"cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
"cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
"cache_url": "<string>",
"code": 200,
"data": "<unknown>",
"docs": "<string>",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {},
"request_id": "<string>",
"router": "",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "<string>",
"time_stamp": 123,
"time_zone": "America/Los_Angeles"
}code is 200.
Example
curl -X POST "https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}' # see request schema below
Request contract
- Method and path: POST /apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm - Runtime facts: 85ae03121f63417c9ff9d57a0fd59fdc6386fd71e2dc732a002843e6d8979d87
{
"operationId": "post_tikhub_tiktok_app_v3_TTencrypt_algorithm",
"method": "POST",
"path": "/apis/v1/tikhub/tiktok/app/v3/TTencrypt_algorithm",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"data": {
"default": "",
"description": "If there is a POST request, please fill in the POST request data to participate in the encryption calculation",
"title": "Data",
"type": "string"
},
"device_info": {
"additionalProperties": true,
"default": {
"aid": "1233",
"cdid": "b820f79c-c74a-47b0-912f-ee3002ce60dc",
"channel": "googleplay",
"cookies": {},
"device_brand": "HONOR",
"device_id": "7423364899755607598",
"device_manufacturer": "HUAWEI",
"device_model": "HONOR V30",
"device_platform": "android",
"device_type": "OXF-AN00",
"dpi": 480,
"host_abi": "arm64-v8a",
"iid": "7423365134775469866",
"lanusk": "",
"manifest_version_code": "2023604040",
"mc": "7E:EE:BA:BC:5E:40",
"mssdk_token": "",
"openudid": "63401ab5140125d1",
"os_api": 29,
"os_version": "10",
"resolution": "2400*1080",
"rom": "11.0.0.185C00",
"rom_version": "OXF-AN00-user 11.0.0 HUAWEIOXF-AN00 185-CHN-LGRP3 release-keys",
"server_time": 1728386909,
"ua": "com.zhiliaoapp.musically/2023604040 (Linux; U; Android 10; zh_CN; OXF-AN00; Build/185-CHN-LGRP3;tt-ok/3.12.13.4-tiktok)",
"update_version_code": "2023604040",
"uuid": "350244698061054",
"version_code": "360404",
"version_name": "36.4.4"
},
"description": "Device information, optional parameter; if not provided, default device information is used\n\nUsage: Device information, optional parameter, if not filled in, the default device information will be used, and the device information will modify the parameters in the URL passed in.",
"title": "Device Info",
"type": "object"
},
"url": {
"default": "https://api16-normal-useast5.tiktokv.us/tiktok/v1/upvote/item/list?user_id=6726034365602628610&offset=0&count=21&scene=0&iid=7425045478163400491&device_id=7349721034012280362&ac=WIFI&channel=googleplay&aid=1233&app_name=musical_ly&version_code=360704&version_name=36.7.4&device_platform=android&os=android&ab_version=36.7.4&ssmix=a&device_type=Pixel+6+Pro&device_brand=google&language=zh&os_api=33&os_version=13&openudid=711192517a8bbf03&manifest_version_code=2023607040&resolution=1440*2891&dpi=560&update_version_code=2023607040&_rticket=1728977220468&is_pad=0&app_type=normal&sys_region=CN&last_install_time=1728977141&timezone_name=America%2FLos_Angeles&app_language=zh-Hans&ac2=wifi5g&uoo=0&op_region=CN&timezone_offset=-28800&build_number=36.7.4&host_abi=arm64-v8a&locale=zh-Hans®ion=CN&content_language=en%2C&ts=1728977220&cdid=aa21524b-8633-49ca-8e6e-3275fe1672db",
"description": "URL to be encrypted",
"title": "Url",
"type": "string"
}
},
"title": "TikTok_APP_Encrypt_Request",
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"x-aisa-pricing": {
"cost_contract": "fixed_success",
"customer_multiplier": 1.0,
"customer_pricing": "provider_cost_multiplier",
"default_request_estimate_usd": 0.002,
"estimate_source": "profile_seed",
"evidence_source": "request_snapshot"
},
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.002 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.- Default request reference estimate (USD): 0.002
- Cost contract: fixed_success
- Published reference multiplier: 1.0
- Settlement evidence source: request_snapshot
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
If there is a POST request, please fill in the POST request data to participate in the encryption calculation
Device information, optional parameter; if not provided, default device information is used
Usage: Device information, optional parameter, if not filled in, the default device information will be used, and the device information will modify the parameters in the URL passed in.
URL to be encrypted
Response
Successful response. The outer object follows ResponseModel; the endpoint-specific payload is in data.
Return
- Encrypted parameter list
Cache message (EN-US)
Cache message (ZH-CN)
The URL to access the cached result
HTTP status code
Endpoint-specific response payload. The official shared model does not declare a fixed type or field set. Use the operation's documented return fields or response example; an operation-specific schema, when present, describes the documented fields. Undocumented fields must be read from the actual response rather than assumed.
Link to the API Swagger documentation for this endpoint
Response message (EN-US)
Response message (ZH-CN)
The parameters used in the request
Unique request identifier
The endpoint that generated this response
Support message
The time the response was generated
The timestamp the response was generated
The timezone of the response time