> Parel documentation. Index of every page: https://parel.si/docs/llms.txt. This page in HTML: https://parel.si/docs/tools/get_github_user_repos

# get_github_user_repos

> A GitHub user's public repositories: name, description, language, stars, forks, topics and dates. ₹0.28 per page; a result that finds nothing is ₹0.

## What it does

The public repositories of one GitHub user from their handle or URL: data with each repository's name, description, language, stars, forks, topics, license, visibility, default branch and timestamps, sorted as asked, plus a cursor for the next page.

Use it to see what a developer or a company account builds and maintains; [`get_github_repo`](https://parel.si/docs/tools/get_github_repo.md) reads one repository in full, [`get_github_user`](https://parel.si/docs/tools/get_github_user.md) the profile, [`get_github_trending`](https://parel.si/docs/tools/get_github_trending.md) what is rising. Flat price per page; an unknown user is free. One to three seconds.

India: any public account.

## Inputs

Generated from the contract captured from staging on 2026-11-05.

| Field | Type | Required | Description |
|---|---|---|---|
| `url` | string | one of | The user's GitHub URL, instead of handle. |
| `sort` | string | no | updated (default), created, pushed or full_name. |
| `type` | string | no | owner (default), all or member. |
| `cursor` | number | no | The cursor from the previous answer, for the next page. |
| `handle` | string | one of | The GitHub username. |
| `direction` | string | no | asc or desc. |

One of these sets must be complete (anything else is `invalid_input`, ₹0): `handle`; `url`.

## What drives the cost

Flat per page; pass cursor for the next page. A result that finds nothing is `class: "ok_free"`, ₹0. The timeout is 30 seconds.

## Price today

| | |
|---|---|
| Price today | **₹0.28** per page (`cost_paise: 28`) at ₹93.93 per US dollar on 17 November 2026 |
| Hold before the call | ₹0.42 (`hold_paise: 42`); when the call settles the real price is charged and the unused part is released |
| ₹0 when | it fails, or the provider answers but there is nothing in it (an empty list, no email, no page): `class: "ok_free"`, ₹0 |
| Timeout | 30 s, then `upstream_timeout` (₹0, retryable) |
| Over MCP | `run_tool` with `tool: "get_github_user_repos"` |
| Over REST | `POST https://api.parel.si/v1/run` with `"tool": "get_github_user_repos"` |
| Confirmation | not needed (the estimate is under the ₹200 threshold) |

## Request

```bash
curl https://api.parel.si/v1/run \
  -H "Authorization: Bearer $PAREL_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tool":"get_github_user_repos","input":{"sort":"pushed","handle":"torvalds"}}'
```

## What comes back

`data`, as the live check of 2026-11-05 recorded it, trimmed:

```json
{
  "repositories": [
    {
      "id": 1058343058,
      "node_id": "R_kgDOPxUIkg",
      "name": "GuitarPedal",
      "full_name": "A User 110",
      "owner": {
        "id": 0,
        "login": "a_user_111",
        "avatar_url": "(picture link removed)",
        "url": "https://github.com/a_public_figure",
        "type": "User"
      },
      "private": false,
      "url": "https://github.com/a_public_figure/GuitarPedal",
      "description": "Linus learns analog circuits",
      "fork": false,
      "homepage": "",
      "language": "C",
      "forks_count": 128,
      "stars_count": 2487,
      "watchers_count": 2487,
      "size": 19382,
      "default_branch": "main",
      "open_issues_count": 16,
      "topics": [],
      "license": {
        "key": "gpl-2.0",
        "name": "GNU General Public License v2.0",
        "spdx_id": "GPL-2.0"
      },
      "archived": false,
      "disabled": false,
      "visibility": "public",
      "pushed_at": "2026-11-04T21:19:26Z",
      "created_at": "2025-09-17T01:01:29Z",
      "updated_at": "2026-11-04T21:19:32Z"
    },
    {
      "id": 2325298,
      "node_id": "MDEwOlJlcG9zaXRvcnkyMzI1Mjk4",
      "name": "linux",
      "full_name": "A User 112",
      "owner": {
        "id": 0,
        "login": "a_user_111",
        "avatar_url": "(picture link removed)",
        "url": "https://github.com/a_public_figure",
        "type": "User"
      },
      "private": false,
      "url": "https://github.com/a_public_figure/linux",
      "description": "Linux kernel source tree",
      "fork": false,
      "homepage": "",
      "language": "C",
      "forks_count": 67091,
      "stars_count": 254462,
      "watchers_count": 254462,
      "size": 6446172,
      "default_branch": "master",
      "open_issues_count": 3,
      "topics": [],
      "license": {
        "key": "other",
        "name": "Other",
        "spdx_id": "NOASSERTION"
      },
      "archived": false,
      "disabled": false,
      "visibility": "public",
      "pushed_at": "2026-11-03T16:50:49Z",
      "created_at": "2011-09-04T22:48:12Z",
      "updated_at": "2026-11-05T14:58:05Z"
    },
    {
      "id": 78665021,
      "node_id": "MDEwOlJlcG9zaXRvcnk3ODY2NTAyMQ==",
      "name": "subsurface-for-dirk",
      "full_name": "A User 113",
      "owner": {
        "id": 0,
        "login": "a_user_111",
        "avatar_url": "(picture link removed)",
        "url": "https://github.com/a_public_figure",
        "type": "User"
      },
      "private": false,
      "url": "https://github.com/a_public_figure/subsurface-for-dirk",
      "description": "Do not use - the real upstream is  Subsurface-divelog/subsurface",
      "fork": true,
      "homepage": "https://subsurface-divelog.org",
      "language": "C++",
      "forks_count": 68,
      "stars_count": 480,
      "watchers_count": 480,
      "size": 172897,
      "default_branch": "master",
      "open_issues_count": 1,
      "topics": [],
      "license": {
        "key": "gpl-2.0",
        "name": "GNU General Public License v2.0",
        "spdx_id": "GPL-2.0"
      },
      "archived": false,
      "disabled": false,
      "visibility": "public",
      "pushed_at": "2026-10-18T17:57:13Z",
      "created_at": "2017-01-11T18:03:01Z",
      "updated_at": "2026-10-26T08:41:58Z"
    }
  ],
  "cursor": 2,
  "has_more": false
}
```

## Notes

- Flat per page; pass cursor for the next page.
- sort pushed for the most recently active repositories.
- Pairs with get_github_repo.

## Siblings

- [`get_github_repo`](https://parel.si/docs/tools/get_github_repo.md)
- [`get_github_user`](https://parel.si/docs/tools/get_github_user.md)
- [`get_github_trending`](https://parel.si/docs/tools/get_github_trending.md)
