API
tryapis.com
Find anything
⌘ K
GitHub API Endpoints
actions
activity
apps
billing
checks
code-scanning
codes-of-conduct
emojis
enterprise-admin
gists
git
gitignore
interactions
issues
licenses
markdown
meta
migrations
oauth-authorizations
orgs
packages
projects
pulls
rate-limit
reactions
repos
scim
search
secret-scanning
teams
users
Get the authenticated user

GET

Update the authenticated user

PATCH

List users blocked by the authenticated user

GET

Check if a user is blocked by the authenticated user

GET

Block a user

PUT

Unblock a user

DELETE

Set primary email visibility for the authenticated user

PATCH

List email addresses for the authenticated user

GET

Add an email address for the authenticated user

POST

Delete an email address for the authenticated user

DELETE

List followers of the authenticated user

GET

List the people the authenticated user follows

GET

Check if a person is followed by the authenticated user

GET

Follow a user

PUT

Unfollow a user

DELETE

List GPG keys for the authenticated user

GET

Create a GPG key for the authenticated user

POST

Get a GPG key for the authenticated user

GET

Delete a GPG key for the authenticated user

DELETE

List public SSH keys for the authenticated user

GET

Create a public SSH key for the authenticated user

POST

Get a public SSH key for the authenticated user

GET

Delete a public SSH key for the authenticated user

DELETE

List public email addresses for the authenticated user

GET

List users

GET

Get a user

GET

List followers of a user

GET

List the people a user follows

GET

Check if a user follows another user

GET

List GPG keys for a user

GET

Get contextual information for a user

GET

List public keys for a user

GET

GET

https://api.github.com/users/username

Provides publicly available information about someone with a GitHub account.

GitHub Apps with the Plan user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See "Identifying and authorizing users for GitHub Apps" for details about authentication. For an example response, see 'Response with GitHub plan information' below"

The email key in the following response is the publicly visible email address from your GitHub profile page. When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub. For more information, see Authentication.

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see "Emails API".

Scopes requested: user, public_repo, repo, notifications, gist
Authorization
tryapis.com never stores your requests or responses