GitHub API

GitHub User repositories API

List a GitHub user's public repositories (name, description, language, stars, and forks) with sorting and cursor pagination.

$1.20/1k req, pay per request, no subscription.

What the API returnedrepos[0]
{
"id": "812934501",
"name": "gridline-cli",
"fullName": "mira-devbuilds/gridline-cli",
"description": "A fast command line client for the Gridline task queue",
"url": "https://github.com/mira-devbuilds/gridline-cli",
"language": "Rust",
"stars": 1842,
"forks": 96,
... 16 more fields
}
Uptime
100.00%
30d · 2,906 calls
Requests
2,906
30d
Response
1.4s
median · 30d

Pricing

GitHub User repositories API pricing

You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get GitHub user repositories in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.

This sample shows 29 of 30 fields. See every field

{
  "found": true,
  "data": {
    "nextCursor": "eyJwYWdlIjoyfQ==",
    "hasMore": true,
    "repos": [
      {
        "id": "812934501",
        "name": "gridline-cli",
        "fullName": "mira-devbuilds/gridline-cli",
        "description": "A fast command line client for the Gridline task queue",
        "url": "https://github.com/mira-devbuilds/gridline-cli",
        "language": "Rust",
        "stars": 1842,
        "forks": 96,
        "fork": false,
        "archived": false,
        "updatedAt": "2026-09-27T18:44:02Z",
        "pushedAt": "2026-09-27T18:12:55Z",
        "avatarUrl": "https://avatars.githubusercontent.com/u/812934501",
        "owner": "mira-devbuilds",
        "profileUrl": "https://github.com/mira-devbuilds",
        "private": false,
        "homepage": "https://gridline.dev/cli",
        "watchers": 1842,
        "openIssues": 14,
        "size": 4820,
        "defaultBranch": "main",
        "topics": [
          "rust",
          "cli",
          "task-queue",
          "gridline"
        ],
        "license": "MIT License",
        "createdUtc": 1712021400
      },
      {
        "id": "798102233",
        "name": "edge-notes",
        "fullName": "mira-devbuilds/edge-notes",
        "description": "Offline first notes synced over CRDTs",
        "url": "https://github.com/mira-devbuilds/edge-notes",
        "language": "TypeScript",
        "stars": 623,
        "forks": 41,
        "fork": false,
        "archived": false,
        "updatedAt": "2026-09-20T09:31:47Z",
        "pushedAt": "2026-09-19T22:08:10Z",
        "avatarUrl": "https://avatars.githubusercontent.com/u/812934501",
        "owner": "mira-devbuilds",
        "profileUrl": "https://github.com/mira-devbuilds",
        "private": false,
        "homepage": "",
        "watchers": 623,
        "openIssues": 7,
        "size": 1560,
        "defaultBranch": "main",
        "topics": [
          "crdt",
          "notes",
          "offline-first"
        ],
        "license": "Apache License 2.0",
        "createdUtc": 1690308000
      },
      {
        "id": "776543120",
        "name": "opengrid-docs",
        "fullName": "mira-devbuilds/opengrid-docs",
        "description": "Documentation site for the OpenGrid project",
        "url": "https://github.com/mira-devbuilds/opengrid-docs",
        "language": "MDX",
        "stars": 58,
        "forks": 12,
        "fork": true,
        "archived": false,
        "updatedAt": "2026-08-30T15:02:19Z",
        "pushedAt": "2026-08-30T14:58:03Z",
        "avatarUrl": "https://avatars.githubusercontent.com/u/812934501",
        "owner": "mira-devbuilds",
        "profileUrl": "https://github.com/mira-devbuilds",
        "private": false,
        "homepage": "https://docs.opengrid.dev",
        "watchers": 58,
        "openIssues": 2,
        "size": 940,
        "defaultBranch": "main",
        "topics": [],
        "license": "",
        "createdUtc": 1665144600
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • handlestring

    mira-devbuilds

    GitHub username.

  • cursorstring

    Opaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.

  • directionenum

    desc

    Sort direction, ascending or descending, paired with sort.

  • sortenum

    updated

    Repository ordering.

  • typeenum

    owner

    Which repositories to include: owner (default), all, or member.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

datadata
  • hasMoreboolean

    true

  • nextCursorstring

    eyJwYWdlIjoyfQ==

    Opaque cursor for the next page of repositories, or null when this lane has no more. Pass it back as cursor to continue.

each repodata.repos[]

Populated whenever the provider has data for the entity.

  • archivedboolean

    false

  • avatarUrlstring

    https://avatars.githubusercontent.com/u/812934501

    URL of the repository owner's avatar image.

  • createdUtcnumber

    1712021400

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • defaultBranchstring

    main

    Name of the default branch.

  • descriptionstring

    A fast command line client for the Gridline task queue

  • forkboolean

    false

  • forksinteger

    96

  • fullNamestring

    mira-devbuilds/gridline-cli

    Populated whenever the provider has data for the entity.

  • homepagestring

    https://gridline.dev/cli

    Project homepage URL, or empty string if none.

  • idstring

    812934501

    GitHub's numeric repository id, as a string.

  • languagestring

    Rust

  • licensestring

    MIT License

    License name, or empty string if unlicensed.

  • namestring

    gridline-cli

    Populated whenever the provider has data for the entity.

  • openIssuesinteger

    14

    Count of open issues and pull requests.

  • ownerstring

    mira-devbuilds

    Login of the repository owner (user or organization).

  • privateboolean

    false

    Whether the repository is private.

  • profileUrlstring

    https://github.com/mira-devbuilds

    GitHub profile URL of the repository owner.

  • pushedAtstring

    2026-09-27T18:12:55Z

  • sizeinteger

    4820

    Repository size in kilobytes as reported by GitHub.

  • starsinteger

    1842

  • topicsstring[]

    Repository topic tags.

  • updatedAtstring

    2026-09-27T18:44:02Z

  • urlstring

    https://github.com/mira-devbuilds/gridline-cli

    Populated whenever the provider has data for the entity.

  • watchersinteger

    1842

    Number of watchers.

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the GitHub User repositories API

The AnyAPI GitHub User repositories API returns GitHub user repositories data as normalized JSON from one POST call to /v1/run/github.user_repositories. List a GitHub user's public repositories (name, description, language, stars, and forks) with sorting and cursor pagination. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of GitHub user repositories calls through AnyAPI succeeded, with a median response time of 1.4 seconds across 2,906 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

List a GitHub user's public repositories (name, description, language, stars, and forks) with sorting and cursor pagination. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of GitHub user repositories calls through AnyAPI succeeded, with a median response time of 1.4 seconds across 2,906 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 GitHub User repositories calls at $0.0012 each.

Send a POST request to https://api.getanyapi.com/v1/run/github.user_repositories with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.