GITHUB API
User
Retrieve user from GitHub with a single API request.
GET
/api/data/v1/github/user1credit base cost
Request parameters
Up to 1 creditGitHub username/handle of the user you want the details for
GitHub user URL, e.g. https://github.com/torvalds.
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/github/user?handle=torvalds' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 1,
"id": 1024025,
"node_id": "MDQ6VXNlcjEwMjQwMjU=",
"login": "torvalds",
"name": "Linus Torvalds",
"company": "Linux Foundation",
"blog": "",
"location": "Portland, OR",
"email": null,
"bio": null,
"twitter_username": null,
"avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
"url": "https://github.com/torvalds",
"type": "User",
"site_admin": false,
"public_repos": 11,
"public_gists": 1,
"followers": 303973,
"following": 0,
"created_at": "2011-09-03T15:26:22Z",
"updated_at": "2026-01-13T07:10:05Z"
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"credits_remaining": {
"type": "integer"
},
"credits_charged": {
"type": "integer"
},
"id": {
"type": "integer"
},
"node_id": {
"type": "string"
},
"login": {
"type": "string"
},
"name": {
"type": "string"
},
"company": {
"type": "string"
},
"blog": {
"type": "string"
},
"location": {
"type": "string"
},
"email": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"bio": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"twitter_username": {
"type": [
"string",
"object",
"array",
"number",
"boolean",
"null"
]
},
"avatar_url": {
"type": "string"
},
"url": {
"type": "string"
},
"type": {
"type": "string"
},
"site_admin": {
"type": "boolean"
},
"public_repos": {
"type": "integer"
},
"public_gists": {
"type": "integer"
},
"followers": {
"type": "integer"
},
"following": {
"type": "integer"
},
"created_at": {
"type": "string"
},
"updated_at": {
"type": "string"
}
}
}