Search user V2
curl --request POST \
--url https://api.aisa.one/apis/v1/tikhub/douyin/douplus/search_user_v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keyword": "啵",
"cursor": 0,
"count": 10,
"scope": 1
}
'import requests
url = "https://api.aisa.one/apis/v1/tikhub/douyin/douplus/search_user_v2"
payload = {
"keyword": "啵",
"cursor": 0,
"count": 10,
"scope": 1
}
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({keyword: '啵', cursor: 0, count: 10, scope: 1})
};
fetch('https://api.aisa.one/apis/v1/tikhub/douyin/douplus/search_user_v2', 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/douplus/search_user_v2",
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([
'keyword' => '啵',
'cursor' => 0,
'count' => 10,
'scope' => 1
]),
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/douplus/search_user_v2"
payload := strings.NewReader("{\n \"keyword\": \"啵\",\n \"cursor\": 0,\n \"count\": 10,\n \"scope\": 1\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/douplus/search_user_v2")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"啵\",\n \"cursor\": 0,\n \"count\": 10,\n \"scope\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/douyin/douplus/search_user_v2")
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 \"keyword\": \"啵\",\n \"cursor\": 0,\n \"count\": 10,\n \"scope\": 1\n}"
response = http.request(request)
puts response.read_body商业
搜索用户 V2
搜索用户 V2
POST
/
tikhub
/
douyin
/
douplus
/
search_user_v2
Search user V2
curl --request POST \
--url https://api.aisa.one/apis/v1/tikhub/douyin/douplus/search_user_v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"keyword": "啵",
"cursor": 0,
"count": 10,
"scope": 1
}
'import requests
url = "https://api.aisa.one/apis/v1/tikhub/douyin/douplus/search_user_v2"
payload = {
"keyword": "啵",
"cursor": 0,
"count": 10,
"scope": 1
}
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({keyword: '啵', cursor: 0, count: 10, scope: 1})
};
fetch('https://api.aisa.one/apis/v1/tikhub/douyin/douplus/search_user_v2', 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/douplus/search_user_v2",
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([
'keyword' => '啵',
'cursor' => 0,
'count' => 10,
'scope' => 1
]),
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/douplus/search_user_v2"
payload := strings.NewReader("{\n \"keyword\": \"啵\",\n \"cursor\": 0,\n \"count\": 10,\n \"scope\": 1\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/douplus/search_user_v2")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"keyword\": \"啵\",\n \"cursor\": 0,\n \"count\": 10,\n \"scope\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/douyin/douplus/search_user_v2")
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 \"keyword\": \"啵\",\n \"cursor\": 0,\n \"count\": 10,\n \"scope\": 1\n}"
response = http.request(request)
puts response.read_body搜索用户 V2
计费 — 成功调用基准价 $0.00145(= provider 成本 × 1.45;最终扣费按你的套餐倍率浮动)。仅当上游响应体
code 为 200 时计费。
响应结构尚未完整文档化 —— 以实际调用为准。
示例
curl -X POST "https://api.aisa.one/apis/v1/tikhub/douyin/douplus/search_user_v2" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}' # 请求体结构见下方 schema
授权
AIsa API key. Get yours at https://aisa.one
请求体
application/json
DOU+ 用户搜索 V2 请求模型 DOU+ User Search V2 Request Model
搜索关键词/Search keyword
示例:
"啵"
用户 www.douyin.com 网页版 Cookie/User www.douyin.com web Cookie
翻页游标,首页传 0,后续传上一页响应里的 cursor/Pagination cursor, 0 for first page
示例:
0
每页数量/Page size
示例:
10
搜索范围/Search scope
示例:
1
响应
200
Successful response. 以实际调用为准 / Response structure varies; refer to the actual API response.