# TikTok

Best for: Creator research, trend tracking and comment analysis. Category: Apps and video.

One public video with its counts, media and music; a profile with exact follower and like counts and recent videos; search results; a hashtag's header and recent videos; and a video's comments.

- Look up by: A video URL or id, a handle, a query or a hashtag
- Coverage: Worldwide, public content only
- Cost: From 2 credits a call; failed and empty calls are free
- Answers: Search, Details, Reviews

## Endpoints

- `POST /v1/tiktok/video`: TikTok video, 2 credits. https://scrapercompany.com/docs/reference/tiktok-video
- `POST /v1/tiktok/profile`: TikTok profile, 3 credits. https://scrapercompany.com/docs/reference/tiktok-profile
- `POST /v1/tiktok/search`: TikTok search, 3 credits. https://scrapercompany.com/docs/reference/tiktok-search
- `POST /v1/tiktok/hashtag`: TikTok hashtag, 3 credits. https://scrapercompany.com/docs/reference/tiktok-hashtag
- `POST /v1/tiktok/comments`: TikTok comments, 3 credits. https://scrapercompany.com/docs/reference/tiktok-comments

## Example

TikTok video (`POST /v1/tiktok/video`):

```bash
curl -X POST "https://api.scrapercompany.com/v1/tiktok/video" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "string"
  }'
```

## Good to know

- Counts are exact, such as 162,955,838 followers, not rounded to 163M.
- Some hashtags withhold their videos from logged-out visitors. You then get the header with no videos, and the call is free.
- Search returns videos. Users appear only when TikTok includes them.
- A missing video, account or hashtag answers 404 and is free.

- [All data sources](https://scrapercompany.com/docs/data-sources)
