GitHub User API
Fetch a GitHub user's public profile by handle (name, bio, company, location, followers, and repo counts).
Provider network
Providers ranked by traffic
Try it
Make your first request
{
"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
}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 30dcurl -X POST https://api.getanyapi.com/v1/run/github.user \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"torvalds"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| handle | string | "torvalds"GitHub username. |
| Response | ||
| data | object | The user profile record, or null when not found. |
| data.avatarUrl | string | URL of the profile avatar image. Populated whenever the provider has data for the entity. |
| data.bio | string | Profile bio text. |
| data.blog | string | Blog or website URL from the profile. |
| data.company | string | Company listed on the profile. |
| data.createdUtc | number | UTC 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.followers | integer | Number of followers. |
| data.following | integer | Number of accounts the user follows. |
| data.location | string | Location listed on the profile. |
| data.login | string | GitHub username (handle). Populated whenever the provider has data for the entity. |
| data.name | string | Display name, or empty string if unset. Populated whenever the provider has data for the entity. |
| data.publicGists | integer | Count of public gists. |
| data.publicRepos | integer | Count of public repositories. |
| data.twitterUsername | string | Linked X/Twitter username. |
| data.type | string | "User" or "Organization". |
| found | boolean | Whether a user was found for the requested handle. |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $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.