douyin/search/image-search
Fetch image-based search results from Douyin App. Mainly returns posts containing image collections.
Input
Idle
Example output — click Run to generate your own
API README
Fetch image search
Purpose:
- Fetch image-based search results from Douyin App.
- Mainly returns posts containing image collections.
Notes:
- Only image posts are returned. Suitable for gallery-style applications.
- For the first request, set
cursorto 0 andsearch_idto an empty string. - For pagination, use the
cursorandsearch_idfrom the last response.
Parameters:
- keyword: Search keyword, e.g., "cat"
- cursor: Pagination cursor (0 for first request)
- sort_type: Sorting method
0: Comprehensive1: Most likes2: Latest
- publish_time: Publish time filter
0: Unlimited1: Last day7: Last week180: Last half year
- filter_duration: Video duration filter
0: Unlimited
- content_type: Content type (Fixed to 2 for images)
- search_id: Search ID for pagination
Request Body Example:
payload = {
"keyword": "cat",
"cursor": 0,
"sort_type": "0",
"publish_time": "0",
"filter_duration": "0",
"content_type": "2",
"search_id": ""
}
Response (common fields, actual response may contain more fields):
cursor: Cursor for next pagehas_more: Whether there are more results (1=Yes, 0=No)data[]: List of image postsaweme_info:aweme_id: Content IDdesc: Post descriptioncreate_time: Creation timestampauthor:uid: Author IDnickname: Nicknameis_verified: Verified statusavatar_thumb.url_list: Thumbnail avatar URLsavatar_medium.url_list: Medium avatar URLsavatar_larger.url_list: High-res avatar URLs
image_post_info:images[]: List of imagesurl_list: Image URLs (webp/jpg)width: Width (pixels)height: Height (pixels)
statistics:comment_count: Comment countdigg_count: Like countshare_count: Share countplay_count: Play countcollect_count: Collect count
status:is_delete: Whether deletedis_private: Whether private
share_url: Shareable external link
extra:now: Current server timestamplogid: Request log IDsearch_request_id: Search session ID
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

