Search Reddit comments by keyword. Returns comment content, parent post URL, subreddit, author, and publication date for each result. Supports fetching multiple pages of results in a single API call.
curl "https://api.apidirect.io/v1/reddit/comments?query=python&pages=2&sort_by=relevance" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"posts": [
{
"title": "u/username on r/python",
"url": "https://reddit.com/r/python/comments/...",
"date": "2024-01-15 14:30:00",
"author": "commenter",
"source": "Reddit (Comment)",
"subreddit": "python",
"snippet": "Comment content..."
}
],
"pages": 2,
"count": 50
}
Our Reddit Comments API provides real-time data from Reddit, with results going back multiple years to a few seconds ago.
Each page returns approximately 20 comments. You can fetch up to 5 pages (100 comments) in a single API call using the pages parameter.
You only pay for successful requests. The Reddit Comments API costs $0.003 per page. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.
No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.
Yes, there's a concurrency limit of 3 simultaneous requests per endpoint per user. If you need more, just get in touch.
Get your API key and start making requests in minutes. 50 requests/month free every month.
Get API Key