S

SocialFetch · Trending Repositories

by SocialFetch

GETBase

$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/repositories

1

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 to0x02c2fcafce36b4aadb39625866bc6b1699d83043
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from SocialFetch & similar services