Video by ID
GET
/api/tiktok-data-api/v1/video-by-idTest This Endpoint
Enter your credentials and parameters, then run a live request to see the real response
Authentication
X-API-Tokenrequired
X-API-Secretrequired
Query Parameters
regionrequired
post_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
regionstring
Type
string
Required
Yes
post_idstring
Type
string
Required
Yes
Header Parameters
X-API-TokenstringGet it from the dashboard after signing in.
Type
string
Required
Yes
Get it from the dashboard after signing in.
X-API-SecretstringGet it from the dashboard after signing in.
Type
string
Required
Yes
Get it from the dashboard after signing in.
Request Examples
curl -X GET 'https://bodapi.com/api/tiktok-data-api/v1/video-by-id' \
-H "X-API-Token: $BODAPI_API_TOKEN" \
-H "X-API-Secret: $BODAPI_API_SECRET"Video by ID
Upstream: GET /v1/post/{post_id} (TokAPI)
Gateway route: GET /api/tiktok-data-api/v1/video-by-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 |
|---|---|---|
| post_id | yes | Path parameter — pass as a query parameter |
| region | yes |
Example
curl -X GET "https://gateway.bodapi.com/api/tiktok-data-api/v1/video-by-id?post_id=VALUE®ion=VALUE" \
-H "X-API-Token: YOUR_API_TOKEN" \
-H "X-API-Secret: YOUR_API_SECRET"