> ## Documentation Index
> Fetch the complete documentation index at: https://docs.posttu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Contributions

> Retrieves the public GitHub contribution graph for a user and year, including total contributions and daily contribution counts/intensity. Pass github handle, or a full GitHub profile url. Defaults to the current year when year is not provided.

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `handle` | `string` | No | GitHub handle |
| `url` | `string` | No | GitHub profile URL |
| `year` | `number` | No | Contribution graph year. Defaults to the current year. |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "contributions": {
    "username": "torvalds",
    "year": 2026,
    "total_contributions": 1214,
    "days": [
      {
        "date": "2026-01-01",
        "contribution_count": 4,
        "color": null,
        "intensity": 1
      }
    ]
  }
}
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.