GitHub API

GitHub User repositories API

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

POST/v1/run/github.user_repositories
Requests
-
30d

Pricing

One price, in dollars

Providers
Giraffe- served- uptime- p50$1.20/1k reqflat

Try it

Make your first 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.
{
  "data": {
    "hasMore": true,
    "nextCursor": "example",
    "repos": [
      {
        "archived": false,
        "avatarUrl": "https://example.com/image.jpg",
        "description": "A short example description of this item.",
        "fork": true,
        "forks": 42,
        "fullName": "Alex Rivera",
        "language": "en",
        "name": "Example title",
        "pushedAt": "example",
        "stars": 5,
        "updatedAt": "2024-01-15T09:30:00Z",
        "url": "https://example.com/page"
      }
    ]
  },
  "found": true
}
Response interface
interface GithubUserRepositoriesResponse {
  data: {
    hasMore: boolean;
    nextCursor: string | null;
    repos: {
      archived: boolean;
      avatarUrl?: string;
      description: string;
      fork: boolean;
      forks: number;
      fullName: string;
      language: string;
      name: string;
      pushedAt: string;
      stars: number;
      updatedAt: string;
      url: string;
    }[];
  } | null;
  found: boolean;
}

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

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/github.user_repositories
curl -X POST https://api.getanyapi.com/v1/run/github.user_repositories \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"torvalds"}'
FieldTypeExample value
Request body
handlestring"torvalds"GitHub username.
cursorstringOpaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it back to fetch the next page.
directionenumSort direction, ascending or descending, paired with sort.
sortenumRepository ordering.
typeenumWhich repositories to include: owner (default), all, or member.
Response
dataobject
data.hasMoreboolean
data.nextCursorstringOpaque cursor for the next page of repositories, or null when this lane has no more. Pass it back as cursor to continue.
data.reposobject[]Populated whenever the provider has data for the entity.
data.repos[].archivedboolean
data.repos[].avatarUrlstringURL of the repository owner's avatar image.
data.repos[].descriptionstring
data.repos[].forkboolean
data.repos[].forksinteger
data.repos[].fullNamestringPopulated whenever the provider has data for the entity.
data.repos[].languagestring
data.repos[].namestringPopulated whenever the provider has data for the entity.
data.repos[].pushedAtstring
data.repos[].starsinteger
data.repos[].updatedAtstring
data.repos[].urlstringPopulated whenever the provider has data for the entity.
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

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.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

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.