TIKTOK API

Live Info

Retrieve live info from TikTok with a single API request.

GET/api/data/v1/tiktok/live
1credit base cost

Request parameters

Up to 1 credit

TikTok live room id. Get this from `/v1/tiktok/user/live` in `liveRoomUserInfo.roomId` or `liveRoom.id` when the user is live.

TikTok numeric user id for the live owner. Get this from `/v1/tiktok/profile` in `user.id`.

Try in the console

Live requests use your prepaid balance. Cached responses cost zero where supported.

curl --request GET \
  --url 'https://fetchgoblin.com/api/data/v1/tiktok/live?room_id=7523685855395842871&user_id=6742945285876515845' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "credits_charged": 1,
  "room_id": "7523685855395842871",
  "like_count": 4317,
  "viewer_count": 268,
  "status": "live",
  "title": "6'13 Grateful Streamer",
  "cover_url": "https://p16-webcast.tiktokcdn-us.com/webcast/cover.jpeg",
  "owner": {
    "id": "6742945285876515845",
    "username": "thejustalex",
    "display_name": "JustAlex"
  }
}
Example data from the API specification. Run a request to retrieve current data.

Response shape

This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.

View JSON Schema +
{
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "credits_charged": {
      "type": "integer"
    },
    "room_id": {
      "type": "string"
    },
    "like_count": {
      "type": "integer"
    },
    "viewer_count": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "cover_url": {
      "type": "string"
    },
    "owner": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "username": {
          "type": "string"
        },
        "display_name": {
          "type": "string"
        }
      }
    }
  }
}