Hashtag Search
Fetch chunk of posts containing a given hashtag. The posts are fetched directly from https://www.tiktok.com/tag/magic. A single call to this endpoint returns about 20 posts. Use the `cursor` parameter to fetch more posts. (cursor=0 will fetch posts 1-20, cursor=20 will fetch posts 21-40 and so on). The maximum cursor which can be used is around 4000-5000 depending on the hashtag. See the `cursor` query parameter below for more information.
API Pricing (per request): 1 unit
API usage examples
- Hashtag exists:
-> 20 posts returned.
Cost: 1 unit - Hashtag does not exist:
-> 0 posts returned.
Cost: 1 unit - Cursor is too big:
-> 0 posts returned.
Cost: 1 unit
Try the API
Request
- Base URL: https://ensembledata.com/apis
- URL: https://ensembledata.com/apis/tt/hashtag/posts
- Auth: none declared
Query parameters
Hashtag to search (input without #).
Parameter to manually handle pagination. Each response contains a nextCursor which can be used to retrieve the next page of results by sending it as the next cursor. If the nextCursor is not present in the response, it means that there are no more results to retrieve.
Private token assigned to each client to access the APIs.
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.