> ## 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 Live Rooms API

> Finds currently live TikTok rooms matching a keyword, or checks whether a specific creator is live right now.

`POST /v1/data/tiktok/live-rooms/run`

**Pricing:** $0.001 per live room ($1.00 per 1,000).

## Ways to call it

* **Search by keyword**: set `keywords` (optional: `region`, `maxResults`)
* **Check by handle**: set `handles`

## Request

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

**keywords** `string[]`

Search terms to find currently live rooms that best match the topic.

**region** `string` (default: US)

Two-letter region code to localize the live search, for example US or JP.

**handles** `string[]`

Usernames to check whether that creator is currently live.

**maxResults** `integer` (default: 50)

How many live rooms to return in total. Defaults to 50; use 0 for all. Applies to Keyword search.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/tiktok/live-rooms/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "keywords": [
      "makeup"
    ]
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/tiktok/live-rooms/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "keywords": [
        "makeup"
    ]
}},
)
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/live-rooms/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "keywords": [
    "makeup"
  ]
} }),
});
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 live room, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `liveUrl` | Live URL | url |
| `roomId` | Room ID | text |
| `title` | Title | text |
| `host` | Host | object |
| `isLive` | Is Live | boolean |
| `startedAt` | Started At | datetime |
| `viewersNow` | Viewers Now | integer |
| `totalViewers` | Total Viewers | integer |
| `likes` | Likes | integer |
| `shares` | Shares | integer |
| `sellsProducts` | Sells Products | boolean |
| `searchQuery` | Search Query | text |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "tiktok/live-rooms",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "searchQuery": "makeup",
      "sellsProducts": false,
      "roomId": "7705482519944776478",
      "liveUrl": "https://www.tiktok.com/@lunareignmua/live",
      "shares": 14,
      "totalViewers": 13948,
      "likes": 28033,
      "viewersNow": 29,
      "host": {
        "handle": "lunareignmua",
        "name": "Luna Reign",
        "id": "6875083812260348933",
        "verified": false
      },
      "startedAt": "2026-11-07T17:29:03Z",
      "title": "Makeup 🎉",
      "isLive": true
    }
  ]
}
```

## Related APIs

For a creator's profile use [`tiktok/profiles`](https://docs.mindcase.co/apis/tiktok/profiles).


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