Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Reddit Search

API 文档
https://api.sandbase.ai/v1/api/reddit/app/dynamic-search

Search Reddit posts, communities, comments, media and users with the Reddit app search. Sort by relevance, hot, top, new or comments and filter by time range, with NSFW and safe-search controls.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 7 个可选
每天 100 次免费调用每天前 100 次调用免费(按组织共享)· UTC 00:00 重置。之后按次计费。

Playground

输入
Search keyword
Pagination parameter for fetching next page
Allow NSFW content, "0" or "1"
Whether to clean and format the data
Search type: post, community, comment, media, people
Sort method (only for post/comment/media): RELEVANCE, HOT, TOP, NEW, COMMENTS
Time range (only for post/media): all, year, month, week, day, hour
输出示例
响应outputs · 29.4 KB · 732 行
[
  {
    "data": {
      "search": {
        "dynamic": {
          "components": {
            "__typename": "SearchResultsMainLayout",
            "appliedState": {
              "__typename": "SearchAppliedState",
              "filters": [
                {
                  "key": "component",
                  "value": "SearchAppliedState"
                },
                {
                  "key": "experience_selection",
                  "value": "post"
                },
                {
                  "key": "safe_search",
                  "value": "unset"
                },
                "… 1 more items in the full response"
              ],
              "pane": "posts"
            },
            "main": {
              "edges": [
                {
                  "cursor": "",
                  "node": {
                    "__typename": "SearchListComponent",
                    "behaviors": {
                      "header": null
                    },
                    "children": [
                      {
                        "__typename": "SearchPost",
                        "behaviors": {
                          "community": "…",
                          "default": "…",
                          "profile": "…",
                          "thumbnail": "…"
                        },
                        "post": {
                          "__typename": "SubredditPost",
                          "attributionInfo": null,
                          "authorFlair": null,
                          "authorInfo": "…",
                          "awardings": "… 0 items in the full response",
                          "commentCount": 192,
                          "content": null,
                          "createdAt": "2026-08-16T06:07:09.490000+0000",
                          "crosspostRoot": null,
                          "crowdControlLevel": "OFF",
                          "distinguishedAs": null,
                          "domain": "i.redd.it",
                          "editedAt": null,
                          "flair": "…",
                          "gallery": null,
                          "id": "t3_1vpp609",
                          "isArchived": false,
                          "isCommercialCommunication": false,
                          "isContestMode": false,
                          "isCrosspostable": true,
                          "isCrowdControlFilterEnabled": false,
                          "isFollowed": false,
                          "isGildable": true,
                          "isHidden": false,
                          "isLocked": false,
                          "isNsfw": false,
                          "isPollIncluded": false,
                          "isReactAllowed": false,
                          "isSaved": false,
                          "isScoreHidden": false,
                          "isSelfPost": false,
                          "isSpoiler": false,
                          "isStickied": false,
                          "isThumbnailEnabled": true,
                          "isTranslatable": true,
                          "isTranslated": false,
                          "languageCode": "en",
                          "media": "…",
                          "moderationInfo": null,
                          "outboundLink": "…",
                          "permalink": "/r/DeepSeek/comments/1vpp609/lmfao_openai_is_terrified_look_at_this_rambling/",
                          "poll": null,
                          "postEventInfo": null,
                          "postHint": "IMAGE",
                          "postTitle": "LMFAO ... OpenAI is terrified ... look at this rambling post their saint and saviour Tibo just posted at midnight his time :/",
                          "reactedFrom": null,
                          "removedByCategory": null,
                          "score": 295,
                          "subreddit": "…",
                          "suggestedCommentSort": null,
                          "thumbnail": "…",
                          "translatedLanguage": null,
                          "upvoteRatio": 0.7116212338593975,
                          "url": "https://i.redd.it/1d1jowochojh1.png",
                          "viewCount": null,
                          "voteState": "NONE"
                        },
                        "telemetry": {
                          "__typename": "SearchElementTelemetry",
                          "events": "… 3 items in the full response",
                          "trackingContext": "…"
                        }
                      },
                      {
                        "__typename": "SearchPost",
                        "behaviors": {
                          "community": "…",
                          "default": "…",
                          "profile": "…",
                          "thumbnail": "…"
                        },
                        "post": {
                          "__typename": "SubredditPost",
                          "attributionInfo": null,
                          "authorFlair": null,
                          "authorInfo": "…",
                          "awardings": "… 0 items in the full response",
                          "commentCount": 246,
                          "content": "…",
                          "createdAt": "2026-08-01T14:37:35.591000+0000",
                          "crosspostRoot": null,
                          "crowdControlLevel": "OFF",
                          "distinguishedAs": null,
                          "domain": "self.LLM",
                          "editedAt": null,
                          "flair": null,
                          "gallery": null,
                          "id": "t3_1vcp33f",
                          "isArchived": false,
                          "isCommercialCommunication": false,
                          "isContestMode": false,
                          "isCrosspostable": true,
                          "isCrowdControlFilterEnabled": false,
                          "isFollowed": false,
                          "isGildable": true,
                          "isHidden": false,
                          "isLocked": false,
                          "isNsfw": false,
                          "isPollIncluded": false,
                          "isReactAllowed": false,
                          "isSaved": false,
                          "isScoreHidden": false,
                          "isSelfPost": true,
                          "isSpoiler": false,
                          "isStickied": false,
                          "isThumbnailEnabled": false,
                          "isTranslatable": true,
                          "isTranslated": false,
                          "languageCode": "en",
                          "media": null,
                          "moderationInfo": null,
                          "outboundLink": "…",
                          "permalink": "/r/LLM/comments/1vcp33f/i_dont_think_anthropic_and_openai_will_survive/",
                          "poll": null,
                          "postEventInfo": null,
                          "postHint": null,
                          "postTitle": "I don't think Anthropic and OpenAI will survive",
                          "reactedFrom": null,
                          "removedByCategory": null,
                          "score": 494,
                          "subreddit": "…",
                          "suggestedCommentSort": null,
                          "thumbnail": null,
                          "translatedLanguage": null,
                          "upvoteRatio": 0.9348591549295776,
                          "url": "https://www.reddit.com/r/LLM/comments/1vcp33f/i_dont_think_anthropic_and_openai_will_survive/",
                          "viewCount": null,
                          "voteState": "NONE"
                        },
                        "telemetry": {
                          "__typename": "SearchElementTelemetry",
                          "events": "… 3 items in the full response",
                          "trackingContext": "…"
                        }
                      },
                      {
                        "__typename": "SearchPost",
                        "behaviors": {
                          "community": "…",
                          "default": "…",
                          "profile": "…",
                          "thumbnail": "…"
                        },
                        "post": {
                          "__typename": "SubredditPost",
                          "attributionInfo": null,
                          "authorFlair": null,
                          "authorInfo": "…",
                          "awardings": "… 0 items in the full response",
                          "commentCount": 229,
                          "content": "…",
                          "createdAt": "2026-08-02T10:58:42.521000+0000",
                          "crosspostRoot": null,
                          "crowdControlLevel": "OFF",
                          "distinguishedAs": null,
                          "domain": "self.stocks",
                          "editedAt": null,
                          "flair": null,
                          "gallery": null,
                          "id": "t3_1vdf3sz",
                          "isArchived": false,
                          "isCommercialCommunication": false,
                          "isContestMode": false,
                          "isCrosspostable": true,
                          "isCrowdControlFilterEnabled": false,
                          "isFollowed": false,
                          "isGildable": true,
                          "isHidden": false,
                          "isLocked": false,
                          "isNsfw": false,
                          "isPollIncluded": false,
                          "isReactAllowed": false,
                          "isSaved": false,
                          "isScoreHidden": false,
                          "isSelfPost": true,
                          "isSpoiler": false,
                          "isStickied": false,
                          "isThumbnailEnabled": false,
                          "isTranslatable": true,
                          "isTranslated": false,
                          "languageCode": "en",
                          "media": null,
                          "moderationInfo": null,
                          "outboundLink": "…",
                          "permalink": "/r/stocks/comments/1vdf3sz/how_the_fck_is_openai_going_to_pay_14_trillion/",
                          "poll": null,
                          "postEventInfo": null,
                          "postHint": null,
                          "postTitle": "How The F*ck is OpenAI Going to Pay 1.4 Trillion??",
                          "reactedFrom": null,
                          "removedByCategory": null,
                          "score": 471,
                          "subreddit": "…",
                          "suggestedCommentSort": "CONFIDENCE",
                          "thumbnail": null,
                          "translatedLanguage": null,
                          "upvoteRatio": 0.8825448613376835,
                          "url": "https://www.reddit.com/r/stocks/comments/1vdf3sz/how_the_fck_is_openai_going_to_pay_14_trillion/",
                          "viewCount": null,
                          "voteState": "NONE"
                        },
                        "telemetry": {
                          "__typename": "SearchElementTelemetry",
                          "events": "… 3 items in the full response",
                          "trackingContext": "…"
                        }
                      },
                      "… 4 more items in the full response"
                    ],
                    "presentation": {
                      "__typename": "SearchListComponentDefaultPresentation",
                      "isDefaultPresentation": false
                    }
                  }
                }
              ],
              "pageInfo": {
                "endCursor": "eyJjYW5kaWRhdGVzX3JldHVybmVkIjoie1wic2VjdGlvbl8xX3BpcGVsaW5lXzBfZ2xvYmFsX21vZGlmaWVyc1wiOlwiMVwiLFwic2VjdGlvbl8xX3BpcGVsaW5lXzFfbG9jYWxfbW9kaWZpZXJzXCI6XCIyXCIsXCJzZWN0aW9uXzJfcGlwZWxpbmVfOF9wb3N0X3NlYXJjaFwiOlwiN1wifSIsImV4cGVyaWVuY2Vfc2VsZWN0aW9uIjoicG9zdCIsImV4cGVyaWVuY2VfdmVyc2lvbiI6ImRlZmF1bHQiLCJzZWN0aW9uXzJfcGlwZWxpbmVfOF9wb3N0X3NlYXJjaCI6IjcifQ==",
                "hasNextPage": true,
                "hasPreviousPage": false,
                "startCursor": ""
              }
            },
            "telemetry": {
              "__typename": "SearchElementTelemetry",
              "events": [
                {
                  "action": "load",
                  "noun": "feed",
                  "source": "search",
                  "trigger": "LOAD",
                  "triggerConfiguration": null
                },
                {
                  "action": "view",
                  "noun": "dwell",
                  "source": "search",
                  "trigger": "DWELL",
                  "triggerConfiguration": {
                    "timerDurations": [
                      3000,
                      5000,
                      10000,
                      "… 2 more items in the full response"
                    ]
                  }
                }
              ],
              "trackingContext": {
                "__typename": "SearchTelemetryTrackingContext",
                "actionInfo": {
                  "paneName": "posts",
                  "position": null,
                  "reason": null,
                  "relativePosition": null,

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Reddit Search API

Searches Reddit for a keyword and returns a list of matching results in the Reddit app search layout. It needs one input, query, and can search posts, communities, comments, media or people through search_type.

Use cases

  • Track new posts that mention a brand or product, sorted by NEW.
  • Find the subreddits where a topic is discussed most, using search_type set to community.
  • Collect post titles and comment counts for a keyword to compare how much discussion it draws.
  • Pull the top posts of the past week for a topic with sort set to TOP and time_range set to week.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/dynamic-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "OpenAI"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword
afterstringNoPagination parameter for fetching next page
allow_nsfwstringNoAllow NSFW content, "0" or "1"
need_formatbooleanNoWhether to clean and format the data
safe_searchstringNoSafe search setting, "unset" or "strict"
search_typestringNoSearch type: post, community, comment, media, people
sortstringNoSort method (only for post/comment/media): RELEVANCE, HOT, TOP, NEW, COMMENTS
time_rangestringNoTime range (only for post/media): all, year, month, week, day, hour

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "search": {
    "dynamic": {
      "components": {
        "__typename": "SearchResultsMainLayout",
        "appliedState": {
          "__typename": "SearchAppliedState",
          "filters": [
            {
              "key": "component",
              "value": "SearchAppliedState"
            }
          ],
          "pane": "posts"
        },
        "main": {
          "edges": [
            {
              "cursor": "",
              "node": {
                "__typename": "SearchListComponent",
                "behaviors": {
                  "header": null
                },
                "children": [
                  {
                    "__typename": "SearchPost",
                    "behaviors": {
                      "community": {
                        "__typename": "SearchCommunityNavigationBehavior",
                        "id": "t5_7hqomg",
                        "name": "ChatGPT",
                        "telemetry": {
                          "__typename": "SearchElementTelemetry",
                          "events": [
                            {
                              "action": "click",
                              "noun": "post",
                              "source": "search",
                              "trigger": "CLICK",
                              "triggerConfiguration": null
                            }
                          ],
                          "trackingContext": {
                            "__typename": "SearchTelemetryTrackingContext",
                            "actionInfo": {
                              "paneName": "posts",
                              "position": 0,
                              "reason": null,
                              "relativePosition": 0,
                              "type": "community"
                            },
                            "answers": null,
                            "metaSearch": null,
                            "post": {
                              "id": "t3_1xjohbq",
                              "isNsfw": false,
                              "isSpoiler": false,
                              "title": "WTF, OpenAI?!",
                              "type": "IMAGE"
                            },
                            "profile": {
                              "id": "t2_1i6r6u44cc",
                              "name": "_GOREHOUND_"
                            },
                            "search": {
                              "isNsfw": false,
                              "query": "OpenAI",
                              "queryID": "78e0a15d-2fb3-4ea0-ab83-00a3378ce066",
                              "range": null,
                              "safeSearch": "UNAVAILABLE",
                              "scope": {
                                "id": null,
                                "name": null,
                                "path": "/",
                                "type": "GLOBAL"
                              },
                              "snippet": null,
                              "snippetId": null
                            },
                            "subreddit": {
                              "id": "t5_7hqomg",
                              "isNsfw": false,
                              "isQuarantined": false,
                              "name": "ChatGPT"
                            }
                          }
                        }
                      },
                      "default": {
                        "__typename": "SearchPDPNavigationBehavior",
                        "id": "t3_1xjohbq",
                        "telemetry": {
                          "__typename": "SearchElementTelemetry",
                          "events": [
                            {
                              "action": "click",
                              "noun": "post",
                              "source": "search",
                              "trigger": "CLICK",
                              "triggerConfiguration": null
                            }
                          ],
                          "trackingContext": {
                            "__typename": "SearchTelemetryTrackingContext",
                            "actionInfo": {
                              "paneName": "posts",
                              "position": 0,
                              "reason": null,
                              "relativePosition": 0,
                              "type": "post"
                            },
                            "answers": null,
                            "metaSearch": null,
                            "post": {
                              "id": "t3_1xjohbq",
                              "isNsfw": false,
                              "isSpoiler": false,
                              "title": "WTF, OpenAI?!",
                              "type": "IMAGE"
                            },
                            "profile": {
                              "id": "t2_1i6r6u44cc",
                              "name": "_GOREHOUND_"
                            },
                            "search": {
                              "isNsfw": false,
                              "query": "OpenAI",
                              "queryID": "78e0a15d-2fb3-4ea0-ab83-00a3378ce066",
                              "range": null,
                              "safeSearch": "UNAVAILABLE",
                              "scope": {
                                "id": null,
                                "name": null,
                                "path": "/",
                                "type": "GLOBAL"
                              },
                              "snippet": null,
                              "snippetId": null
                            },
                            "subreddit": {
                              "id": "t5_7hqomg",
                              "isNsfw": false,
                              "isQuarantined": false,
                              "name": "ChatGPT"
                            }
                          }
                        }
                      },
                      "profile": {
                        "__typename": "SearchProfileNavigationBehavior",
                        "id": "t5_el59hc",
                        "name": "u__GOREHOUND_",
                        "telemetry": {
                          "__typename": "SearchElementTelemetry",
                          "events": [
                            {
                              "action": "click",
                              "noun": "post",
                              "source": "search",
                              "trigger": "CLICK",
                              "triggerConfiguration": null
                            }
                          ],
                          "trackingContext": {
                            "__typename": "SearchTelemetryTrackingContext",
                            "actionInfo": {
                              "paneName": "posts",
                              "position": 0,
                              "reason": null,
                              "relativePosition": 0,
                              "type": "profile"
                            },
                            "answers": null,
                            "metaSearch": null,
                            "post": {
                              "id": "t3_1xjohbq",
                              "isNsfw": false,
                              "isSpoiler": false,
                              "title": "WTF, OpenAI?!",
                              "type": "IMAGE"
                            },
                            "profile": {
                              "id": "t2_1i6r6u44cc",
                              "name": "_GOREHOUND_"
                            },
                            "search": {
                              "isNsfw": false,
                              "query": "OpenAI",
                              "queryID": "78e0a15d-2fb3-4ea0-ab83-00a3378ce066",
                              "range": null,
                              "safeSearch": "UNAVAILABLE",
                              "scope": {
                                "id": null,
                                "name": null,
                                "path": "/",
                                "type": "GLOBAL"
                              },
                              "snippet": null,
                              "snippetId": null
                            },
                            "subreddit": {
                              "id": "t5_7hqomg",
                              "isNsfw": false,
                              "isQuarantined": false,
                              "name": "ChatGPT"
                            }
                          }
                        }
                      },
                      "thumbnail": {
                        "__typename": "SearchPDPNavigationBehavior",
                        "id": "t3_1xjohbq",
                        "telemetry": {
                          "__typename": "SearchElementTelemetry",
                          "events": [
                            {
                              "action": "click",
                              "noun": "post",
                              "source": "search",
                              "trigger": "CLICK",
                              "triggerConfiguration": null
                            }
                          ],
                          "trackingContext": {
                            "__typename": "SearchTelemetryTrackingContext",
                            "actionInfo": {
                              "paneName": "posts",
                              "position": 0,
                              "reason": null,
                              "relativePosition": 0,
                              "type": "thumbnail"
                            },
                            "answers": null,
                            "metaSearch": null,
                            "post": {
                              "id": "t3_1xjohbq",
                              "isNsfw": false,
                              "isSpoiler": false,
                              "title": "WTF, OpenAI?!",
                              "type": "IMAGE"
                            },
                            "profile": {
                              "id": "t2_1i6r6u44cc",
                              "name": "_GOREHOUND_"
                            },
                            "search": {
                              "isNsfw": false,
                              "query": "OpenAI",
                              "queryID": "78e0a15d-2fb3-4ea0-ab83-00a3378ce066",
                              "range": null,
                              "safeSearch": "UNAVAILABLE",
                              "scope": {
                                "id": null,
                                "name": null,
                                "path": "/",
                                "type": "GLOBAL"
                              },
                              "snippet": null,
                              "snippetId": null
                            },
                            "subreddit": {
                              "id": "t5_7hqomg",
                              "isNsfw": false,
                              "isQuarantined": false,
                              "name": "ChatGPT"
                            }
                          }
                        }
                      }
                    },
                    "post": {
                      "__typename": "SubredditPost",
                      "attributionInfo": null,
                      "authorFlair": null,
                      "authorInfo": {
                        "__typename": "Redditor",
                        "accountType": "USER",
                        "iconSmall": {
                          "__typename": "MediaSource",
                          "dimensions": {
                            "height": 256,
                            "width": 256
                          },
                          "url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_4.png"
                        },
                        "id": "t2_1i6r6u44cc",
                        "isBlocked": false,
                        "isCakeDayNow": false,
                        "name": "_GOREHOUND_",
                        "newIcon": {
                          "__typename": "MediaSource",
                          "dimensions": {
                            "height": 256,
                            "width": 256
                          },
                          "url": "https://www.redditstatic.com/avatars/defaults/v2/avatar_default_4.png"
                        }
                      },
                      "awardings": [],
                      "commentCount": 121,
                      "content": null,
                      "createdAt": "2026-10-30T19:12:42.108000+0000"
                    },
                    "telemetry": {
                      "__typename": "SearchElementTelemetry",
                      "events": [
                        {
                          "action": "view",
                          "noun": "post",
                          "source": "search",
                          "trigger": "VIEW",
                          "triggerConfiguration": null
                        }
                      ],
                      "trackingContext": {
                        "__typename": "SearchTelemetryTrackingContext",
                        "actionInfo": {
                          "paneName": "posts",
                          "position": 0,
                          "reason": null,
                          "relativePosition": 0,
                          "type": null
                        },
                        "answers": null,
                        "metaSearch": null,
                        "post": {
                          "id": "t3_1xjohbq",
                          "isNsfw": false,
                          "isSpoiler": false,
                          "title": "WTF, OpenAI?!",
                          "type": "IMAGE"
                        },
                        "profile": {
                          "id": "t2_1i6r6u44cc",
                          "name": "_GOREHOUND_"
                        },
                        "search": {
                          "isNsfw": false,
                          "query": "OpenAI",
                          "queryID": "78e0a15d-2fb3-4ea0-ab83-00a3378ce066",
                          "range": null,
                          "safeSearch": "UNAVAILABLE",
                          "scope": {
                            "id": null,
                            "name": null,
                            "path": "/",
                            "type": "GLOBAL"
                          },
                          "snippet": null,
                          "snippetId": null
                        },
                        "subreddit": {
                          "id": "t5_7hqomg",
                          "isNsfw": false,
                          "isQuarantined": false,
                          "name": "ChatGPT"
                        }
                      }
                    }
                  }
                ],
                "presentation": {
                  "__typename": "SearchListComponentDefaultPresentation",
                  "isDefaultPresentation": false
                }
              }
            }
          ],
          "pageInfo": {
            "endCursor": "eyJjYW5kaWRhdGVzX3JldHVybmVkIjoie1wic2VjdGlvbl8xX3BpcGVsaW5lXzBfZ2xvYmFsX21vZGlm…",
            "hasNextPage": true,
            "hasPreviousPage": false,
            "startCursor": ""
          }
        },
        "telemetry": {
          "__typename": "SearchElementTelemetry",
          "events": [
            {
              "action": "load",
              "noun": "feed",
              "source": "search",
              "trigger": "LOAD",
              "triggerConfiguration": null
            }
          ],
          "trackingContext": {
            "__typename": "SearchTelemetryTrackingContext",
            "actionInfo": {
              "paneName": "posts",
              "position": null,
              "reason": null,
              "relativePosition": null,
              "type": null
            },
            "answers": null,
            "metaSearch": null,
            "post": null,
            "profile": null,
            "search": {
              "isNsfw": false,
              "query": "OpenAI",
              "queryID": "78e0a15d-2fb3-4ea0-ab83-00a3378ce066",
              "range": null,
              "safeSearch": "UNAVAILABLE",
              "scope": {
                "id": null,
                "name": null,
                "path": "/",
                "type": "GLOBAL"
              },
              "snippet": null,
              "snippetId": null
            },
            "subreddit": null
          }
        },
        "top": {
          "filterBar": [
            {
              "__typename": "SearchDropdown",
              "behaviors": [
                {
                  "__typename": "SearchFilterBehavior",
                  "filters": [
                    {
                      "key": "sort",
                      "value": "RELEVANCE"
                    }
                  ],
                  "id": "relevance",
                  "isAppliedFiltersRemoved": false,
                  "isAppliedOptionsRemoved": false,
                  "options": [],
                  "pane": "posts",
                  "query": "OpenAI"
                }
              ],
              "presentation": {
                "__typename": "SearchFilterOptionListPresentation",
                "buttonText": "Relevance",
                "id": "post_sort",
                "options": [
                  {
                    "isSelected": true,
                    "secondaryText": null,
                    "text": "Relevance"
                  }
                ],
                "title": "Sort by"
              }
            }
          ],
          "filterModal": null,
          "navigation": {
            "__typename": "SearchNavigationList",
            "behaviors": [
              {
                "__typename": "SearchFilterBehavior",
                "filters": [
                  {
                    "key": "safe_search",
                    "value": "unset"
                  }
                ],
                "id": "all",
                "isAppliedFiltersRemoved": true,
                "isAppliedOptionsRemoved": false,
                "options": [
                  {
                    "key": "mode",
                    "value": "search"
                  }
                ],
                "pane": "all",
                "query": "OpenAI"
              }
            ],
            "listPresentation": {
              "items": [
                {
                  "id": "all",
                  "isSelected": false,
                  "text": "All"
                }
              ]
            }
          }
        }
      }
    }
  }
}

Response fields

FieldMeaning
search.dynamic.components.main.edges[].node.children[]Result items for the page. Each item has a __typename such as SearchPost that shows the result type.
search.dynamic.components.main.edges[].node.children[].post.idPost ID in the form t3_....
search.dynamic.components.main.edges[].node.children[].post.createdAtCreation time of the post as an ISO 8601 timestamp with a UTC offset.
search.dynamic.components.main.edges[].node.children[].post.commentCountNumber of comments on the post.
search.dynamic.components.main.edges[].node.children[].post.authorInfo.nameUsername of the post author.
search.dynamic.components.main.edges[].node.children[].post.authorInfo.idAuthor account ID in the form t2_....
search.dynamic.components.main.edges[].node.children[].behaviors.community.nameName of the subreddit where the post appears.
search.dynamic.components.main.edges[].node.children[].behaviors.community.idSubreddit ID in the form t5_....
search.dynamic.components.main.edges[].node.children[].telemetry.trackingContext.post.titleTitle of the post.
search.dynamic.components.main.edges[].node.children[].telemetry.trackingContext.post.type / search.dynamic.components.main.edges[].node.children[].telemetry.trackingContext.post.isNsfwPost format, such as IMAGE, and whether the post is marked NSFW.

Notes

  • The tracking context under each item repeats the post title, type and NSFW flag. The post object itself carries the author, comment count and creation time.
  • sort works only for post, comment and media searches. time_range works only for post and media searches.
  • Pass the cursor from the response as after to get the next page.
  • Set need_format to true to get cleaned data. To read a full post, call Reddit Post Details with a post ID, or Reddit App Post Comments for its comments.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
Reddit$0.001 每次调用JSON
Reddit$0.001 每次调用JSON
Reddit$0.001 每次调用JSON
Reddit$0.001 每次调用JSON
Reddit$0.001 每次调用JSON
Reddit$0.001 每次调用JSON

指南:Best Reddit API in 2026: Pricing Compared

问题

常见问题

如何使用 Reddit Search API?

向 https://api.sandbase.ai/v1/api/reddit/app/dynamic-search 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Reddit Search API 的价格是多少?

每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。

Reddit Search API 接受哪些参数?

必填:query (string)。 可选:after (string), allow_nsfw (string), need_format (boolean), safe_search (string), search_type (string) 和 sort (string) 以及另外 1 项。 Parameters 表和本页的 Playground 列出了每个字段。

Reddit Search API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Reddit 开发者账户或 API key 吗?

不需要。Reddit Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Reddit API 访问权限。