Search Reddit posts, communities, comments by keyword
From TikHub, through Joshu Data Bodega.
Part of Reddit search posts.
- Price
- $0.0011 per call$1.10 per 1,000 calls
No calls measured in the last 30 days.
Prices include the router's 10% markup and are paid from the usage wallet. Checked on November 11, 2026.
Inputs
sortstring, optional排序方式(仅适用于post/comment/media)/Sort method (only for post/comment/media): RELEVANCE(相关性), HOT(热门), TOP(最受欢迎), NEW(最新), COMMENTS(评论数,仅post). Prefer RELEVANCE when you want posts matching the query. sort=NEW is chronological newest-first and often returns weakly related or unrelated sitewide posts (not "recent posts about X"). Brand/token queries may also match colloquial substrings under NEW.
afterstring, optionalPagination parameter
querystring, requiredSearch query
allow_nsfwstring, optionalAllow NSFW content: 0, 1
time_rangestring, optional时间范围(仅适用于post/media)/Time range (only for post/media): all(所有时间), year(去年), month(上月), week(上周), day(今天), hour(过去1小时)
need_formatboolean, optionalWhether to clean and format the data
safe_searchstring, optionalSafe search setting: unset, strict
search_typestring, optional搜索类型/Search type: post(帖子), community(社区), comment(评论), media(媒体), people(用户)
Call it
curl https://hello.joshu.me/api/router/call \
-H "Authorization: Bearer $JOSHU_ROUTER_KEY" \
-H "Content-Type: application/json" \
-d '{
"endpoint": "tikhub.x.reddit-app-fetch-dynamic-search",
"params": {
"sort": "RELEVANCE",
"query": "python programming",
"allow_nsfw": "0",
"time_range": "all",
"need_format": false,
"safe_search": "unset",
"search_type": "post"
}
}'