GroundsocialDocs

API · TikTok

GET /tiktok/collections/{id}/videos

Videos in a public TikTok collection, 30 a page.

RequestGET /v1/tiktok/collections/{id}/videos
Operation idtiktok.collection.videos
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Videos in a public TikTok collection, 30 a page.

Path parameters

NameTypeRequiredDescription
idstringyesCollection id, or its tiktok.com/@user/collection/… URL.

Query parameters

NameTypeRequiredDescription
cursorstringnoThe previous page’s cursor, for the next page. Omit for the first.

Responses

StatusMeaningSchema
200A page of the collection’s videos.TikTokItemListResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The account, video, comment, hashtag or sound does not exist on TikTok, or was removed.Error
429Too many requests. Wait for Retry-After seconds.Error
503TikTok is temporarily unavailable. Retryable; nothing was charged.Error

TikTokItemListResponse fields

FieldTypeDescription
itemListTikTokItem[]
cursorstringPass as cursor for the next page. Its meaning is the list’s own (a time or an offset).
hasMoreboolean

Errors use one shape everywhere; see Errors for every code and what to do.