Sources › Social media › GitHub User › User Profile

GitHub User User Profile API

Get a GitHub user's public profile.

GitHub UserGET /profileAll plans2 Zap

Request

GET
https://api.zapi.ink/v1/social-media:github-user/profile/:username

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.

Parameters

NameTypeInRequiredDescription
usernamestringpathYesGitHub username (without @) Example: torvalds

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/social-media:github-user/profile/torvalds" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/social-media:github-user/profile/torvalds", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/social-media:github-user/profile/torvalds",
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "social-media:github-user",
  "data": {
    "ok": true,
    "user": {
      "id": 1024025,
      "bio": "",
      "blog": "",
      "name": "Linus Torvalds",
      "type": "User",
      "email": "",
      "login": "torvalds",
      "avatar": "https://avatars.githubusercontent.com/u/1024025?v=4",
      "company": "Linux Foundation",
      "htmlUrl": "https://github.com/torvalds",
      "twitter": "",
      "hireable": false,
      "location": "Portland, OR",
      "createdAt": "2011-09-03T15:26:22Z",
      "followers": 304705,
      "following": 0,
      "updatedAt": "2026-05-25T22:34:10Z",
      "publicGists": 1,
      "publicRepos": 11
    },
    "repos": [
      {
        "id": 2325298,
        "fork": false,
        "name": "linux",
        "forks": 62572,
        "stars": 234576,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/linux",
        "archived": false,
        "fullName": "torvalds/linux",
        "language": "C",
        "pushedAt": "2026-05-26T23:41:14Z",
        "watchers": 234576,
        "updatedAt": "2026-05-27T13:19:45Z",
        "openIssues": 3,
        "description": "Linux kernel source tree"
      },
      {
        "id": 79171906,
        "fork": true,
        "name": "libdc-for-dirk",
        "forks": 52,
        "stars": 387,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/libdc-for-dirk",
        "archived": false,
        "fullName": "torvalds/libdc-for-dirk",
        "language": "C",
        "pushedAt": "2024-12-26T20:12:43Z",
        "watchers": 387,
        "updatedAt": "2026-05-27T10:26:00Z",
        "openIssues": 1,
        "description": "Only use for syncing with Dirk, don't use for anything else"
      },
      {
        "id": 1058343058,
        "fork": false,
        "name": "GuitarPedal",
        "forks": 69,
        "stars": 1941,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/GuitarPedal",
        "archived": false,
        "fullName": "torvalds/GuitarPedal",
        "language": "C",
        "pushedAt": "2026-05-24T23:39:40Z",
        "watchers": 1941,
        "updatedAt": "2026-05-27T06:46:10Z",
        "openIssues": 3,
        "description": "Linus learns analog circuits"
      },
      {
        "id": 1130786764,
        "fork": false,
        "name": "AudioNoise",
        "forks": 206,
        "stars": 4374,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/AudioNoise",
        "archived": false,
        "fullName": "torvalds/AudioNoise",
        "language": "C",
        "pushedAt": "2026-05-08T17:20:22Z",
        "watchers": 4374,
        "updatedAt": "2026-05-27T06:00:09Z",
        "openIssues": 30,
        "description": "Random digital audio effects"
      },
      {
        "id": 117900805,
        "fork": false,
        "name": "uemacs",
        "forks": 308,
        "stars": 2031,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/uemacs",
        "archived": false,
        "fullName": "torvalds/uemacs",
        "language": "C",
        "pushedAt": "2026-02-25T19:15:47Z",
        "watchers": 2031,
        "updatedAt": "2026-05-26T08:41:38Z",
        "openIssues": 13,
        "description": "Random version of microemacs with my private modificatons"
      },
      {
        "id": 519408694,
        "fork": true,
        "name": "libgit2",
        "forks": 28,
        "stars": 358,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/libgit2",
        "archived": false,
        "fullName": "torvalds/libgit2",
        "language": "C",
        "pushedAt": "2023-12-19T11:45:42Z",
        "watchers": 358,
        "updatedAt": "2026-05-26T06:59:22Z",
        "openIssues": 1,
        "description": "A cross-platform, linkable library implementation of Git that you can use in your application."
      },
      {
        "id": 86106493,
        "fork": false,
        "name": "test-tlb",
        "forks": 219,
        "stars": 1002,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/test-tlb",
        "archived": false,
        "fullName": "torvalds/test-tlb",
        "language": "C",
        "pushedAt": "2024-08-19T21:13:36Z",
        "watchers": 1002,
        "updatedAt": "2026-05-26T06:32:36Z",
        "openIssues": 13,
        "description": "Stupid memory latency and TLB tester"
      },
      {
        "id": 940929652,
        "fork": false,
        "name": "1590A",
        "forks": 22,
        "stars": 566,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/1590A",
        "archived": true,
        "fullName": "torvalds/1590A",
        "language": "OpenSCAD",
        "pushedAt": "2025-09-19T02:54:14Z",
        "watchers": 566,
        "updatedAt": "2026-05-24T17:40:00Z",
        "openIssues": 0,
        "description": "Random odd guitar pedal design in kicad"
      },
      {
        "id": 78665021,
        "fork": true,
        "name": "subsurface-for-dirk",
        "forks": 68,
        "stars": 457,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/subsurface-for-dirk",
        "archived": false,
        "fullName": "torvalds/subsurface-for-dirk",
        "language": "C++",
        "pushedAt": "2024-08-28T08:00:07Z",
        "watchers": 457,
        "updatedAt": "2026-05-24T08:35:27Z",
        "openIssues": 2,
        "description": "Do not use - the real upstream is  Subsurface-divelog/subsurface"
      },
      {
        "id": 113099837,
        "fork": false,
        "name": "pesconvert",
        "forks": 75,
        "stars": 560,
        "topics": [],
        "htmlUrl": "https://github.com/torvalds/pesconvert",
        "archived": false,
        "fullName": "torvalds/pesconvert",
        "language": "C",
        "pushedAt": "2022-12-22T10:46:37Z",
        "watchers": 560,
        "updatedAt": "2026-05-22T10:46:53Z",
        "openIssues": 6,
        "description": "Brother PES file converter"
      }
    ]
  },
  "timestamp": "2026-05-27T13:36:09Z"
}

Frequently asked questions

How do I call the GitHub User User Profile API?

Send a GET request to https://api.zapi.ink/v1/social-media:github-user/profile/torvalds with your Zapi key in the x-api-key header. Parameters — required: username. The response is JSON in the { project, data, timestamp } envelope.

What does the GitHub User User Profile API return?

Get a GitHub user's public profile. The example response has the fields ok, user, repos. Each item in repos has fields such as id, fork, name, forks, stars, topics, htmlUrl, archived.

Is the GitHub User User Profile API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 2 Zap. Paid plans raise the limits.

Can an AI assistant call the GitHub User User Profile API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "github-user" and endpoint "profile".

What other GitHub User API endpoints are there?

It has 7 endpoints. Besides User Profile: Get Trending Repos, Get Trending Developers, Get Repository, Get Organization, Search Repositories, Search Users.