---
title: "Retrieve a GitHub repository"
method: GET
path: "/github/repo/{owner}/{repo}"
tags: ["GitHub"]
---

# Retrieve a GitHub repository

`GET /github/repo/{owner}/{repo}`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/github/repo/{owner}/{repo}`
- Auth: API key in header `x-api-key`

Returns the public details of one GitHub repository, identified by the required `owner` and `repo`. Fields include the full name, description, main language, topics, stars, forks, watchers, open issues, license, default branch and last push time.

## Path parameters

- `owner` string, required
- `repo` string, required

## Headers

- `x-api-key` string, required

## Response `200`

Wrapped repository detail

- AppResponse: The Response struct is used for wrapping the API response with a code, message, and data.
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` unknown
  - `msg` unknown

## Other responses

- `400`: Missing or invalid parameters
- `404`: Repository not found
- `503`: Upstream error or rate limit

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
