Skip to content

Examples

Terminal window
curl "https://gitstars.io/api/trending?language=TypeScript&window=24h&limit=10"

With an API key:

Terminal window
curl -H "Authorization: Bearer YOUR_API_KEY" "https://gitstars.io/api/trending?language=TypeScript&window=24h&limit=10"
Terminal window
curl "https://gitstars.io/api/repos?q=vector%20database&sort=trending&limit=10"
Terminal window
curl "https://gitstars.io/api/repos/github/vercel/next.js"
Terminal window
curl "https://gitstars.io/api/repos/github/by-full-name?fullName=vercel/next.js"
Terminal window
curl "https://gitstars.io/api/repos/123456/metrics?window=90d"
Terminal window
curl "https://gitstars.io/api/embed/gitstars.svg?provider=github&repo=vercel/next.js&theme=dark&range=1y&metric=stars"