Home · APIs · Developer data · GitHub user

GitHub user API

One request, one key: POST /v1/developer/github/user. The sample below is a real response captured 20 November 2026, shortened for display (long text cut, lists cut to three items); it is not invented.

Price

1 credit a call. One call is about $0.0098 and 1,000 calls are about $9.80 at the smallest paid plan's rate.Formula A call that comes back empty is not charged.

Try it free

Runs one real call with the sample input below. No key and no sign-up; a few runs a day per visitor.

{
  "user_id": "torvalds"
}

What it returns

FieldTypeValue in the sample
platformstringgithub_user
loginstringtorvalds
namestringLinus Torvalds
companystringLinux Foundation
locationstringPortland, OR
public_reposnumber12
public_gistsnumber1
followersnumber332594
followingnumber0
account_age_daysnumber5556
avatar_urlstringhttps://avatars.githubusercontent.com/u/1024025?v=4
profile_urlstringhttps://github.com/torvalds
site_adminbooleanfalse
typestringUser
credits_usednumber1
latency_msnumber350

Sample response (20 November 2026)

{
  "platform": "github_user",
  "login": "torvalds",
  "name": "Linus Torvalds",
  "bio": null,
  "company": "Linux Foundation",
  "location": "Portland, OR",
  "blog": "",
  "twitter_username": null,
  "email": null,
  "public_repos": 12,
  "public_gists": 1,
  "followers": 332594,
  "following": 0,
  "account_age_days": 5556,
  "avatar_url": "https://avatars.githubusercontent.com/u/1024025?v=4",
  "profile_url": "https://github.com/torvalds",
  "hireable": null,
  "site_admin": false,
  "type": "User",
  "errors": [],
  "credits_used": 1,
  "latency_ms": 350
}

Measured on that call: 868 ms.

Code

curl -X POST https://api.foxapis.com/v1/developer/github/user \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id":"torvalds"}'
import requests

r = requests.post(
    "https://api.foxapis.com/v1/developer/github/user",
    headers={"Authorization": "Bearer YOUR_KEY"},
    json={"user_id":"torvalds"},
)
print(r.json())
const r = await fetch("https://api.foxapis.com/v1/developer/github/user", {
  method: "POST",
  headers: { "Authorization": "Bearer YOUR_KEY", "Content-Type": "application/json" },
  body: JSON.stringify({"user_id":"torvalds"}),
});
console.log(await r.json());

n8n (HTTP Request node: paste it into a workflow)

{
  "nodes": [
    {
      "name": "GitHub user",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        0,
        0
      ],
      "parameters": {
        "method": "POST",
        "url": "https://api.foxapis.com/v1/developer/github/user",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_KEY"
            }
          ]
        },
        "sendBody": true,
        "specifyBody": "json",
        "jsonBody": "{\"user_id\":\"torvalds\"}"
      }
    }
  ],
  "connections": {}
}

Assistants (Claude, ChatGPT, Cursor)

Connect the FoxAPIs server once; the tools it offers are listed on the MCP page.

claude mcp add --transport http foxapis https://foxapis.com/mcp \
  --header "Authorization: Bearer YOUR_KEY"

Errors and limits

Free to start: 100 credits, no card. Then from $10. Credits you buy never expire.

Get my free key

More from GitHub: repo · search

Same category: Developer data · all APIs

How we calculate

Data: scripts/data/endpoint-credits.json and plans.json, 2026-11-20. Every other figure on this page is copied from the record, not calculated by us.