honesthook

github-api/repos

GitHub repos API — stars, forks, issues, license, topics

Public repositories of one user, via the official API. Fields keep the source's own names.

Parameters

NameWhat it is
handleThe GitHub login.

Handle format and anchor

One call. Real response.

{
  "success": true,
  "platform": "github",
  "endpoint": "github/repos",
  "data": {
    "author": {
      "id": "1024025",
      "handle": "torvalds",
      "name": null,
      "followers": null,
      "following": null,
      "posts_count": null,
      "verified": null,
      "is_private": null,
      "url": "https://github.com/torvalds"
    },
    "items": [
      {
        "id": "940929652",
        "name": "1590A",
        "full_name": "torvalds/1590A",
        "url": "https://github.com/torvalds/1590A",
        "description": "Random odd guitar pedal design in kicad",
        "language": "OpenSCAD",
        "homepage": null,
        "stargazers_count": 577,
        "forks_count": 22,
        "open_issues_count": 0,
        "watchers_count": 577,
        "size": 10882,
        "archived": true,
        "fork": false,
        "is_template": false,
        "topics": [],
        "license": "GPL-2.0",
        "default_branch": "main",
        "created_at": "2025-03-01T04:36:29Z",
        "updated_at": "2026-10-01T17:50:57Z",
        "pushed_at": "2025-09-19T02:54:14Z"
      },
      {
        "id": "1130786764",
        "name": "AudioNoise",
        "full_name": "torvalds/AudioNoise",
        "url": "https://github.com/torvalds/AudioNoise",
        "description": "Random digital audio effects",
        "language": "C",
        "homepage": null,
        "stargazers_count": 4514,
        "forks_count": 224,
        "open_issues_count": 34,
        "watchers_count": 4514,
        "size": 1428,
        "archived": false,
        "fork": false,
        "is_template": false,
        "topics": [],
        "license": "GPL-2.0",
        "default_branch": "main",
        "created_at": "2026-01-09T02:33:29Z",
        "updated_at": "2026-10-02T22:38:38Z",
        "pushed_at": "2026-05-08T17:20:22Z"
      },
      {
        "id": "1058343058",
        "name": "GuitarPedal",
        "full_name": "torvalds/GuitarPedal",
        "url": "https://github.com/torvalds/GuitarPedal",
        "description": "Linus learns analog circuits",
        "language": "C",
        "homepage": null,
        "stargazers_count": 2416,
        "forks_count": 121,
        "open_issues_count": 13,
        "watchers_count": 2416,
        "size": 19115,
        "archived": false,
        "fork": false,
        "is_template": false,
        "topics": [],
        "license": "GPL-2.0",
        "default_branch": "main",
        "created_at": "2025-09-17T01:01:29Z",
        "updated_at": "2026-10-03T09:44:58Z",
        "pushed_at": "2026-10-02T22:10:32Z"
      },
      {
        "id": "1137038093",
        "name": "HunspellColorize",
        "full_name": "torvalds/HunspellColorize",
        "url": "https://github.com/torvalds/HunspellColorize",
        "description": "Wrapper around 'less' to colorize spelling mistakes using Hunspell",
        "language": "C",
        "homepage": null,
        "stargazers_count": 386,
        "forks_count": 22,
        "open_issues_count": 4,
        "watchers_count": 386,
        "size": 15,
        "archived": false,
        "fork": false,
        "is_template": false,
        "topics": [],
        "license": "GPL-2.0",
        "default_branch": "main",
        "created_at": "2026-01-18T19:57:03Z",
        "updated_at": "2026-10-02T07:28:06Z",
        "pushed_at": "2026-01-19T20:23:09Z"
      },
      {
        "id": "79171906",
        "name": "libdc-for-dirk",
        "full_name": "torvalds/libdc-for-dirk",
        "url": "https://github.com/torvalds/libdc-for-dirk",
        "description": "Only use for syncing with Dirk, don't use for anything else",
        "language": "C",
        "homepage": null,
        "stargazers_count": 408,
        "forks_count": 51,
        "open_issues_count": 1,
        "watchers_count": 408,
        "size": 3743,
        "archived": false,
        "fork": true,
        "is_template": false,
        "topics": [],
        "license": "LGPL-2.1",
        "default_branch": "Subsurface-branch",
        "created_at": "2017-01-17T00:25:49Z",
        "updated_at": "2026-09-22T07:32:24Z",
        "pushed_at": "2024-12-26T20:12:43Z"
      },
      {
        "id": "519408694",
        "name": "libgit2",
        "full_name": "torvalds/libgit2",
        "url": "https://github.com/torvalds/libgit2",
        "description": "A cross-platform, linkable library implementation of Git that you can use in your application.",
        "language": "C",
        "homepage": "https://libgit2.org/",
        "stargazers_count": 391,
        "forks_count": 30,
        "open_issues_count": 1,
        "watchers_count": 391,
        "size": 62768,
        "archived": false,
        "fork": true,
        "is_template": false,
        "topics": [],
        "license": "NOASSERTION",
        "default_branch": "main",
        "created_at": "2022-07-30T03:30:56Z",
        "updated_at": "2026-09-22T07:32:31Z",
        "pushed_at": "2023-12-19T11:45:42Z"
      },
      {
        "id": "2325298",
        "name": "linux",
        "full_name": "torvalds/linux",
        "url": "https://github.com/torvalds/linux",
        "description": "Linux kernel source tree",
        "language": "C",
        "homepage": null,
        "stargazers_count": 250897,
        "forks_count": 66546,
        "open_issues_count": 3,
        "watchers_count": 250897,
        "size": 6400456,
        "archived": false,
        "fork": false,
        "is_template": false,
        "topics": [],
        "license": "NOASSERTION",
        "default_branch": "master",
        "created_at": "2011-09-04T22:48:12Z",
        "updated_at": "2026-10-03T10:03:57Z",
        "pushed_at": "2026-10-03T03:46:09Z"
      },
      {
        "id": "113099837",
        "name": "pesconvert",
        "full_name": "torvalds/pesconvert",
        "url": "https://github.com/torvalds/pesconvert",
        "description": "Brother PES file converter",
        "language": "C",
        "homepage": null,
        "stargazers_count": 582,
        "forks_count": 74,
        "open_issues_count": 7,
        "watchers_count": 582,
        "size": 17,
        "archived": false,
        "fork": false,
        "is_template": false,
        "topics": [],
        "license": null,
        "default_branch": "master",
        "created_at": "2017-12-04T21:58:56Z",
        "updated_at": "2026-10-01T05:49:47Z",
        "pushed_at": "2022-12-22T10:46:37Z"
      },
      {
        "id": "1257356954",
        "name": "ScrollWheel",
        "full_name": "torvalds/ScrollWheel",
        "url": "https://github.com/torvalds/ScrollWheel",
        "description": "Minimalist RP2350 magnetic sensor scroll wheel toy project",
        "language": "C",
        "homepage": null,
        "stargazers_count": 379,
        "forks_count": 14,
        "open_issues_count": 6,
        "watchers_count": 379,
        "size": 15,
        "archived": false,
        "fork": false,
        "is_template": false,
        "topics": [],
        "license": "GPL-2.0",
        "default_branch": "main",
        "created_at": "2026-06-02T15:48:56Z",
        "updated_at": "2026-10-02T14:03:23Z",
        "pushed_at": "2026-06-02T15:52:37Z"
      },
      {
        "id": "78665021",
        "name": "subsurface-for-dirk",
        "full_name": "torvalds/subsurface-for-dirk",
        "url": "https://github.com/torvalds/subsurface-for-dirk",
        "description": "Do not use - the real upstream is  Subsurface-divelog/subsurface",
        "language": "C++",
        "homepage": "https://subsurface-divelog.org",
        "stargazers_count": 476,
        "forks_count": 68,
        "open_issues_count": 1,
        "watchers_count": 476,
        "size": 155337,
        "archived": false,
        "fork": true,
        "is_template": false,
        "topics": [],
        "license": "GPL-2.0",
        "default_branch": "master",
        "created_at": "2017-01-11T18:03:01Z",
        "updated_at": "2026-10-01T16:41:46Z",
        "pushed_at": "2024-08-28T08:00:07Z"
      },
      {
        "id": "86106493",
        "name": "test-tlb",
        "full_name": "torvalds/test-tlb",
        "url": "https://github.com/torvalds/test-tlb",
        "description": "Stupid memory latency and TLB tester",
        "language": "C",
        "homepage": null,
        "stargazers_count": 1067,
        "forks_count": 223,
        "open_issues_count": 14,
        "watchers_count": 1067,
        "size": 19,
        "archived": false,
        "fork": false,
        "is_template": false,
        "topics": [],
        "license": "GPL-2.0",
        "default_branch": "master",
        "created_at": "2017-03-24T20:06:37Z",
        "updated_at": "2026-10-02T13:51:10Z",
        "pushed_at": "2024-08-19T21:13:36Z"
      },
      {
        "id": "117900805",
        "name": "uemacs",
        "full_name": "torvalds/uemacs",
        "url": "https://github.com/torvalds/uemacs",
        "description": "Random version of microemacs with my private modificatons",
        "language": "C",
        "homepage": null,
        "stargazers_count": 2157,
        "forks_count": 326,
        "open_issues_count": 16,
        "watchers_count": 2157,
        "size": 758,
        "archived": false,
        "fork": false,
        "is_template": false,
        "topics": [],
        "license": "NOASSERTION",
        "default_branch": "master",
        "created_at": "2018-01-17T22:32:21Z",
        "updated_at": "2026-10-02T14:03:12Z",
        "pushed_at": "2026-08-06T18:30:25Z"
      }
    ],
    "has_more": false,
    "next_cursor": null
  },
  "error": null,
  "credits_purchased_remaining": 0,
  "free_credits_remaining": 98,
  "free_credits_total": 100,
  "free_credits_reset_at": "2026-11-01T00:00:00.000Z",
  "cached": false
}

Recorded response, captured 3 Oct 2026. A live call returns the value at the moment you ask.

Fields returned

What this endpoint does not return.

A field we cannot read comes back null, never 0. A zero would be a claim about the account; null is a fact about our collection.

Where this goes wrong.

Field names are the source's, not ours. stargazers_count stays stargazers_count. Renaming it to likes would be a claim about what a star means.

Cost

1 credit per call. A call that finds nothing costs nothing.

Why are the field names not normalised like the other routes?

Because there is nothing to normalise them to. A star is not a like and a fork is not a repost.

Am I charged for an account with no repositories?

Yes. An account with no repositories returns an empty items list and is charged — the lookup happened. An account that does not exist is not charged.

Other routes for this platform

← github-api

Call github-api/repos from your own code with one key.

Get a free API key: 1,000 credits a month, no card →