---
title: "GitHub API: User Following | Perceptlayer"
description: "User Following from GitHub as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/github/user-following
---

[APIs](https://perceptlayer.com/apis) / [GitHub](https://perceptlayer.com/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

cURL shell 

```
curl "https://api.perceptlayer.com/v1/github/user-following?username=octocat" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/github?try=user-following#playground) with your own parameters. 1 credit per successful call; failed calls are free.
