TikTok profile by URL
brightdata.x.tiktok-profilesTikTok - Profiles
- Price
- $0.0015/resultPelo preço do provedor
- Success rate
- 99,9%Last 30 days · 8.395 calls
- Latency p50
- 26 sp95 60 s
- Last verified
- 30 de jul. de 2026Verified working
POSThttps://toolswitch.dev/v1/tools/brightdata.x.tiktok-profiles?format=json&dataset_id=gd_l1villgoiiidt09ciPreview- Uses platform quota
- Synchronous response
- Reads public data
Parâmetros
same generic runner as brightdata.web.scrape.structured with dataset_id fixed to this dataset (see that entry and brightdata.instagram.user.profile in the core file for the pattern). >1 minute falls back to HTTP 202 + snapshot_id — use brightdata.web.scrape.job.start for anything beyond a handful of URLs. Confirmed live via the quickstart doc (fetched 2026-07-28); not yet call-verified — see catalog_verify_extended.py for that pass.
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
format | string | Opcional | json (default) | ndjson | csv | json |
dataset_id | string | Obrigatório | pinned to the documented 'TikTok - Profiles' dataset | gd_l1villgoiiidt09ci |
- Parâmetros de consulta
formatstringOpcionaljson (default) | ndjson | csv
Exemplo:
jsondataset_idstringObrigatóriopinned to the documented 'TikTok - Profiles' dataset
Exemplo:
gd_l1villgoiiidt09ci
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
curl -X POST 'https://toolswitch.dev/v1/tools/brightdata.x.tiktok-profiles?format=json&dataset_id=gd_l1villgoiiidt09ci' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '[{"url":"https://www.tiktok.com/@tiktok"}]'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/brightdata.x.tiktok-profiles?format=json&dataset_id=gd_l1villgoiiidt09ci",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("[{\"url\":\"https://www.tiktok.com/@tiktok\"}]"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/brightdata.x.tiktok-profiles?format=json&dataset_id=gd_l1villgoiiidt09ci", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("[{\"url\":\"https://www.tiktok.com/@tiktok\"}]")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.0015/result, incluindo a taxa de serviço.