---
title: "Get GitHub star count for a repository"
method: GET
path: "/api/website/v1/stars/:repo"
tags: ["Website"]
---

# Get GitHub star count for a repository

`GET /api/website/v1/stars/:repo`

## Request

- Base URL: `https://api.surrealdb.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.surrealdb.com/api/website/v1/stars/:repo`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/surrealdb/apis/surrealdb-api-server/docs/api/website/v1/stars/:repo/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `repo` 'surrealdb' | 'surrealist', required

## Response `200`

Star count for the repository

## Other responses

- `500`: Internal server error

---

[API](https://skmtc.dev/surrealdb/apis/surrealdb-api-server.md) - [All operations](https://skmtc.dev/surrealdb/apis/surrealdb-api-server/llms.txt) - [OpenAPI document](https://skmtc.dev/surrealdb/apis/surrealdb-api-server/revisions/7d05f954f7ca?raw)
