{
  "x402Version": 2,
  "id": 57558,
  "slug": "57558",
  "resource": "https://api.socialfetch.dev/v1/reddit/subreddits/search",
  "description": "Search posts within one subreddit (not site-wide — use reddit.search.list for that).",
  "type": "http",
  "serviceName": "SocialFetch",
  "resourceType": "Tax",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x02C2fCAfCe36B4AAdB39625866Bc6B1699d83043",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "14000",
      "amountUsd": 0.014,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "subreddit": "Fitness"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "page": {
                "hasMore": true,
                "nextCursor": "t3_84rceg"
              },
              "posts": [
                {
                  "_truncated": true,
                  "author": null,
                  "crosspost": false,
                  "id": "t3_3c3vkn",
                  "metrics": {
                    "comments": null,
                    "upvoteRatio": null,
                    "votes": null
                  },
                  "nsfw": false,
                  "permalink": "/r/Fitness/comments/3c3vkn/heres_a_video_i_made_to_help_you_do_push_ups/",
                  "postId": "t3_3c3vkn",
                  "spoiler": false,
                  "subreddit": {
                    "bannerUrl": null,
                    "description": null,
                    "iconUrl": null,
                    "id": null,
                    "name": null,
                    "nsfw": null,
                    "quarantined": null,
                    "weeklyContributions": null,
                    "weeklyVisitors": null
                  },
                  "text": null,
                  "title": "Here's a video I made to help you do PUSH UPS properly",
                  "url": "https://www.reddit.com/r/Fitness/comments/3c3vkn/heres_a_video_i_made_to_help_you_do_push_ups/"
                }
              ],
              "query": "push ups",
              "sort": "relevance",
              "subreddit": "Fitness",
              "timeframe": "all",
              "totalResults": 25
            },
            "meta": {
              "creditsCharged": 1,
              "requestId": "req_01example",
              "version": "v1"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "cursor": {
                    "description": "Opaque pagination cursor returned by a previous response.",
                    "minLength": 1,
                    "type": "string"
                  },
                  "query": {
                    "description": "Search text to match against public subreddit posts.",
                    "maxLength": 512,
                    "minLength": 1,
                    "type": "string"
                  },
                  "sort": {
                    "description": "Sort order for search results. Default: `relevance`.",
                    "enum": [
                      "relevance",
                      "hot",
                      "top",
                      "new",
                      "comments"
                    ],
                    "type": "string"
                  },
                  "subreddit": {
                    "description": "Subreddit name, optional `r/` prefix, or Reddit subreddit URL. Must match Reddit's exact casing. Searches posts within this subreddit.",
                    "maxLength": 256,
                    "minLength": 1,
                    "type": "string"
                  },
                  "timeframe": {
                    "description": "Time range filter for search results. Default: `all`.",
                    "enum": [
                      "all",
                      "year",
                      "month",
                      "week",
                      "day",
                      "hour"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "subreddit"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "Reddit",
    "social-data",
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "api.socialfetch.dev",
  "lastUpdated": "2026-10-13T23:18:26.111Z",
  "quality": {
    "calls30d": 9,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T23:18:25.848Z"
  },
  "metadata": {
    "serviceName": "SocialFetch",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "subreddit": "Fitness"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "data": {
                "page": {
                  "hasMore": true,
                  "nextCursor": "t3_84rceg"
                },
                "posts": [
                  {
                    "_truncated": true,
                    "author": null,
                    "crosspost": false,
                    "id": "t3_3c3vkn",
                    "metrics": {
                      "comments": null,
                      "upvoteRatio": null,
                      "votes": null
                    },
                    "nsfw": false,
                    "permalink": "/r/Fitness/comments/3c3vkn/heres_a_video_i_made_to_help_you_do_push_ups/",
                    "postId": "t3_3c3vkn",
                    "spoiler": false,
                    "subreddit": {
                      "bannerUrl": null,
                      "description": null,
                      "iconUrl": null,
                      "id": null,
                      "name": null,
                      "nsfw": null,
                      "quarantined": null,
                      "weeklyContributions": null,
                      "weeklyVisitors": null
                    },
                    "text": null,
                    "title": "Here's a video I made to help you do PUSH UPS properly",
                    "url": "https://www.reddit.com/r/Fitness/comments/3c3vkn/heres_a_video_i_made_to_help_you_do_push_ups/"
                  }
                ],
                "query": "push ups",
                "sort": "relevance",
                "subreddit": "Fitness",
                "timeframe": "all",
                "totalResults": 25
              },
              "meta": {
                "creditsCharged": 1,
                "requestId": "req_01example",
                "version": "v1"
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "cursor": {
                      "description": "Opaque pagination cursor returned by a previous response.",
                      "minLength": 1,
                      "type": "string"
                    },
                    "query": {
                      "description": "Search text to match against public subreddit posts.",
                      "maxLength": 512,
                      "minLength": 1,
                      "type": "string"
                    },
                    "sort": {
                      "description": "Sort order for search results. Default: `relevance`.",
                      "enum": [
                        "relevance",
                        "hot",
                        "top",
                        "new",
                        "comments"
                      ],
                      "type": "string"
                    },
                    "subreddit": {
                      "description": "Subreddit name, optional `r/` prefix, or Reddit subreddit URL. Must match Reddit's exact casing. Searches posts within this subreddit.",
                      "maxLength": 256,
                      "minLength": 1,
                      "type": "string"
                    },
                    "timeframe": {
                      "description": "Time range filter for search results. Default: `all`.",
                      "enum": [
                        "all",
                        "year",
                        "month",
                        "week",
                        "day",
                        "hour"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "subreddit"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "payment-identifier": {
        "info": {
          "required": false
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "id": {
              "maxLength": 128,
              "minLength": 16,
              "pattern": "^[a-zA-Z0-9_-]+$",
              "type": "string"
            },
            "required": {
              "type": "boolean"
            }
          },
          "required": [
            "required"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.socialfetch.dev",
    "manifest_name": "api.socialfetch.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}