GitHub User

Fetch public profile information for a GitHub user.

9 endpoints247 calls9/9 passing
Get API key

Get a GitHub user's public profile.

GET/v1/…github-user/profile/:username
passing · 0.4s5m cache

Try it

Checking your keys…

Parameters

username

string · path · required

GitHub username (without @).

Example response

{"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"      }    ]  },"timestamp":"2026-05-27T13:36:09Z"}

Errors

  • 401Missing or invalid x-api-key
  • 404Not found or private
  • 429Rate limit or monthly quota reached

Code

const data = await client.run(  "social-media:github-user",  "profile",  { username: "torvalds" });