Douyin Xingtu creator spread info by creator id
tikhub.x.douyin-xingtu-v2-get-author-spread-infoDouyin: get author spread info (xingtu_v2)
- Price
- $0.001/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-spread-info?type=1&range=2&flow_type=0&o_author_id=7589271892177518598&only_assign=false&platform_source=1&platform_channel=1PreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
type | integer | Optional | Video type, 1=personal video | 1 |
range | integer | Optional | Time range, 2=last 30 days, 3=last 90 days | 2 |
flow_type | integer | Optional | Flow type | 0 |
o_author_id | string | Required | Creator author ID | 7589271892177518598 |
only_assign | boolean | Optional | Only assigned videos | false |
platform_source | integer | Optional | Platform source | 1 |
platform_channel | integer | Optional | Platform channel | 1 |
- Query parameters
typeintegerOptionalVideo type, 1=personal video
Example:
1rangeintegerOptionalTime range, 2=last 30 days, 3=last 90 days
Example:
2flow_typeintegerOptionalFlow type
Example:
0o_author_idstringRequiredCreator author ID
Example:
7589271892177518598only_assignbooleanOptionalOnly assigned videos
Example:
falseplatform_sourceintegerOptionalPlatform source
Example:
1platform_channelintegerOptionalPlatform channel
Example:
1
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-spread-info?type=1&range=2&flow_type=0&o_author_id=7589271892177518598&only_assign=false&platform_source=1&platform_channel=1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-spread-info?type=1&range=2&flow_type=0&o_author_id=7589271892177518598&only_assign=false&platform_source=1&platform_channel=1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.douyin-xingtu-v2-get-author-spread-info?type=1&range=2&flow_type=0&o_author_id=7589271892177518598&only_assign=false&platform_source=1&platform_channel=1", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.001/success, including the service fee.