GitHub Starred Repos API
List the repositories a GitHub user has starred, with each repository's owner, description, primary language and star and fork counts.
- Endpoint
- POST /github/list-starred
- Price
- 1 credit per request
- SDK
- client.github.listStarred()
- MCP tool
- github_list_starred
curl -X POST "https://api.bridgly.app/github/list-starred" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "username": "torvalds", "count": 10}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/github/list-starred", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "username": "torvalds", "count": 10, },)data = response.json()const response = await fetch("https://api.bridgly.app/github/list-starred", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "username": "torvalds", "count": 10 }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.github.listStarred({ username: "torvalds", count: 10});if (res.type === "success") { console.log(res.data);}What does the GitHub Starred Repos API return?
GitHub stars API: list the repositories any GitHub user has starred, with each repo’s owner, description, primary language and star and fork counts. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
usernamestringrequired- GitHub username (login), or the profile link, e.g. "torvalds" or "https://github.com/torvalds".
countinteger · 1–10 · default 10- Number of results to return (1–10). Defaults to 10.
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
Example response
{ "timeMs": 1840, "creditsCost": 1, "data": { "nextCursor": "string", "username": "string", "repositories": [ { "id": "string", "databaseId": 0, "name": "string", "nameWithOwner": "string", "owner": { "username": "string", "id": "string", "url": "string", "avatarUrl": "string" }, "description": "string", "url": "string", "homepageUrl": "string", "isPrivate": true, "isFork": true, "isArchived": true, "isTemplate": true, "primaryLanguage": { "name": "string", "color": "string" }, "stargazerCount": 0, "forkCount": 0, "watcherCount": 0, "openIssuesCount": 0, "diskUsage": 0, "license": { "key": "string", "name": "string", "spdxId": "string", "url": "string" }, "topics": [ "string" ], "createdAt": "string", "updatedAt": "string", "pushedAt": "string" } ] }}What can you build with the GitHub Starred Repos API?
Learn interests
See which tools and libraries a developer follows.
Recommend projects
Suggest repositories based on what similar people starred.
Curate lists
Turn a respected developer’s stars into a reading list.
GitHub Starred Repos API questions
How do I see which repositories a GitHub user starred?
Send the username. Each starred repository comes back with its owner, description, language and star and fork counts, up to 10 per call; send the nextCursor from the response back as cursor for more.
What can starred repositories tell me?
Stars show the tools and topics a developer is interested in. Developer tool companies use them to see which tools a prospect already uses or follows.
How do I get every repository a user has starred?
Each call returns up to 10 repositories and a nextCursor. Send it back as cursor to get the next page; it is null when there are no more.
How do I use the GitHub Starred Repos API?
Send a POST request to https://api.bridgly.app/github/list-starred with username in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.github.listStarred(). AI agents connected to Bridgly over MCP can call the github_list_starred tool.
How much does the GitHub Starred Repos API cost?
Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.00 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.
More GitHub endpoints
The same API key works on every endpoint. See all GitHub API endpoints.
- GitHub Projects API→GitHub projects API: list any user’s public GitHub Projects boards as JSON, with each project’s title, description, link, open or closed state and dates.
- GitHub User Search API→Find GitHub developers and organizations by location, language, followers and join date. Get bios and repository counts with the GitHub User Search API.
- GitHub Profile API→GitHub user API: get any GitHub profile by username as JSON, with name, bio, company, location, website, followers, repo count and pinned repositories.
- GitHub Contributions API→GitHub contributions API: get any user’s contribution graph with daily counts, plus total commits, issues, pull requests and reviews for a date range.
Try the GitHub Starred Repos API
100 free credits on business email, no card. Your first call takes a minute.