TikHubRedditSocial

Search Reddit posts, communities, comments by keyword

tikhub.x.reddit-app-fetch-dynamic-search

Reddit: fetch dynamic search (app)

Price
$0.001/successAu prix du fournisseur
Success rate
100 %Last 30 days · 19 931 calls
Latency p50
2 sp95 4.5 s
Last verified
28 juil. 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.reddit-app-fetch-dynamic-search?sort=RELEVANCE&query=python+programming&allow_nsfw=0&time_range=all&need_format=false&safe_search=unset&search_type=postPreview
Try onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

Prefer sort=RELEVANCE for 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.

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
sortchaîneFacultatif排序方式(仅适用于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.RELEVANCE
afterchaîneFacultatifPagination parameter
querychaîneObligatoireSearch querypython programming
allow_nsfwchaîneFacultatifAllow NSFW content: 0, 10
time_rangechaîneFacultatif时间范围(仅适用于post/media)/Time range (only for post/media): all(所有时间), year(去年), month(上月), week(上周), day(今天), hour(过去1小时)all
need_formatbooléenFacultatifWhether to clean and format the datafalse
safe_searchchaîneFacultatifSafe search setting: unset, strictunset
search_typechaîneFacultatif搜索类型/Search type: post(帖子), community(社区), comment(评论), media(媒体), people(用户)post
  • Paramètres de requête
  • sortchaîneFacultatif

    排序方式(仅适用于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.

    Exemple : RELEVANCE

  • afterchaîneFacultatif

    Pagination parameter

  • querychaîneObligatoire

    Search query

    Exemple : python programming

  • allow_nsfwchaîneFacultatif

    Allow NSFW content: 0, 1

    Exemple : 0

  • time_rangechaîneFacultatif

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

    Exemple : all

  • need_formatbooléenFacultatif

    Whether to clean and format the data

    Exemple : false

  • safe_searchchaîneFacultatif

    Safe search setting: unset, strict

    Exemple : unset

  • search_typechaîneFacultatif

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

    Exemple : post

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.reddit-app-fetch-dynamic-search?sort=RELEVANCE&query=python+programming&allow_nsfw=0&time_range=all&need_format=false&safe_search=unset&search_type=post' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.001/success, frais de service inclus.