APIs / GitHub / User Following
GitHub: User Following
User Following from GitHub as JSON. 1 credit per successful call.
GET /v1/github/user-following
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
username | string | Required | Up to 39 characters |
page | integer | Optional | Any |
per_page | integer | Optional | Any |
Example request
GitHub
GET/v1/github/user-following?username=octocat
{
"search_parameters": {
"engine": "github_user_following",
"username": "octocat"
},
"following": [
{
"login": "tekkub",
"id": 706,
"node_id": "MDQ6VXNlcjcwNg==",
"avatar_url": "https://avatars.githubusercontent.com/u/706?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tekkub",
"html_url": "https://github.com/tekkub",
"followers_url": "https://api.github.com/users/tekkub/followers",
"following_url": "https://api.github.com/users/tekkub/following{/other_user}",
"gists_url": "https://api.github.com/users/tekkub/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tekkub/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tekkub/subscriptions",
"organizations_url": "https://api.github.com/users/tekkub/orgs",
"repos_url": "https://api.github.com/users/tekkub/repos",
"events_url": "https://api.github.com/users/tekkub/events{/privacy}",
"received_events_url": "https://api.github.com/users/tekkub/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
{
"login": "wonderchook",
"id": 67992,
"node_id": "MDQ6VXNlcjY3OTky",
"avatar_url": "https://avatars.githubusercontent.com/u/67992?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/wonderchook",
"html_url": "https://github.com/wonderchook",
"followers_url": "https://api.github.com/users/wonderchook/followers",
"following_url": "https://api.github.com/users/wonderchook/following{/other_user}",
"gists_url": "https://api.github.com/users/wonderchook/gists{/gist_id}",
"starred_url": "https://api.github.com/users/wonderchook/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/wonderchook/subscriptions",
"organizations_url": "https://api.github.com/users/wonderchook/orgs",
"repos_url": "https://api.github.com/users/wonderchook/repos",
"events_url": "https://api.github.com/users/wonderchook/events{/privacy}",
"received_events_url": "https://api.github.com/users/wonderchook/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
{
"login": "cheshire137",
"id": 82317,
"node_id": "MDQ6VXNlcjgyMzE3",
"avatar_url": "https://avatars.githubusercontent.com/u/82317?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/cheshire137",
"html_url": "https://github.com/cheshire137",
"followers_url": "https://api.github.com/users/cheshire137/followers",
"following_url": "https://api.github.com/users/cheshire137/following{/other_user}",
"gists_url": "https://api.github.com/users/cheshire137/gists{/gist_id}",
"starred_url": "https://api.github.com/users/cheshire137/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/cheshire137/subscriptions",
"organizations_url": "https://api.github.com/users/cheshire137/orgs",
"repos_url": "https://api.github.com/users/cheshire137/repos",
"events_url": "https://api.github.com/users/cheshire137/events{/privacy}",
"received_events_url": "https://api.github.com/users/cheshire137/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": true
}
],
"result_count": 9,
"rate_limit": {
"limit": 60,
"remaining": 59,
"used": 1,
"reset": 1794492557
}
}200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
The response has these 4 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
search_parameters | object |
following | object[] |
result_count | integer |
rate_limit | object |