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.001JSON
Reddit每次呼叫 $0.001JSON
Reddit每次呼叫 $0.001JSON
Reddit每次呼叫 $0.001JSON
Reddit每次呼叫 $0.001JSON
Reddit每次呼叫 $0.001JSON

指南:Best Reddit API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Reddit Search API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/reddit/app/dynamic-search。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Reddit Search API 的費用是多少?

每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 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 金鑰嗎?

不需要。Reddit Search 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Reddit API 存取權。