81trust / 100
Reddit Search
by agentbit.app in News & content
x402 APIPassing, checked 46 min ago
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.
POST https://agentbit.app/v1/social/reddit/search
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 77 ms typical, 77 ms slowest 5%
- Last check
- 46 min ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agentbit.app/v1/social/reddit/search" \
-H "content-type: application/json" \
-d '{"limit":3,"query":"laravel 13","sort":"new"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagentbit.app%2Fv1%2Fsocial%2Freddit%2Fsearch
const res = await pay("https://agentbit.app/v1/social/reddit/search", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"limit":3,"query":"laravel 13","sort":"new"}),
});
console.log(await res.json());Example input
{
"limit": 3,
"query": "laravel 13",
"sort": "new"
}Example output
{
"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/"
}
]
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 46 min ago | Passed | 402 | 77 ms | $0.02 |
| 6 h ago | Passed | 402 | 271 ms | $0.02 |