x402.apidirect.io/v1/reddit/subreddit/rules
Get a subreddit's rules by name or URL, in the order the subreddit lists them.
GET
https://x402.apidirect.io/v1/reddit/subreddit/rulesUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.apidirect.io/v1/reddit/subreddit/rules?subreddit=Python");
console.log(await res.json());Example input
{
"subreddit": "Python"
}More from API DirectProvider status
- x402.apidirect.io/v1/linkedin/company/postsRetrieve recent posts published by a specific LinkedIn company page.0.007
- x402.apidirect.io/v1/linkedin/personGet a LinkedIn person's profile: name, headline, about, location, follower and connection counts, open-to-work status, and the experience, education, skills, certifications, languages, honors, publications, volunteering, and projects sections.0.007
- x402.apidirect.io/v1/linkedin/person/postsGet the recent posts authored by a LinkedIn person by profile URL or public slug.0.007
- x402.apidirect.io/v1/reddit/post/commentsGet the comments on a Reddit post, replies included, by URL or post ID.0.004
- x402.apidirect.io/v1/reddit/postsSearch for Reddit posts by keyword across all subreddits.0.004
- x402.apidirect.io/v1/twitter/postsSearch for tweets by keyword.0.007
