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

# TikTok Profiles API

> Find TikTok accounts by keyword: handle, display name, bio, follower and engagement counts, verification, and business/seller info.

`POST /v1/data/tiktok/profiles/run`

**Pricing:** $0.0025 per profile ($2.50 per 1,000).

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**searchQueries** `string` *required*

Keyword to find TikTok accounts (e.g. nasa, gymshark, cooking recipes). Any query that works in TikTok search is accepted.

**maxProfilesPerQuery** `integer`

Number of profiles to return. Use 0 for all.

Min `1`.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/tiktok/profiles/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "searchQueries": "nasa",
    "maxProfilesPerQuery": 10
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/tiktok/profiles/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "searchQueries": "nasa",
    "maxProfilesPerQuery": 10
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/tiktok/profiles/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "searchQueries": "nasa",
  "maxProfilesPerQuery": 10
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one profile, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `profileUrl` | Profile URL | url |
| `handle` | Handle | text |
| `displayName` | Display Name | text |
| `avatar` | Avatar | image |
| `bio` | Bio | text |
| `bioLink` | Bio Link | url |
| `verified` | Verified | boolean |
| `followers` | Followers | number |
| `following` | Following | number |
| `mutualFollows` | Mutual Follows | number |
| `totalLikes` | Total Likes | number |
| `likesGiven` | Likes Given | number |
| `videos` | Videos | number |
| `businessAccount` | Business Account | boolean |
| `businessCategory` | Business Category | text |
| `tiktokSeller` | TikTok Seller | boolean |
| `private` | Private | boolean |
| `accountCreated` | Account Created | date |
| `tiktokId` | TikTok ID | text |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "tiktok/profiles",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "tiktokId": "7664638705177150477",
      "businessCategory": null,
      "private": false,
      "followers": 963700,
      "likesGiven": 0,
      "businessAccount": false,
      "videos": 27,
      "bioLink": null,
      "accountCreated": "2026-07-20T15:55:49Z",
      "bio": "Making the seemingly impossible, possible.✨",
      "profileUrl": "https://www.tiktok.com/@nasa",
      "totalLikes": 4500000,
      "following": 22,
      "mutualFollows": 17,
      "avatar": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/e5143212a59c09a008bf50f487d54d1f~tplv-tiktokx-cropcenter:720:720.jpeg?dr=9640&refresh_token=...",
      "verified": true,
      "tiktokSeller": false,
      "displayName": "NASA",
      "handle": "nasa"
    }
  ]
}
```

## Related APIs

For a creator's videos use [`tiktok/posts`](https://docs.mindcase.co/apis/tiktok/posts); for followers use [`tiktok/followers`](https://docs.mindcase.co/apis/tiktok/followers).


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