> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stophy.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# TikTok profile

> Read a TikTok profile page as JSON with the tiktok-profile parser. $1 per 1,000 calls. Send the page to scrape. Examples in cURL, TypeScript and Python.

Reads a TikTok profile page and returns one profile as JSON.

## Make a request

Send the page's URL to [scrape](https://docs.stophy.dev/api-reference/endpoint/scrape.md) with a `json` format that names the parser. This parser works without an API key when you send no options, up to 10 calls a minute and 50 calls a day per IP address. See [Rate limits](https://docs.stophy.dev/production/rate-limits.md). To lift the limits, get an API key in the [Quickstart](https://docs.stophy.dev/quickstart).

```bash cURL theme={null}
curl -X POST https://api.stophy.dev/v1/scrape \
  -H "Authorization: Bearer $STOPHY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@khaby.lame","formats":[{"type":"json","parser":"tiktok-profile"}]}'
```

```typescript TypeScript theme={null}
const response = await fetch("https://api.stophy.dev/v1/scrape", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.STOPHY_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    url: "https://www.tiktok.com/@khaby.lame",
    formats: [{ type: "json", parser: "tiktok-profile" }],
  }),
});
console.log(await response.json());
```

```python Python theme={null}
import os

import requests

response = requests.post(
    "https://api.stophy.dev/v1/scrape",
    headers={"Authorization": f"Bearer {os.environ['STOPHY_API_KEY']}"},
    json={
        "url": "https://www.tiktok.com/@khaby.lame",
        "formats": [{"type": "json", "parser": "tiktok-profile"}],
    },
)
print(response.json())
```

## Read the response

The parser's data is in `data.json`. Its fields include `id`, `url`, `handle`, `name`, `bio`, `avatarUrl`, `isVerified`, `followers`, `following`, `posts`, `website`, `location` and `category`. This sample is cut to the first items.

```json theme={null}
{
  "success": true,
  "data": {
    "json": {
      "id": "127905465618821121",
      "url": "https://www.tiktok.com/@khaby.lame",
      "handle": "khaby.lame",
      "name": "Khabane lame",
      "bio": "Se vuoi ridere sei nel posto giusto😎 If u wanna laugh u r in the right place😎",
      "avatarUrl": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/08987e23b94057953fd4f1738694bf5f~tplv-tiktokx-cropcen…",
      "isVerified": true,
      "followers": 162955695,
      "following": 82,
      "posts": 1359,
      "website": null,
      "location": null,
      "category": null,
      "likes": 2692469127,
      "isPrivate": false,
      "isOrganization": false,
      "language": "en",
      "createdAt": "2016-08-10T22:02:34.000Z",
      "videos": [
        {
          "id": "7697307919943060767",
          "url": "https://www.tiktok.com/@khaby.lame/video/7697307919943060767",
          "title": null,
          "description": "I guess is time to retire #learnfromkhaby #comedy 🥊",
          "author": {
            "id": "127905465618821121",
            "name": "Khabane lame",
            "handle": "khaby.lame",
            "url": "https://www.tiktok.com/@khaby.lame",
            "avatarUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/08987e23b94057953fd4f1738694bf5f~tplv-tiktokx-cropcen…",
            "isVerified": true
          },
          "publishedAt": "2026-10-16T16:46:21.000Z",
          "durationSeconds": 9,
          "views": 5900000,
          "likes": 339300,
          "comments": 8538,
          "thumbnailUrl": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-p-0068-tx2/oQbHQmFfa5VY3NlkEGDAQT00RzqAqBOETlEafj~tplv-tiktokx-ori…",
          "hashtags": [
            "learnfromkhaby",
            "comedy"
          ],
          "type": "video",
          "mentions": [],
          "imageUrls": [],
          "shares": 33800,
          "saves": 17934,
          "audioId": "7697308007327730462",
          "audioTitle": "original sound",
          "audioArtist": "Khabane lame",
          "audioIsOriginal": true,
          "isAd": false,
          "isAiGenerated": false
        }
      ],
      "videosCursor": "1781017260242:7649410784241405214"
    }
  }
}
```

## Options

Send options in the `options` object of the `json` format.

| Option | What it does |
| - | - |
| `view` | Picks one of the answers this parser can give: `videos`. |
| `cursor` | The cursor from the previous response. Send it as is. |

## Price

\$1 per 1,000 calls. Works without an API key, within the free limits. See [Pricing](https://docs.stophy.dev/account/pricing.md).

## Limits and errors

* The URL must be a TikTok profile page. Send options view videos to page through its videos. Any other URL fails with `invalidRequest`.
* To read the next page, send the `cursor` from the response as the `cursor` option. Paging needs an API key.
* The answer comes back in `data.json`. If the page cannot be read, the call fails with an error code from [Errors](https://docs.stophy.dev/api-reference/errors.md).

## Related

* [Pre-built parsers](https://docs.stophy.dev/scrape/prebuilt-parsers) lists every parser.
* [Scrape](https://docs.stophy.dev/scrape/overview) has the options every scrape takes.
* [TikTok video](https://docs.stophy.dev/scrape/prebuilt-parsers/video/tiktok-video.md)
* [TikTok comments](https://docs.stophy.dev/scrape/prebuilt-parsers/video/tiktok-comments.md)
* [TikTok transcript](https://docs.stophy.dev/scrape/prebuilt-parsers/video/tiktok-transcript.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.