GitHub API endpoint
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.
/github/repo/{owner}/{repo}Returns public details for a GitHub repository.
Path parameters:
owner: required. Repository owner login.repo: required. Repository name.| Field | In the sample | Value in the sample |
|---|---|---|
| name | Has a value | |
| full_name | Has a value | |
| owner | Has a value | |
| description | Has a value | |
| html_url | Has a value | github.com |
| language | Has a value | |
| stars | Has a value | 251,812 |
| forks | Has a value | 67,777 |
| watchers | Has a value | 251,812 |
| open_issues | Has a value | 3 |
| license | Has a value | |
| default_branch | Has a value | |
| is_fork | Has a value | false |
| archived | Has a value | false |
| created_at | Has a value | 2011-09-04 |
| pushed_at | Has a value | 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 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/github/repo/torvalds/linux" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"name": "linux",
"full_name": "torvalds/linux",
"owner": "torvalds",
"description": "Linux kernel source tree",
"language": "C",
"topics": [
"kernel",
"linux"
],
"stars": 180000,
"forks": 53000,
"watchers": 180000,
"open_issues": 0,
"license": "GPL-2.0",
"default_branch": "master",
"pushed_at": "2026-06-20T11:02:33Z"
}
}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 |
| 404 | Repository not found | #/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" \
-H "x-api-key: $CRAWLORA_API_KEY"