# TikTok API

Scrapes TikTok profiles and posts by parsing server-rendered HTML.

- Platform ID: `tiktok`
- Capabilities: 2
- Execute endpoint: `POST https://data.upscrape.com/execute`
- OpenAPI: https://upscrape.com/scrapers/tiktok/openapi.json

## Capabilities

| Endpoint | Capability ID | Cost | Description |
| --- | --- | --- | --- |
| [Get Post](https://docs.upscrape.com/docs/platforms/tiktok/tiktok.post.get) | `tiktok.post.get` | 1 credit per request | Fetch TikTok post/video metadata from the server-rendered HTML. |
| [Get Profile](https://docs.upscrape.com/docs/platforms/tiktok/tiktok.profile.get) | `tiktok.profile.get` | 1 credit per request | Fetch TikTok profile data from the server-rendered HTML. |


## Integration contract

All capabilities use the shared `POST /execute` envelope. A `200` response completed inline; a `202` response must be polled through `GET /jobs/{id}`.

See [authentication](https://docs.upscrape.com/docs/api/authentication), [jobs and results](https://docs.upscrape.com/docs/api/jobs), and [errors and retries](https://docs.upscrape.com/docs/api/errors).
