# GitHub Profile Activity Feed

> GitHub Profile Activity Feed is a paid API for AI agents from api.socialfetch.dev, paid per call via x402, $0.014/call, status unknown (last checked 2026-09-14).

Lists recent public activity events for a GitHub user profile, paginating one month at a time through a selected year.

## Facts

- Endpoint: GET https://api.socialfetch.dev/v1/github/profiles/:handle/activity
- Price: $0.014/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-profile-activity-feed-d73718c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jYANqg1wEx-rH8ILuJ472

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability github-profile-activity-feed-d73718c3
```

Example prompt: Can you pull up the public GitHub activity for the user 'torvalds' for 2024 — I want to see what they've been up to month by month.

## When to prefer this

Use this endpoint when you need to retrieve a GitHub user's public activity history in a structured, paginated format — especially useful for profiling developer contributions, monitoring open source engagement, or building developer analytics dashboards. Prefer this over scraping GitHub directly or using the raw GitHub Events API when you want a simple per-month paginated interface with minimal setup.

## Known failure modes

- Unknown or non-existent GitHub handle returns empty results or 404-style error
- Invalid or missing handle parameter returns a validation error
- Year parameter out of range may return empty results
- Expired or invalid pagination cursor returns an error or resets pagination
- Rate limiting or payment failure returns a 402 or 429 error

## How this service works

List recent public activity for a GitHub profile, one month per request.

## Output

A paginated list of public activity events for the specified GitHub user for the given month/year, including event types such as pushes, pull requests, issues, and forks, along with a nextCursor for retrieving the previous month's data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "handle"
     ],
     "properties": {
      "handle": {
       "type": "string",
       "maxLength": 39,
       "minLength": 1,
       "description": "GitHub username whose public activity timeline should be listed."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "year": {
       "type": "integer",
       "maximum": 2100,
       "minimum": 2008,
       "description": "Calendar year to read activity for. Default: current calendar year."
      },
      "cursor": {
       "type": "string",
       "minLength": 1,
       "description": "Pagination cursor from a previous response (`data.page.nextCursor`). Pages backward one month at a time through the selected year."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-profile-activity-feed-d73718c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.socialfetch.dev](https://www.zero.xyz/host/api.socialfetch.dev/llms.txt)
