weibo/web-v2/search-user-posts
Search for content containing specific keywords in a specified user's posts.
Input
Idle
Example output — click Run to generate your own
API README
Search user posts
Purpose:
- Search for content containing specific keywords in a specified user's posts. Parameters:
- uid: User ID (required)
- q: Search keyword (optional, empty string means search all content)
- page: Page number, starts from 1 (default 1)
- starttime: Start timestamp (optional, Unix timestamp format)
- endtime: End timestamp (optional, Unix timestamp format)
- hasori: Include original posts (default 1 include)
- hasret: Include retweets (default 1 include)
- hastext: Include text posts (default 1 include)
- haspic: Include image posts (default 1 include)
- hasvideo: Include video posts (default 1 include)
- hasmusic: Include music posts (default 1 include) Return:
- Search result list, including post content, author info, interaction data Note:
- Search results affected by user privacy settings
- Timestamp parameters use Unix timestamp format
[Example]
uid = "7277477906" page = 1
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

