curl -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":[{"URL":"https://www.tiktok.com/discover/dog","num_of_posts":10}],"limit_per_input":null}' \
"https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_lu702nij2f790tmv9h¬ify=false&include_errors=true&type=discover_new&discover_by=url"
import requests
response = requests.post(
"https://api.brightdata.com/datasets/v3/scrape",
params={
"dataset_id": "gd_lu702nij2f790tmv9h",
"notify": "false",
"include_errors": "true",
"type": "discover_new",
"discover_by": "url",
},
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"input": [{"URL": "https://www.tiktok.com/discover/dog", "num_of_posts": 10}],
"limit_per_input": None,
},
)
print(response.text)
const params = new URLSearchParams({
dataset_id: "gd_lu702nij2f790tmv9h",
notify: "false",
include_errors: "true",
type: "discover_new",
discover_by: "url",
});
const response = await fetch(`https://api.brightdata.com/datasets/v3/scrape?${params}`, {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
input: [{ URL: "https://www.tiktok.com/discover/dog", num_of_posts: 10 }],
limit_per_input: null,
}),
});
console.log(await response.text());
[
{
"url": "https://www.tiktok.com/@wxm88888/video/7694545567720017182",
"post_id": "7694545567720017182",
"description": "A cute Doberman from @samgam81 is being extra whiny, making sure everyone nearby knows that this dog has some very important complaints that absolutely cannot wait. The dramatic little whines turn the normally strong and serious-looking Doberman into a total softie, making this a relatable Doberman meme, whining dog video, and funny pet reaction for anyone whose dog has mastered the art of complaining until they get attention. Use this CapCut template… with the whiny Doberman, your own dog, another needy pet, or a favorite character to make a dramatic complaint meme, funny reaction edit, or perfectly over-the-top “I need attention right now” moment. #capcut #capcutpioneer #pioneertemplate #doberman #whinydog 🥹🥹",
"create_time": "2026-10-09T06:07:17.000Z",
"digg_count": 207100,
"share_count": "103100",
"collect_count": 18181,
"comment_count": 1899,
"play_count": 2600000,
"video_duration": 8,
"hashtags": [
"capcut",
"capcutpioneer",
"pioneertemplate",
"doberman",
"whinydog"
],
"profile_username": "Nina",
"profile_url": "https://www.tiktok.com/@wxm88888",
"is_verified": false
}
]
TikTok
按 URL 发现 TikTok 帖子
POST
/
datasets
/
v3
/
scrape
curl -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":[{"URL":"https://www.tiktok.com/discover/dog","num_of_posts":10}],"limit_per_input":null}' \
"https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_lu702nij2f790tmv9h¬ify=false&include_errors=true&type=discover_new&discover_by=url"
import requests
response = requests.post(
"https://api.brightdata.com/datasets/v3/scrape",
params={
"dataset_id": "gd_lu702nij2f790tmv9h",
"notify": "false",
"include_errors": "true",
"type": "discover_new",
"discover_by": "url",
},
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"input": [{"URL": "https://www.tiktok.com/discover/dog", "num_of_posts": 10}],
"limit_per_input": None,
},
)
print(response.text)
const params = new URLSearchParams({
dataset_id: "gd_lu702nij2f790tmv9h",
notify: "false",
include_errors: "true",
type: "discover_new",
discover_by: "url",
});
const response = await fetch(`https://api.brightdata.com/datasets/v3/scrape?${params}`, {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
input: [{ URL: "https://www.tiktok.com/discover/dog", num_of_posts: 10 }],
limit_per_input: null,
}),
});
console.log(await response.text());
[
{
"url": "https://www.tiktok.com/@wxm88888/video/7694545567720017182",
"post_id": "7694545567720017182",
"description": "A cute Doberman from @samgam81 is being extra whiny, making sure everyone nearby knows that this dog has some very important complaints that absolutely cannot wait. The dramatic little whines turn the normally strong and serious-looking Doberman into a total softie, making this a relatable Doberman meme, whining dog video, and funny pet reaction for anyone whose dog has mastered the art of complaining until they get attention. Use this CapCut template… with the whiny Doberman, your own dog, another needy pet, or a favorite character to make a dramatic complaint meme, funny reaction edit, or perfectly over-the-top “I need attention right now” moment. #capcut #capcutpioneer #pioneertemplate #doberman #whinydog 🥹🥹",
"create_time": "2026-10-09T06:07:17.000Z",
"digg_count": 207100,
"share_count": "103100",
"collect_count": 18181,
"comment_count": 1899,
"play_count": 2600000,
"video_duration": 8,
"hashtags": [
"capcut",
"capcutpioneer",
"pioneertemplate",
"doberman",
"whinydog"
],
"profile_username": "Nina",
"profile_url": "https://www.tiktok.com/@wxm88888",
"is_verified": false
}
]
查询参数
请求体
curl -H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":[{"URL":"https://www.tiktok.com/discover/dog","num_of_posts":10}],"limit_per_input":null}' \
"https://api.brightdata.com/datasets/v3/scrape?dataset_id=gd_lu702nij2f790tmv9h¬ify=false&include_errors=true&type=discover_new&discover_by=url"
import requests
response = requests.post(
"https://api.brightdata.com/datasets/v3/scrape",
params={
"dataset_id": "gd_lu702nij2f790tmv9h",
"notify": "false",
"include_errors": "true",
"type": "discover_new",
"discover_by": "url",
},
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"input": [{"URL": "https://www.tiktok.com/discover/dog", "num_of_posts": 10}],
"limit_per_input": None,
},
)
print(response.text)
const params = new URLSearchParams({
dataset_id: "gd_lu702nij2f790tmv9h",
notify: "false",
include_errors: "true",
type: "discover_new",
discover_by: "url",
});
const response = await fetch(`https://api.brightdata.com/datasets/v3/scrape?${params}`, {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({
input: [{ URL: "https://www.tiktok.com/discover/dog", num_of_posts: 10 }],
limit_per_input: null,
}),
});
console.log(await response.text());
[
{
"url": "https://www.tiktok.com/@wxm88888/video/7694545567720017182",
"post_id": "7694545567720017182",
"description": "A cute Doberman from @samgam81 is being extra whiny, making sure everyone nearby knows that this dog has some very important complaints that absolutely cannot wait. The dramatic little whines turn the normally strong and serious-looking Doberman into a total softie, making this a relatable Doberman meme, whining dog video, and funny pet reaction for anyone whose dog has mastered the art of complaining until they get attention. Use this CapCut template… with the whiny Doberman, your own dog, another needy pet, or a favorite character to make a dramatic complaint meme, funny reaction edit, or perfectly over-the-top “I need attention right now” moment. #capcut #capcutpioneer #pioneertemplate #doberman #whinydog 🥹🥹",
"create_time": "2026-10-09T06:07:17.000Z",
"digg_count": 207100,
"share_count": "103100",
"collect_count": 18181,
"comment_count": 1899,
"play_count": 2600000,
"video_duration": 8,
"hashtags": [
"capcut",
"capcutpioneer",
"pioneertemplate",
"doberman",
"whinydog"
],
"profile_username": "Nina",
"profile_url": "https://www.tiktok.com/@wxm88888",
"is_verified": false
}
]
此页面对您有帮助吗?