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

[APIs](https://perceptlayer.com/apis) / [GitHub](https://perceptlayer.com/apis/github) / User Contributions

# GitHub: User Contributions

User Contributions from GitHub as JSON. 1 credit per successful call.

GET `/v1/github/user-contributions`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `username` | string | Required | Up to 39 characters |
| `to` | string | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/github/user-contributions?username=torvalds&to=2025-12-31" \
  -H "X-API-Key: $API_KEY"
```

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