> ## 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.

# Activity

> Retrieves GitHub profile contribution activity for a user from the public profile activity timeline. Defaults to the current year when year is not provided. Results come back one month at a time in the activity array. Pass cursor from the previous response to page backward through the year.

### Query Parameters

| Parameter | Type | Required | Description |
| :- | :- | :- | :- |
| `handle` | `string` | No | GitHub handle |
| `url` | `string` | No | GitHub user URL, e.g. [https://github.com/kentcdodds](https://github.com/kentcdodds). |
| `year` | `number` | No | When provided, returns profile contribution activity for that year. Defaults to the current year. |
| `cursor` | `number` | No | Cursor from the previous response. Pages backward by month through the selected year. |

### Response Example

```json theme={null}
{
  "success": true,
  "data": {
  "success": true,
  "username": "kentcdodds",
  "year": 2026,
  "month": "May 2026",
  "activity": [
    {
      "summary": "Created 186 commits in 13 repositories",
      "details": [
        {
          "text": "kentcdodds/kody 144 commits",
          "repository": {
            "text": "kentcdodds/kody",
            "url": "https://github.com/kentcdodds/kody"
          },
          "links": [
            {
              "text": "kentcdodds/kody",
              "url": "https://github.com/kentcdodds/kody"
            }
          ],
          "language": null,
          "date_text": null,
          "date_description": null
        }
      ]
    }
  ],
  "no_activity": false,
  "message": null,
  "cursor": 2
}
}
```


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