GroundsocialDocs

API · TikTok

GET /tiktok/hashtags/{name}/videos

Videos with a TikTok hashtag, about 30 a page.

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

Videos with a TikTok hashtag, about 30 a page.

Path parameters

NameTypeRequiredDescription
namestringyesHashtag, with or without the #. Example: cooking.

Query parameters

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

Responses

StatusMeaningSchema
200A page of 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.