Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

Reddit Search

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

Prix
$0.001USD / appel
Méthode
POST
Réponse
JSON
Paramètres
1 obligatoires · 7 facultatifs
100 appels gratuits / jourLes 100 premiers appels par jour sont gratuits (partagés par organisation) · Réinitialisation à 00:00 UTC. Ensuite, paiement à l'appel.

Bac à sable

Entrée
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
SortieExemple
Réponseoutputs · 29.4 KB · 732 lignes
[
  {
    "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,

Exemples

Sélectionnez un exemple pour charger ses entrées et son résultat dans le playground.

README de l'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.

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
Reddit SearchCette API
Reddit
$0.001 par appelJSON
Reddit$0.001 par appelJSON
Reddit$0.001 par appelJSON
Reddit$0.001 par appelJSON
Reddit$0.001 par appelJSON
Reddit$0.001 par appelJSON

Guides :Best Reddit API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API Reddit Search ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/reddit/app/dynamic-search avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API Reddit Search ?

$0.001 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.

Quels paramètres l’API Reddit Search accepte-t-elle ?

Obligatoire : query (string). Facultatif : after (string), allow_nsfw (string), need_format (boolean), safe_search (string), search_type (string) et sort (string) et 1 de plus. Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API Reddit Search ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API Reddit ?

Non. Reddit Search fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Reddit séparément.