Search Reddit posts, communities, comments by keyword

From TikHub, through Joshu Data Bodega.

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, optional

    Pagination parameter

  • querystring, required

    Search query

  • allow_nsfwstring, optional

    Allow NSFW content: 0, 1

  • time_rangestring, optional

    时间范围(仅适用于post/media)/Time range (only for post/media): all(所有时间), year(去年), month(上月), week(上周), day(今天), hour(过去1小时)

  • need_formatboolean, optional

    Whether to clean and format the data

  • safe_searchstring, optional

    Safe search setting: unset, strict

  • search_typestring, optional

    搜索类型/Search type: post(帖子), community(社区), comment(评论), media(媒体), people(用户)

Call it

Router call with a router API key
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"
    }
  }'