A

Agentbit · Reddit Search

by Agentbit

POSTBase

$0.02

per call · USD Coin on Base

Search Reddit posts by keyword, optionally within a subreddit, sorted by relevance, new or top over a timeframe. Returns title, subreddit, permalink, score, comment count, timestamp and post text — useful for sentiment, community feedback and trend research.

Endpoint

POST https://agentbit.app/v1/social/reddit/search

2

Calls / 30d

1

Unique payers / 30d

Sep 2

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://agentbit.app/v1/social/reddit/search", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "limit": 3,
    "query": "laravel 13",
    "sort": "new"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agentbit.app/v1/social/reddit/search" \
  -H "Content-Type: application/json" \
  -d '{"limit":3,"query":"laravel 13","sort":"new"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "results": [
    {
      "created_utc": 1770000000,
      "num_comments": 87,
      "score": 412,
      "selftext": "Highlights from the release…",
      "subreddit": "laravel",
      "title": "Laravel 13 released — what changed",
      "url": "https://www.reddit.com/r/laravel/comments/abc123/"
    }
  ]
}

Payment details

Pay to0x4395c7e383b7e05665aad7f36ed77c01923dd965
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Social & Community and the homepage with a featured placement.

Get featured →

More from Agentbit & similar services