TikTok Data API
Filmy, profile, hashtagi i wyszukiwanie z TikToka.
Przegląd TikTok Data API
Pobieraj filmy, profile użytkowników, hashtagi i popularne kanały z TikTok jako uporządkowany JSON. Wybierz poniżej endpoint, sprawdź jego parametry i uruchom go w playgroundzie w panelu.
/v1/tiktok/… Otwórz playgroundKluczowe funkcje
Uporządkowany JSON
Czyste, znormalizowane rekordy: filmy, profile użytkowników, hashtagi i popularne kanały. Bez parsowania HTML po Twojej stronie.
22 endpointy
W 8 kategoriach, wszystkie pod jedną ścieżką bazową.
Anty-bot obsłużony
Limit żądań, Fingerprint TLS, Captcha: pokonujemy to za Ciebie w tle.
Dane na żywo przy każdym uruchomieniu
Każde żądanie pobiera dane ze źródła na żywo, więc wyniki są zawsze aktualne.
Regiony i języki
Targetuj konkretne rynki i języki za pomocą tych parametrów:
regiondomyślnie usPaginacja
Przechodź przez kolejne strony wyników za pomocą cursor.
Szybki start
Użyj dedykowanego klucza Data API. Stosuj metodę i parametry tego endpointu.
# Install: pip install requests
import json
import os
import requests
params = json.loads("{\"keyword\":\"nike\",\"region\":\"de\"}")
response = requests.request(
"GET", "https://api.capzy.ai/v1/tiktok/ads/search",
headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
params=params,
timeout=120,
)
response.raise_for_status()
print(response.json())Cennik za uruchomienie
nieudane żądania są bezpłatne| Endpoint | Kategoria | Cena / 1 tys. wyników |
|---|---|---|
/v1/data/tiktok/ads/searchJuż wkrótceAds Search | Ads | 1 kredyt / uruchomienie |
/v1/data/tiktok/comments/{comment_id}/repliesComment Replies | Videos | 1 kredyt / uruchomienie |
/v1/data/tiktok/oembedoEmbed | Videos | 1 kredyt / uruchomienie |
/v1/data/tiktok/videos/{video_id}Get Video | Videos | 1 kredyt / uruchomienie |
/v1/data/tiktok/videos/{video_id}/commentsVideo Comments | Videos | 1 kredyt / uruchomienie |
/v1/data/tiktok/videos/{video_id}/relatedJuż wkrótceRelated Videos | Videos | 1 kredyt / uruchomienie |
/v1/data/tiktok/videos/{video_id}/transcriptVideo Transcript | Videos | 1 kredyt / uruchomienie |
/v1/data/tiktok/hashtags/{name}Hashtag Info | Hashtags | 1 kredyt / uruchomienie |
/v1/data/tiktok/hashtags/{name}/videosHashtag Videos | Hashtags | 1 kredyt / uruchomienie |
/v1/data/tiktok/music/{music_id}Już wkrótceMusic Detail | Music | 1 kredyt / uruchomienie |
/v1/data/tiktok/music/{music_id}/videosJuż wkrótceMusic Videos | Music | 1 kredyt / uruchomienie |
/v1/data/tiktok/regionsList Regions | Reference | 1 kredyt / uruchomienie |
/v1/data/tiktok/searchSearch | Search | 1 kredyt / uruchomienie |
/v1/data/tiktok/search/hashtagsJuż wkrótceSearch Hashtags | Search | 1 kredyt / uruchomienie |
/v1/data/tiktok/search/usersJuż wkrótceSearch Users | Search | 1 kredyt / uruchomienie |
/v1/data/tiktok/search/videosSearch Videos | Search | 1 kredyt / uruchomienie |
/v1/data/tiktok/trending/hashtagsJuż wkrótceTrending Hashtags | Trending | 1 kredyt / uruchomienie |
/v1/data/tiktok/trending/songsJuż wkrótceTrending Songs | Trending | 1 kredyt / uruchomienie |
/v1/data/tiktok/trending/videosTrending Videos | Trending | 1 kredyt / uruchomienie |
/v1/data/tiktok/users/{username}Get User | Users | 1 kredyt / uruchomienie |
/v1/data/tiktok/users/{username}/repostsUser Reposts | Users | 1 kredyt / uruchomienie |
/v1/data/tiktok/users/{username}/videosUser Videos | Users | 1 kredyt / uruchomienie |