GitHub API

GitHub User API

Fetch a GitHub user's public profile by handle (name, bio, company, location, followers, and repo counts).

POST/v1/run/github.user
Uptime
100.00%
30d · 2 calls
Requests
2
30d · weekly, last 12 wks
Response
1.4s
median · 30d

Provider network

Providers ranked by traffic

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": {
    "avatarUrl": "https://example.com/image.jpg",
    "bio": "A short example description of this item.",
    "blog": "example",
    "company": "Acme Inc",
    "createdUtc": 12.5,
    "followers": 12500,
    "following": 12500,
    "location": "example",
    "login": "alex_rivera",
    "name": "Example title",
    "publicGists": 42,
    "publicRepos": 42,
    "twitterUsername": "alex_rivera",
    "type": "general"
  },
  "found": true
}
Response interface
interface GithubUserResponse {
  data: {
    avatarUrl: string;
    bio: string;
    blog?: string;
    company?: string;
    createdUtc?: number;
    followers: number;
    following: number;
    location?: string;
    login: string;
    name: string;
    publicGists?: number;
    publicRepos: number;
    twitterUsername?: string;
    type?: 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
curl -X POST https://api.getanyapi.com/v1/run/github.user \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"torvalds"}'
FieldTypeExample value
Request body
handlestring"torvalds"GitHub username.
Response
dataobjectThe user profile record, or null when not found.
data.avatarUrlstringURL of the profile avatar image. Populated whenever the provider has data for the entity.
data.biostringProfile bio text.
data.blogstringBlog or website URL from the profile.
data.companystringCompany listed on the profile.
data.createdUtcnumberUTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds. Populated whenever the provider has data for the entity.
data.followersintegerNumber of followers.
data.followingintegerNumber of accounts the user follows.
data.locationstringLocation listed on the profile.
data.loginstringGitHub username (handle). Populated whenever the provider has data for the entity.
data.namestringDisplay name, or empty string if unset. Populated whenever the provider has data for the entity.
data.publicGistsintegerCount of public gists.
data.publicReposintegerCount of public repositories.
data.twitterUsernamestringLinked X/Twitter username.
data.typestring"User" or "Organization".
foundbooleanWhether a user was found for the requested handle.
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

FAQ

About the GitHub User API

The AnyAPI GitHub User API returns GitHub user data as normalized JSON from one POST call to /v1/run/github.user. Fetch a GitHub user's public profile by handle (name, bio, company, location, followers, and repo counts). AnyAPI routes each request across 2 sources and falls back automatically when one fails. 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 calls through AnyAPI succeeded, with a median response time of 1.4 seconds across 2 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, each call draws it down, and a failed request costs $0.

Fetch a GitHub user's public profile by handle (name, bio, company, location, followers, and repo counts). 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 calls through AnyAPI succeeded, with a median response time of 1.4 seconds across 2 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.