获取Reddit APP动态搜索结果/Fetch Reddit APP Dynamic Search Results
Redditapi
About
获取Reddit APP动态搜索结果/Fetch Reddit APP Dynamic Search Results
Documentation
获取Reddit APP动态搜索结果/Fetch Reddit APP Dynamic Search Results
[中文]
用途:
- 执行Reddit APP动态搜索,支持搜索帖子、社区、评论、媒体和用户
参数:
- query: 搜索关键词
- search_type: 搜索类型,可选值:
- post: 搜索帖子(默认)
- community: 搜索社区/版块
- comment: 搜索评论
- media: 搜索媒体(图片/视频/GIF)
- people: 搜索用户
- sort: 排序方式(仅适用于post/comment/media类型),可选值:
- RELEVANCE: 相关性
- HOT: 热门
- TOP: 最受欢迎
- NEW: 最新
- COMMENTS: 评论数(仅适用于post类型)
- time_range: 时间范围(仅适用于post/media类型),可选值:
- all: 所有时间
- year: 去年
- month: 上个月
- week: 上周
- day: 今天
- hour: 过去1小时
- safe_search: 安全搜索设置,"unset"或"strict"
- allow_nsfw: 是否允许NSFW内容,"0"或"1"
- after: 分页参数,用于获取下一页结果
返回:
- 搜索结果JSON数据,包含:
- 匹配的结果列表(根据search_type不同返回不同类型的数据)
- 分页信息
注意:
- community和people类型不支持sort和time_range参数
- COMMENTS排序方式仅适用于post类型
- time_range参数仅适用于post和media类型
[English]
Purpose:
- Perform Reddit APP dynamic search, supporting posts, communities, comments, media, and users
Parameters:
- query: Search keyword
- search_type: Search type, options:
- post: Search posts (default)
- community: Search communities/subreddits
- comment: Search comments
- media: Search media (images/videos/GIFs)
- people: Search users
- sort: Sort method (only for post/comment/media types), options:
- RELEVANCE: By relevance
- HOT: Hot/trending
- TOP: Most popular
- NEW: Newest
- COMMENTS: By comment count (only for post type)
- time_range: Time range (only for post/media types), options:
- all: All time
- year: Past year
- month: Past month
- week: Past week
- day: Today
- hour: Past hour
- safe_search: Safe search setting, "unset" or "strict"
- allow_nsfw: Allow NSFW content, "0" or "1"
- after: Pagination parameter for fetching next page
Returns:
- JSON data of search results containing:
- List of matching results (different data types based on search_type)
- Pagination information
Notes:
- community and people types do not support sort and time_range parameters
- COMMENTS sort option only applies to post type
- time_range parameter only applies to post and media types
[示例/Example]
query="python programming" search_type="post" sort="RELEVANCE" time_range="all" safe_search="unset" allow_nsfw="0" after="" need_format=false
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 获取Reddit APP动态搜索结果/Fetch Reddit APP Dynamic Search Results
Test this model in the Sandbase Playground with your own prompts.
Open in PlaygroundRelated Models
检查版块是否静音/Check if Subreddit is MutedRedditapi获取Reddit APP评论回复(二级评论)/Fetch Reddit APP Comment Replies (Sub-comments)Redditapi获取Reddit APP社区亮点/Fetch Reddit APP Community HighlightsRedditapi获取Reddit APP游戏推荐内容/Fetch Reddit APP Games FeedRedditapi批量获取Reddit Answers卡片精简评论信息/Fetch Reddit Answers Generated CommentsRedditapi批量获取Reddit Answers卡片精简帖子信息/Fetch Reddit Answers Generated PostsRedditapi获取Reddit APP首页推荐内容/Fetch Reddit APP Home FeedRedditapi获取Reddit APP资讯推荐内容/Fetch Reddit APP News FeedRedditapi