API DocskuaishouContentKuaishou batch video query API
Kuaishou batch video query API
What this API is for
- Batch fetch multiple video data, supports up to 40 video IDs per request.
- If this API continuously fails, you can try to use the more expensive V2 API for redundant requests.
- The default charging standard for this API is: 40 * 0.001 = 0.04 USD/time
GET
/openapi/api/v1/kuaishou/app/fetch_videos_batchPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
- photo_ids: Photo ID list, multiple IDs separated by commas, max 40 per request
- Format note: Supports both pure digital version IDs and short string version (eID) IDs, both types can be mixed.
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| photo_ids | query / string | Yes |
| 5228960823332207296,5196309727975443273,5222486898325987583 |
Request examples
curl -X GET "https://api.trmesh.com/openapi/api/v1/kuaishou/app/fetch_videos_batch" \ -H "Authorization: Bearer sdc_your_project_token" \ -H "Accept: application/json"
Response fields
- Video data list
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples