# TikTok Scraper (Apify, harshmaur) API reference

> This is a community Apify Actor that scrapes public TikTok data: videos of profiles, hashtags, search keywords, sounds and single video URLs, plus comments, replies and follower lists. It has no endpoints of its own; it is called through the Apify API, which runs the Actor with a JSON input and…

Source: https://osinttools.io/apis/tiktok-scraper-apify-harshmaur/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/tiktok-scraper-apify-harshmaur/

- Base URL: https://api.apify.com/v2
- Authentication: API key in the `token` query parameter. Get a key: https://console.apify.com/ Your Apify API token, from API & Integrations in Apify Console.
- Pricing: Pay per request
- Rate limits: Not stated on the Actor page
- Vendor docs: https://apify.com/harshmaur/tiktok-scraper/api

## Overview

This is a community Apify Actor that scrapes public TikTok data: videos of profiles, hashtags, search keywords, sounds and single video URLs, plus comments, replies and follower lists. It has no endpoints of its own; it is called through the Apify API, which runs the Actor with a JSON input and returns the scraped rows. The Actor page offers an OpenAPI definition with three calls, two of which are listed here.

Every call needs your Apify API token in the `token` query parameter. The sync call runs the Actor, waits for it and returns the dataset items; the runs call starts a run and returns information about it. The Actor page shows pricing from $0.35 per 1,000 videos; some options (video downloads, AI labels, summaries) are marked as extra cost in the input schema.

The input fields below come from the Actor's published input schema. The page does not document the output fields beyond the ones used in its message template example (`authorMeta.name`, `diggCount`, `playCount`, `text`, `webVideoUrl`). Run output also depends on TikTok's own availability; the Actor is maintained by the community, not by Apify.

## Run the Actor

### Run the TikTok scraper and return its dataset items

`POST /acts/harshmaur~tiktok-scraper/run-sync-get-dataset-items`

- Takes: Username, URL, Name
- Footprint: active (contacts the target)
- Cost: From $0.35 per 1,000 videos

Executes the Actor with the JSON input in the body, waits for it to finish and returns the dataset items. Give at least one of profiles, hashtags, searchQueries, postURLs, musics or startUrls.

Response fields:

- `[].text` (string): Video caption
- `[].webVideoUrl` (string): Link to the video
- `[].authorMeta.name` (string): Author username
- `[].diggCount` (integer): Likes
- `[].playCount` (integer): Views

```bash
curl -X POST 'https://api.apify.com/v2/acts/harshmaur~tiktok-scraper/run-sync-get-dataset-items?token=YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"profiles":["example_user"],"resultsPerPage":10,"profileScrapeSections":["videos"],"commentsPerPost":0}'
```

Example response (200):

```json
[
  {
    "text": "Example caption",
    "webVideoUrl": "https://www.tiktok.com/@example_user/video/1000000000000000000",
    "authorMeta": {
      "name": "example_user"
    },
    "diggCount": 10,
    "playCount": 100
  }
]
```

### Start a run and return information about it

`POST /acts/harshmaur~tiktok-scraper/runs`

- Takes: Username, URL, Name
- Footprint: active (contacts the target)
- Cost: From $0.35 per 1,000 videos

Starts the Actor with the same JSON input as the sync call and returns information about the initiated run without waiting for it to finish.

Response fields:

- `data` (object): Information about the initiated run

```bash
curl -X POST 'https://api.apify.com/v2/acts/harshmaur~tiktok-scraper/runs?token=YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{"profiles":["example_user"],"resultsPerPage":10}'
```

Example response (200):

```json
{
  "data": {
    "id": "RUN_ID_PLACEHOLDER",
    "status": "RUNNING"
  }
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
