Repository endpoints
GET /api/repos
Section titled “GET /api/repos”Lists repositories with filtering and sorting.
curl "https://gitstars.io/api/repos?language=Rust&sort=trending&window=24h"GET /api/search/suggest
Section titled “GET /api/search/suggest”Returns suggestions for repositories, languages, and topics.
curl "https://gitstars.io/api/search/suggest?q=react&limit=5"GET /api/repos/:provider/:owner/:name
Section titled “GET /api/repos/:provider/:owner/:name”Returns repository detail.
curl "https://gitstars.io/api/repos/github/vercel/next.js"GET /api/repos/:provider/by-full-name
Section titled “GET /api/repos/:provider/by-full-name”Use this when you have a full name with a slash.
curl "https://gitstars.io/api/repos/github/by-full-name?fullName=vercel/next.js"GET /api/repos/:provider/by-full-name/:fullName
Section titled “GET /api/repos/:provider/by-full-name/:fullName”Path-based full-name lookup. URL-encode slashes when needed.