Skip to content
Fourohtwo

Reddit Post and Comments ($0.01/call)

x402.botsmith.dev/reddit/post

Reddit Post and Comments ($0.01/call): Fetch one Reddit post by URL with its discussion: the post's title, body, score and comment count, plus up to 50 top-level comments (author, text, score, ISO timestamp) each with its first 5 replies, sorted best, top, new, old, controversial or Q&A, with a cursor for more. No Reddit account or API key needed.

BaseAnswering
GEThttps://x402.botsmith.dev/reddit/post

Uptime100% 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.botsmith.dev/reddit/post?sort=best&url=https%3A%2F%2Fwww.reddit.com%2Fr%2FIAmA%2Fcomments%2Fz1c9z%2Fi_am_barack_obama_president_of_the_united_states%2F");
console.log(await res.json());

Example input

{
  "sort": "best",
  "url": "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/"
}

More from botsmithProvider status