APIs/TikTok Data API/v1/Video by playlist ID

Video by playlist ID

GET/api/tiktok-data-api/v1/video-by-playlist-id1 credit/call

Test This Endpoint

Enter your credentials and parameters, then run a live request to see the real response

Authentication

X-Bodapi-Key

The key is kept in this tab's session storage only.

Query Parameters

user_idrequired
playlist_idrequired

Response

Click "Run Test" to send a live request and see the response here

Request Parameters

Validation rules grouped by request section.

Query Parameters

user_idstring
Type
string
Required
Yes
playlist_idstring
Type
string
Required
Yes

Header Parameters

X-Bodapi-KeystringCreate one under API keys in the dashboard. The full key is shown once, at creation time.
Type
string
Required
Yes
Create one under API keys in the dashboard. The full key is shown once, at creation time.

Request Examples

curl -X GET '/api/tiktok-data-api/v1/video-by-playlist-id' \
  -H "X-Bodapi-Key: $BODAPI_API_KEY"

Video by playlist ID

Upstream: GET /v1/user/{user_id}/playlist/{playlist_id}/videos (TokAPI)

Gateway route: GET /api/tiktok-data-api/v1/video-by-playlist-id

Auth headers

Name Required Description
X-API-Token yes Your bodapi API token
X-API-Secret yes Your bodapi API secret

Query parameters

Name Required Notes
user_id yes Path parameter — pass as a query parameter
playlist_id yes Path parameter — pass as a query parameter
offset no

Example

curl -X GET "https://gateway.bodapi.com/api/tiktok-data-api/v1/video-by-playlist-id?user_id=VALUE&playlist_id=VALUE" \
  -H "X-API-Token: YOUR_API_TOKEN" \
  -H "X-API-Secret: YOUR_API_SECRET"