v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
users

List social accounts for a user

Lists social media accounts for a user. This endpoint is accessible by anyone.

get/users/{username}/social_accounts

Path parameters

usernamestring required

The handle for the GitHub user account.

Query parameters

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

Response

Response

providerstring required
urlstring required

Example response

[
  {
    "provider": "linkedin",
    "url": "https://www.linkedin.com/company/github/"
  }
]