TIKTOK API

Collection Videos

Retrieve collection videos from TikTok with a single API request.

GET/api/data/v1/tiktok/collection/videos
1credit base cost

Request parameters

Up to 1 credit

Public TikTok collection URL

Cursor to get more videos. Use max_cursor from the previous response.

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/collection/videos?url=https%3A%2F%2Fwww.tiktok.com%2F%40kibblemaster808%2Fcollection%2FWant-to-go-7665668414573546258' \
  --header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'

Response

Example
{
  "success": true,
  "collection_id": "7665668414573546258",
  "has_more": false,
  "max_cursor": "5",
  "status_code": 0,
  "status_msg": "",
  "videos": [
    {
      "AIGCDescription": "",
      "CategoryType": 116,
      "IsHDBitrate": false,
      "ShowAIGC": true,
      "anchors": [
        {
          "description": "CapCut · Video Editor",
          "type": 54
        }
      ],
      "author": {
        "id": "7506421330087576593",
        "uniqueId": "miotravelapp",
        "nickname": "miotravelapp"
      },
      "createTime": 1784185607,
      "desc": "How often do you reckon they think about the Roman Empire? 🐈‍⬛",
      "id": "7663018809392909588",
      "stats": {
        "collectCount": 18900,
        "commentCount": 359,
        "diggCount": 113000,
        "playCount": 865200,
        "shareCount": 15700
      },
      "video": {
        "duration": 68,
        "height": 1024,
        "width": 576,
        "cover": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-p-0037/oUYM7iBIKB1BL5CGgwAtAiwJEfLCFXAiX9IAEA~tplv-tiktokx-origin.image"
      }
    }
  ],
  "credits_charged": 1,
  "credits_remaining": 1000,
  "request_id": "00000000-0000-4000-8000-000000000000"
}
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"
    },
    "collection_id": {
      "type": "string"
    },
    "has_more": {
      "type": "boolean"
    },
    "max_cursor": {
      "type": "string"
    },
    "status_code": {
      "type": "integer"
    },
    "status_msg": {
      "type": "string"
    },
    "videos": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "AIGCDescription": {
            "type": "string"
          },
          "CategoryType": {
            "type": "integer"
          },
          "IsHDBitrate": {
            "type": "boolean"
          },
          "ShowAIGC": {
            "type": "boolean"
          },
          "anchors": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "description": {
                  "type": "string"
                },
                "type": {
                  "type": "integer"
                }
              }
            }
          },
          "author": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "uniqueId": {
                "type": "string"
              },
              "nickname": {
                "type": "string"
              }
            }
          },
          "createTime": {
            "type": "integer"
          },
          "desc": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "stats": {
            "type": "object",
            "properties": {
              "collectCount": {
                "type": "integer"
              },
              "commentCount": {
                "type": "integer"
              },
              "diggCount": {
                "type": "integer"
              },
              "playCount": {
                "type": "integer"
              },
              "shareCount": {
                "type": "integer"
              }
            }
          },
          "video": {
            "type": "object",
            "properties": {
              "duration": {
                "type": "integer"
              },
              "height": {
                "type": "integer"
              },
              "width": {
                "type": "integer"
              },
              "cover": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "credits_charged": {
      "type": "integer",
      "minimum": 0,
      "description": "FetchGoblin credits charged for this request."
    },
    "credits_remaining": {
      "type": "integer",
      "description": "Your FetchGoblin credit balance after this request."
    },
    "request_id": {
      "type": "string",
      "format": "uuid",
      "description": "FetchGoblin request identifier."
    }
  }
}