Unofficial TikTok Live Gifts API — Gift Events

GET/api/v1/live_gifts

Gifts being sent in a LIVE room right now (sender, gift name, coins, combo). Pass a room_id (get one from /room_id by username). Poll with next_cursor.

ParameterDescription
room_idrequiredTikTok live room id (get one from /room_id by username).
cursoroptionalOmit (or 0) for the latest batch; pass the previous response's next_cursor for newer gifts. Poll every ~1-2s.

Returns

room_id, next_cursor, count, and a gifts array. Each gift has username, nickname, user_id, gift (name), gift_id, diamonds (coin cost each), count (combo), value (diamonds×count), and text (a ready 'X gifted the host N Gift' line).

Example Request

https://dev.omar-thing.site/api/v1/live_gifts?room_id=7649810043075971853&cursor=0&key=YOUR_API_KEY

Example Response

{
  "data": {
    "count": 2,
    "gifts": [
      {
        "count": 1,
        "diamonds": 6,
        "gift": "Divine Fingers",
        "gift_id": 118812,
        "nickname": "MA",
        "text": "MA: gifted the host 1 Divine Fingers",
        "user_id": "70...",
        "username": "ma_qahtaney",
        "value": 6
      },
      {
        "count": 7,
        "diamonds": 1,
        "gift": "Rose",
        "gift_id": 5655,
        "nickname": "♡",
        "text": "♡: gifted the host 7 Rose",
        "user_id": "70...",
        "username": "woow_84",
        "value": 7
      }
    ],
    "next_cursor": "1781120933723_7649856157456119073_1_1_...",
    "room_id": "7649810043075971853"
  },
  "status": "success"
}
Sends a live request using your API key above.

More Live endpoints