Challenge Posts
curl --request POST \
--url https://api.aisa.one/apis/v1/tikhub/douyin/web/fetch_challenge_posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"challenge_id": "1608846127610893",
"sort_type": 0,
"cursor": 0,
"count": 20,
"cookie": ""
}
'import requests
url = "https://api.aisa.one/apis/v1/tikhub/douyin/web/fetch_challenge_posts"
payload = {
"challenge_id": "1608846127610893",
"sort_type": 0,
"cursor": 0,
"count": 20,
"cookie": ""
}
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({
challenge_id: '1608846127610893',
sort_type: 0,
cursor: 0,
count: 20,
cookie: ''
})
};
fetch('https://api.aisa.one/apis/v1/tikhub/douyin/web/fetch_challenge_posts', 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/douyin/web/fetch_challenge_posts",
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([
'challenge_id' => '1608846127610893',
'sort_type' => 0,
'cursor' => 0,
'count' => 20,
'cookie' => ''
]),
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/douyin/web/fetch_challenge_posts"
payload := strings.NewReader("{\n \"challenge_id\": \"1608846127610893\",\n \"sort_type\": 0,\n \"cursor\": 0,\n \"count\": 20,\n \"cookie\": \"\"\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/douyin/web/fetch_challenge_posts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"challenge_id\": \"1608846127610893\",\n \"sort_type\": 0,\n \"cursor\": 0,\n \"count\": 20,\n \"cookie\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/douyin/web/fetch_challenge_posts")
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 \"challenge_id\": \"1608846127610893\",\n \"sort_type\": 0,\n \"cursor\": 0,\n \"count\": 20,\n \"cookie\": \"\"\n}"
response = http.request(request)
puts response.read_bodyCore
Challenge Posts
Challenge Posts
POST
/
tikhub
/
douyin
/
web
/
fetch_challenge_posts
Challenge Posts
curl --request POST \
--url https://api.aisa.one/apis/v1/tikhub/douyin/web/fetch_challenge_posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"challenge_id": "1608846127610893",
"sort_type": 0,
"cursor": 0,
"count": 20,
"cookie": ""
}
'import requests
url = "https://api.aisa.one/apis/v1/tikhub/douyin/web/fetch_challenge_posts"
payload = {
"challenge_id": "1608846127610893",
"sort_type": 0,
"cursor": 0,
"count": 20,
"cookie": ""
}
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({
challenge_id: '1608846127610893',
sort_type: 0,
cursor: 0,
count: 20,
cookie: ''
})
};
fetch('https://api.aisa.one/apis/v1/tikhub/douyin/web/fetch_challenge_posts', 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/douyin/web/fetch_challenge_posts",
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([
'challenge_id' => '1608846127610893',
'sort_type' => 0,
'cursor' => 0,
'count' => 20,
'cookie' => ''
]),
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/douyin/web/fetch_challenge_posts"
payload := strings.NewReader("{\n \"challenge_id\": \"1608846127610893\",\n \"sort_type\": 0,\n \"cursor\": 0,\n \"count\": 20,\n \"cookie\": \"\"\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/douyin/web/fetch_challenge_posts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"challenge_id\": \"1608846127610893\",\n \"sort_type\": 0,\n \"cursor\": 0,\n \"count\": 20,\n \"cookie\": \"\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/douyin/web/fetch_challenge_posts")
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 \"challenge_id\": \"1608846127610893\",\n \"sort_type\": 0,\n \"cursor\": 0,\n \"count\": 20,\n \"cookie\": \"\"\n}"
response = http.request(request)
puts response.read_bodyChallenge Posts
Pricing — base $0.00145 per successful call (provider cost × 1.45; final charge scales by your plan multiplier). Charged only when the upstream response body
code is 200.
Response structure is not yet fully documented — refer to the actual API response.
Example
curl -X POST "https://api.aisa.one/apis/v1/tikhub/douyin/web/fetch_challenge_posts" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}' # see request schema below
Authorizations
AIsa API key. Get yours at https://aisa.one
Body
application/json
Response
200
Successful response. 以实际调用为准 / Response structure varies; refer to the actual API response.