GitHub API endpoint
Lists the public forks of a GitHub repository, identified by the required `owner` and `repo`. Order with `sort` (`newest`, `oldest`, `stargazers` or `watchers`) and page with `page` and `per_page` (max 100). Each fork has its full name, owner, stars, language and creation time.
/github/repo/{owner}/{repo}/forksPath parameters:
owner: required. Repository owner login.repo: required. Repository name.Query parameters:
sort: optional. Order of returned forks. Allowed values: newest, oldest, stargazers, watchers.page: optional. Page number (integer).per_page: optional. Results per page (integer, max 100).| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| full_name | 20 | |
| owner | 20 | |
| html_url | 20 | github.com |
| stars | 20 | 0 to 1, median 0 |
| created_at | 20 | 2026-10-11 to 2026-10-13 |
| pushed_at | 20 | 2026-10-09 to 2026-10-13 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| owner (path) | string | Yes | Repository owner (user or org login) | torvalds | |
| repo (path) | string | Yes | Repository name | linux | |
| sort | string | No | Sort order Allowed values: newest, oldest, stargazers, watchers. | ||
| page | integer | No | Page number | ||
| per_page | integer | No | Results per page (max 100) | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/github/repo/torvalds/linux/forks?sort=newest&page=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": [
{
"full_name": "octocat/linux",
"owner": "octocat",
"stars": 12,
"language": "C",
"created_at": "2026-05-14T18:03:21Z"
}
]
}Request schema
No body schema
Response schema
#/definitions/app.Response
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | Code is the HTTP status code or a custom code used to indicate the result of the request @example 200 | |||
| data | unknown | No | Data is the response data (can be any object or null) @example {"id": 1, "name": "John Doe"} | |||
| msg | unknown | No | Msg is the message that describes the result of the request @example "Request successful" |
| Status | Description | Schema |
|---|---|---|
| 400 | Missing or invalid parameters | #/definitions/app.Response |
| 503 | Upstream error or rate limit | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/github/repo/torvalds/linux/forks?sort=newest&page=1" \
-H "x-api-key: $CRAWLORA_API_KEY"