List trending GitHub repositories for a language and time window
List trending GitHub repositories for a language and time window.
14000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-01
updated
Provider
api.socialfetch.dev · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x02C2fCAfCe36B4AAdB39625866Bc6B1699d83043",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "14000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"queryParams": {},
"type": "http"
},
"output": {
"example": {
"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"
}
},
"type": "json"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"language": {
"description": "Optional coding language filter.",
"minLength": 1,
"type": "string"
},
"since": {
"description": "Trending time window. Default: `daily`.",
"enum": [
"daily",
"weekly",
"monthly"
],
"type": "string"
},
"spokenLanguageCode": {
"description": "Optional spoken language code filter.",
"minLength": 1,
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
},
"payment-identifier": {
"info": {
"required": false
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"id": {
"maxLength": 128,
"minLength": 16,
"pattern": "^[a-zA-Z0-9_-]+$",
"type": "string"
},
"required": {
"type": "boolean"
}
},
"required": [
"required"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.socialfetch.dev/v1/github/trending/repositories" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.socialfetch.dev/v1/github/trending/repositories");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.socialfetch.dev/v1/github/trending/repositories")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/3067.json, and this resource appears in /discovery/resources and /discovery/search.