Search Reddit posts by keyword, optionally within a subreddit, sorted by relevance, new or
Search Reddit posts by keyword, optionally within a subreddit, sorted by relevance, new or top over a timeframe. Returns title, subreddit, permalink, score, comment count, timestamp and post text — useful for sentiment, community feedback and trend research.
20000 (raw units)
price
2
calls / 30d
1
unique payers
2026-09-02
updated
Provider
agentbit.app · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x4395C7e383b7e05665aad7f36ed77c01923Dd965",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "20000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"description": "Search Reddit posts by query, subreddit, sort order and timeframe.",
"errors": [
{
"code": "PAYMENT_REQUIRED",
"description": "Missing or invalid payment — retry with a valid PAYMENT-SIGNATURE header",
"retryable": true,
"status": 402
},
{
"code": "VALIDATION_ERROR",
"description": "Request body does not match the input schema",
"retryable": false,
"status": 422
},
{
"code": "RATE_LIMITED",
"description": "Too many requests from this client",
"retryable": true,
"status": 429
},
{
"code": "UPSTREAM_TIMEOUT",
"description": "Upstream data source unavailable — safe to retry",
"retryable": true,
"status": 502
}
],
"input": {
"body": {
"limit": 3,
"query": "laravel 13",
"sort": "new"
},
"bodyType": "json",
"method": "POST",
"type": "http"
},
"networks": [
"eip155:8453"
],
"output": {
"example": {
"results": [
{
"created_utc": 1770000000,
"num_comments": 87,
"score": 412,
"selftext": "Highlights from the release…",
"subreddit": "laravel",
"title": "Laravel 13 released — what changed",
"url": "https://www.reddit.com/r/laravel/comments/abc123/"
}
]
},
"type": "json"
},
"pricing": {
"amount": 0.02,
"currency": "USDC",
"model": "per-call"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"description": {
"type": "string"
},
"errors": {
"items": {
"properties": {
"code": {
"type": "string"
},
"description": {
"type": "string"
},
"retryable": {
"type": "boolean"
},
"status": {
"type": "integer"
}
},
"required": [
"status",
"code"
],
"type": "object"
},
"type": "array"
},
"input": {
"additionalProperties": false,
"properties": {
"body": {
"description": "Reddit Search input. Search Reddit posts by keyword, optionally within a subreddit, sorted by relevance, new or top over a timeframe. Returns title, subreddit, permalink, score, comment count, timestamp and post text — useful for sentiment, community feedback and trend research.",
"properties": {
"limit": {
"type": "integer"
},
"query": {
"type": "string"
},
"sort": {
"type": "string"
},
"subreddit": {
"type": "string"
},
"timeframe": {
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"headers": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"queryParams": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"networks": {
"items": {
"type": "string"
},
"type": "array"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
},
"pricing": {
"properties": {
"amount": {
"type": [
"number",
"null"
]
},
"currency": {
"type": "string"
},
"model": {
"type": "string"
}
},
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://agentbit.app/v1/social/reddit/search" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://agentbit.app/v1/social/reddit/search");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://agentbit.app/v1/social/reddit/search")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/10973.json, and this resource appears in /discovery/resources and /discovery/search.