{"slug":"x402-apidirect-io-v1-reddit-comments-81f065","title":"Search for Reddit comments by keyword across all subreddits, or in one subreddit","host":"x402.apidirect.io","method":"GET","resource":"https://x402.apidirect.io/v1/reddit/comments","category":"search","description":"Search for Reddit comments by keyword across all subreddits, or in one subreddit.","price_listed":0.004,"price_asked":0.004,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":256,"reported_calls_30d":0,"reported_payers_30d":0,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"query":"python","sort_by":"relevance"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"properties":{"get_sentiment":{"default":false,"description":"Set to true to add AI emotion analysis to each comment (returned in the `posts` array). Adds a `sentiment` object containing `emotions` (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), `dominant_emotion`, `emotional_intensity` (0-10), and `polarity` (positiv","type":"boolean"},"pages":{"default":1,"description":"Number of pages to fetch and merge (1-10). Billed per page.","maximum":10,"minimum":1,"type":"integer"},"query":{"description":"Search query (max 500 characters)","maxLength":500,"type":"string"},"sort_by":{"default":"most_recent","description":"Sort order for results","enum":["most_recent","relevance","top"],"type":"string"},"subreddit":{"description":"Only return comments from this subreddit, with or without r/ (e.g. Python).","maxLength":25,"type":"string"}},"required":["query"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.004,"price_match":true,"latency_ms":256,"error":null}],"description_full":"Search for Reddit comments by keyword across all subreddits, or in one subreddit.","last_updated":"2026-10-25T12:21:40.987Z","schemes":["exact","upto"]}