{"uid":"cap_fAGtomRq4_eq7TGYxz7Fa","slug":"reddit-subreddit-rules-fetcher-7fbaa737","name":"Reddit Subreddit Rules Fetcher","description":"Get a subreddit's rules by name or URL, in the order the subreddit lists them.","url":"https://x402.apidirect.io/v1/reddit/subreddit/rules?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"url":{"type":"string","maxLength":500,"description":"Subreddit URL, e.g. https://www.reddit.com/r/Python/ (max 500 characters). Provide exactly one of subreddit or url."},"subreddit":{"type":"string","maxLength":25,"description":"Subreddit name, with or without r/, e.g. Python. Provide exactly one of subreddit or url."}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D5Afo6MirPQxAftsAlI-c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches the moderation rules of a Reddit subreddit, in listed order, given a subreddit name or URL.","exampleAgentPrompt":"What are the rules for r/MachineLearning on Reddit? Pull them in the order the subreddit lists them.","exampleUseCases":[{"title":"Pre-posting compliance check","prompt":"Before I post to r/personalfinance, can you pull up all their rules so I can make sure my question follows their guidelines?"},{"title":"Community moderation research","prompt":"I'm building a list of common Reddit moderation rules. Can you fetch the rules for r/AskScience in the order they appear on the subreddit?"},{"title":"Subreddit rules by URL","prompt":"Grab the rules for this Reddit community: https://www.reddit.com/r/datascience/ — I want to see what they allow before I share my project there."}],"resultDescription":"Returns the subreddit's rules in the order they are listed, including rule titles, descriptions, and any associated details as published by the subreddit's moderators.","failureModes":["Subreddit does not exist — returns error or empty result","Subreddit is private or banned — access denied","Neither subreddit name nor URL provided — validation error","Both subreddit and URL provided simultaneously — ambiguous input error","Rate limiting or Reddit API unavailability — service error"],"whenToPreferThis":"Use this endpoint when you need to programmatically retrieve the official moderation rules of any public Reddit subreddit, either by name or URL. Prefer it over manual scraping or general web search when you need structured, ordered rule data for compliance checks, research, or automated content moderation workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:07:34.444Z","isFirstParty":false,"canonicalSlug":"reddit-subreddit-rules-fetcher-7fbaa737"}