S
$0.014
per call · USD Coin on Base
List trending GitHub repositories for a language and time window.
Endpoint
GET https://api.socialfetch.dev/v1/github/trending/repositories1
Calls / 30d
1
Unique payers / 30d
Sep 1
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/github/trending/repositories", {
method: "GET",
});
const data = await res.json();cURL
curl -X GET \
"https://api.socialfetch.dev/v1/github/trending/repositories" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"language": null,
"repositories": [
{
"_truncated": true,
"description": "Official, Anthropic-managed directory of high quality Claude Code Plugins.",
"forksCount": 2627,
"fullName": "anthropics/claude-plugins-official",
"language": "Python",
"languageColor": "#3572A5",
"owner": "anthropics",
"rank": 1,
"repo": "claude-plugins-official",
"starsCount": 22064,
"starsToday": 891,
"starsTodayText": "891 stars today",
"url": "https://github.com/anthropics/claude-plugins-official"
}
],
"since": "daily",
"spokenLanguageCode": null,
"totalResults": 2
},
"meta": {
"creditsCharged": 1,
"requestId": "req_01example_github_trending_repositories",
"version": "v1"
}
}Payment details
Pay to
0x02c2fcafce36b4aadb39625866bc6b1699d83043Asset
USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913NetworksBase
Schemesexact
Is this your API?
Pin it to the top of Developer Tools 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