anyapi_reddit_subreddit_search $0.0025 per call

Reddit Subreddit Search. Search posts within a single subreddit by query, sort, and timeframe. (AnyAPI · Reddit)

For AI agents: call anyapi_reddit_subreddit_search
POST https://toll402.dev/v1/p/anyapi.reddit.subreddit_search
{
 "query": "push ups",
 "subreddit": "Fitness"
}
Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server: npx -y toll402-mcp · remote https://toll402.dev/mcp.

Input schema

{
 "type": "object",
 "properties": {
  "cursor": {
   "type": "string",
   "description": "Optional pagination token from a previous response."
  },
  "query": {
   "type": "string",
   "description": "Optional search query to match posts (e.g. 'push ups').",
   "examples": [
    "push ups"
   ]
  },
  "sort": {
   "type": "string",
   "description": "Optional sort order: relevance, hot, top, new, comments."
  },
  "subreddit": {
   "type": "string",
   "description": "Subreddit name without the r/ prefix (e.g. 'Fitness').",
   "examples": [
    "Fitness"
   ]
  },
  "timeframe": {
   "type": "string",
   "description": "Optional time filter: all, year, month, week, day, hour."
  }
 },
 "additionalProperties": true,
 "required": [
  "subreddit"
 ]
}

MCP

{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}

All tools · OpenAPI