Search Reddit posts by keyword. Returns post title, URL, subreddit, author, publication date, and content snippet for each result. Supports multiple sort options including hot and top posts.
curl "https://api.apidirect.io/v1/reddit/posts?query=programming&page=1&sort_by=hot" \
-H "Authorization: Bearer YOUR_API_KEY"
{
"posts": [
{
"title": "Reddit post title",
"url": "https://reddit.com/r/programming/...",
"date": "2024-01-15 14:30:00",
"author": "redditor",
"source": "Reddit",
"subreddit": "programming",
"snippet": "Post content..."
}
],
"page": 1,
"count": 20
}
Hot shows trending posts with recent activity. Top shows highest-voted posts. Most_recent shows posts in chronological order, newest first.
Yes, the Reddit Posts API includes NSFW content.
Our API provides real-time data from Reddit, with results going back multiple years to a few seconds ago.
You only pay for successful requests. The Reddit Posts API costs $0.003 per request. 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