---
title: "List a GitHub organization's public repositories"
method: GET
path: "/github/org/{org}/repos"
tags: ["GitHub"]
---

# List a GitHub organization's public repositories

`GET /github/org/{org}/repos`

## Request

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

Lists the public repositories of a GitHub organization, identified by the required `org` login. Filter with `type` (`all`, `public`, `forks`, `sources` or `member`), order with `sort` (`created`, `updated`, `pushed` or `full_name`) and `direction`, and page with `page` and `per_page` (max 100). Each repository has its name, description, language, stars and forks.

## Path parameters

- `org` string, required

## Query parameters

- `sort` 'created' | 'updated' | 'pushed' | 'full_name'
- `direction` 'asc' | 'desc'
- `type` 'all' | 'public' | 'forks' | 'sources' | 'member'
- `page` integer
- `per_page` integer

## Headers

- `x-api-key` string, required

## Response `200`

Wrapped repository list

- 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
- `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/0497899e2016?raw)
