Get a subreddit's rules by name or URL, in the order the subreddit lists them. Returns each rule's title, full text, what it applies to (posts, comments or both), the report reason moderators use and when it was added.
curl "https://apidirect.io/v1/reddit/subreddit/rules?subreddit=Python" \
-H "X-API-Key: YOUR_API_KEY"
{
"rules": [
{
"priority": 0,
"title": "No showcase posts",
"description": "Due to an increase of showcases featuring AI content such as working with multiple AI models or wrappers around APIs, this is no longer allowed. Please post...",
"applies_to": "link",
"violation_reason": "No showcase posts",
"created_at": "2024-08-03 05:47:33"
}
],
"subreddit": "Python",
"count": 11
}
link for rules about posts, comment for rules about comments, all for both.
You only pay for successful requests. The Reddit Subreddit Rules 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 10 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