# GitHub User — Zapi reference > Fetch public profile information for a GitHub user. **Base URL:** `https://api.zpi.web.id` **Auth:** Send `x-api-key: YOUR_KEY` header on every request. Get a free key at https://zpi.web.id/dashboard/keys. **Response envelope:** `{ status, message, content }` **Rate limit:** 60 req/min on free tier. **Related:** - Detail page: https://zpi.web.id/api/social-media/github-user - Endpoint catalog: https://zpi.web.id/category/social-media - Concise index: https://zpi.web.id/llms.txt - Full reference: https://zpi.web.id/llms-full.txt --- ## GitHub User **Category:** social-media · **Slug:** `github-user` **Detail page:** https://zpi.web.id/api/social-media/github-user Fetch public profile information for a GitHub user. **Tags:** github, developer ### User Profile Get a GitHub user's public profile. - **Method:** `GET` - **Endpoint:** `https://api.zpi.web.id/v1/social-media:github-user/profile/:username` - **Cache TTL:** 300s **Parameters:** | Name | Type | Location | Required | Description | |------|------|----------|----------|-------------| | `username` | string | path | yes | GitHub username (without @) | **cURL:** ```bash curl "https://api.zpi.web.id/v1/social-media:github-user/profile/:username" \ -H "x-api-key: YOUR_API_KEY" ``` **JavaScript / TypeScript:** ```javascript const res = await fetch("https://api.zpi.web.id/v1/social-media:github-user/profile/:username", { headers: { "x-api-key": process.env.ZAPI_KEY } }); const data = await res.json(); ``` **Python:** ```python import requests r = requests.get("https://api.zpi.web.id/v1/social-media:github-user/profile/:username", headers={"x-api-key": "YOUR_API_KEY"}) data = r.json() ``` **Example response:** ```json { "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" } ] } ``` --- _Generated: 2026-08-02T14:22:06.607Z_