S
$0.014
per call · USD Coin on Base
Get details for a Reddit community (subreddit).
Endpoint
GET https://api.socialfetch.dev/v1/reddit/subreddits1
Calls / 30d
1
Unique payers / 30d
Aug 26
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://api.socialfetch.dev/v1/reddit/subreddits", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://api.socialfetch.dev/v1/reddit/subreddits?url=https%3A%2F%2Fwww.reddit.com%2Fr%2FAbsoluteUnits%2F" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"lookupStatus": "found",
"metrics": {
"subscribers": 2039745,
"weeklyActiveUsers": 2374665,
"weeklyContributions": 19793
},
"subreddit": {
"advertiserCategory": "",
"bannerUrl": "https://styles.redditmedia.com/t5_a7wuv/styles/bannerBackgroundImage_6dyzaasgzdag1.png?width=4000&s=13383688b7c6aada983…",
"createdAt": "2018-01-05T10:35:24.000Z",
"description": "Absolute Unit : an Animal or Public Figure, who is larger than we should normally expect.",
"iconUrl": "https://styles.redditmedia.com/t5_a7wuv/styles/communityIcon_t3cspt08bl681.png?width=256&s=a44312a0b6611844daea17277b70…",
"name": "AbsoluteUnits",
"platform": "reddit",
"rules": "#ABSOLUTE UNITS\n\n---\n\n Be in awe at the size of these lads\n\n---\n\n###[Check out our deep, well-reflected definitions …",
"submitText": "",
"subredditId": "t5_a7wuv",
"url": "https://www.reddit.com/r/AbsoluteUnits/"
}
},
"meta": {
"creditsCharged": 1,
"requestId": "req_01example",
"version": "v1"
}
}Payment details
Pay to
0x02c2fcafce36b4aadb39625866bc6b1699d83043Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase
Schemesexact
Is this your API?
Pin it to the top of Social & Community and the homepage with a featured placement.
More from SocialFetch & similar services
S
SocialFetch · Tiktok Search
api.socialfetch.dev
Search TikTok videos by free-text keyword (not hashtag — use tiktok.search.hashtag.list for that).
GETBaseSocial & Community
$0.014 / call77 calls / 30d
S
SocialFetch · Profiles Posts
api.socialfetch.dev
List posts from an Instagram profile by handle.
GETBaseSocial & Community
$0.014 / call60 calls / 30d
S
SocialFetch · Instagram Posts
api.socialfetch.dev
Get a single Instagram post or Reel by URL.
GETBaseSocial & Community
$0.014 / call58 calls / 30d