Search Reddit posts
POST https://glim.sh/api/v1/reddit/searchListed in 3 directories: bazaar, x402-list, x402-new. First seen 5 Sept 2026.
Call this service
The endpoint answers an unpaid request with an HTTP 402 and a payment challenge. @x402/fetch signs it, pays in USDC, and retries — you get the result back in one call.
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const pay = wrapFetchWithPayment(fetch, account);
const res = await pay("https://glim.sh/api/v1/reddit/search", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({ /* see the 402 challenge for the shape */ }),
});
console.log(await res.json());More from glim.sh
Search tweets with advanced operators (recommended). Body param is `query` (not q), e.g. {"query":"from:elonmusk AI min_faves:100"}
Search Amazon by keyword or browse bestsellers by category slug
Web search powered by Exa
LLM chat completion (OpenAI-compatible, streaming supported)
Fetch a YouTube transcript from a video URL or 11-char id (video_id, also accepted as ref or url); returns a presigned download URL to the transcript
Fetch a web page and extract clean content
Uptime and compliance: x402-list.com (CC BY 4.0). Safety scores: x402.direct. Call and payer counts: x402.new. AMNT indexes this endpoint and does not host, operate or vouch for it.
