Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Reddit Search

Dokumentasi 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.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 7 opsional
100 panggilan gratis / hari100 panggilan pertama per hari gratis (dibagi per organisasi) · Direset pada 00:00 UTC. Setelah itu, bayar per panggilan.

Playground

Input
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
OutputContoh
Responsoutputs · 29.4 KB · 732 baris
[
  {
    "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,

Contoh

Pilih contoh untuk memuat input dan hasilnya ke playground.

README API

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.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON
Reddit$0.001 per panggilanJSON

Panduan:Best Reddit API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Reddit Search?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/reddit/app/dynamic-search dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Reddit Search?

$0.001 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.

Parameter apa yang diterima API Reddit Search?

Wajib: query (string). Opsional: after (string), allow_nsfw (string), need_format (boolean), safe_search (string), search_type (string) dan sort (string) dan 1 lainnya. Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Reddit Search?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Reddit?

Tidak. Reddit Search berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Reddit secara terpisah.