# Reddit dynamic search results

Perform Reddit APP dynamic search, supporting posts, communities, comments, media, and users. Needs query. Served by TikHub.

Purpose:
- Perform Reddit APP dynamic search, supporting posts, communities, comments, media, and users
Parameters:
- query: Search keywords or expression; post searches may match only some terms in titles or post bodies. See the syntax reference below
- 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 cursor; when need_format=true, pass pageInfo.endCursor unchanged to fetch the next page
- need_format: Defaults to false; true reduces data to children and pageInfo, retaining core result content and pagination
Returns:
- need_format=false: Original nested search result data
- need_format=true: data contains only:
  - children: Results containing the corresponding post, comment, community or author content for search_type
  - pageInfo: Available pagination fields, including endCursor, startCursor, hasNextPage and hasPreviousPage
- An empty children list means no results; when hasNextPage is true, continue using endCursor

- Tool ID: `tikhub/reddit-app-fetch-dynamic-search`
- Name in the catalog: Reddit, Fetch Reddit APP Dynamic Search Results
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Reddit search](/tools/reddit/search.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "language": {
      "type": "string",
      "minLength": 2,
      "maxLength": 16,
      "pattern": "^[A-Za-z]{2,3}(?:-[A-Za-z0-9]{2,8})*$",
      "description": "返回内容使用的语言，采用 IETF 语言标签；默认 en-US / Preferred response language as an IETF language tag; default: en-US",
      "default": "en-US",
      "title": "Language"
    },
    "query": {
      "type": "string",
      "minLength": 1,
      "maxLength": 512,
      "description": "搜索关键词或搜索表达式；帖子搜索默认可匹配部分关键词，支持 AND、OR、NOT、括号分组、引号短语和字段限定 / Search keywords or expression; post searches may match only some keywords. Supports AND, OR, NOT, grouping, quoted phrases and field filters",
      "title": "Query"
    },
    "search_type": {
      "enum": [
        "post",
        "community",
        "comment",
        "media",
        "people"
      ],
      "type": "string",
      "description": "搜索类型/Search type: post(帖子), community(社区), comment(评论), media(媒体), people(用户)",
      "default": "post",
      "title": "Search Type"
    },
    "sort": {
      "anyOf": [
        {
          "enum": [
            "RELEVANCE",
            "HOT",
            "TOP",
            "NEW",
            "COMMENTS"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "排序方式(仅适用于post/comment/media)/Sort method (only for post/comment/media): RELEVANCE(相关性), HOT(热门), TOP(最受欢迎), NEW(最新), COMMENTS(评论数,仅post)",
      "title": "Sort"
    },
    "time_range": {
      "anyOf": [
        {
          "enum": [
            "all",
            "year",
            "month",
            "week",
            "day",
            "hour"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "时间范围(仅适用于post/media)/Time range (only for post/media): all(所有时间), year(去年), month(上月), week(上周), day(今天), hour(过去1小时)",
      "title": "Time Range"
    },
    "safe_search": {
      "enum": [
        "unset",
        "strict"
      ],
      "type": "string",
      "description": "安全搜索设置/Safe search setting: unset, strict",
      "default": "unset",
      "title": "Safe Search"
    },
    "allow_nsfw": {
      "enum": [
        "0",
        "1"
      ],
      "type": "string",
      "description": "是否允许NSFW内容/Allow NSFW content: 0, 1",
      "default": "0",
      "title": "Allow Nsfw"
    },
    "after": {
      "type": "string",
      "maxLength": 4096,
      "description": "分页游标；need_format=true时使用pageInfo.endCursor / Pagination cursor; use pageInfo.endCursor when need_format=true",
      "default": "",
      "title": "After"
    },
    "need_format": {
      "type": "boolean",
      "description": "true时data仅包含children和pageInfo，并精简每条结果的冗余字段；false时保留原始搜索结构 / When true, data contains only children and pageInfo with redundant result fields removed; false preserves the original search structure",
      "default": false,
      "title": "Need Format"
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
```

## Published example

No example input is published for this tool. Ask for the inputs required by its schema.

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Reddit-APP-API/fetch_dynamic_search_api_v1_reddit_app_fetch_dynamic_search_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/reddit-app-fetch-dynamic-search) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/reddit-app-fetch-dynamic-search) · [Agent index](/llms.txt)
