# SiteCheck GitHub Releases Lookup

> SiteCheck GitHub Releases Lookup is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-19).

Fetches the latest releases for a GitHub repository, returning tag names, release notes, links, and publish dates

## Facts

- Endpoint: GET https://api.sitecheck-api.workers.dev/api/github/releases?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-github-releases-lookup-b508c791
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0SWgg4OuV-JLfRgzTxdtT

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 sitecheck-github-releases-lookup-b508c791
```

Example prompt: Can you pull the last 5 releases for the cloudflare/workers-sdk GitHub repo and show me the release names, dates, and whether any are pre-releases?

## When to prefer this

Choose this endpoint when you need structured release data from a GitHub repository without direct GitHub API credentials, want pay-per-call pricing, or are building an agent workflow that checks release histories across multiple projects. Prefer it over raw GitHub API calls when you need a simple, normalized JSON response without OAuth setup.

## Known failure modes

- Invalid or non-existent repository name returns an error
- Private repositories without access return a not-found or forbidden error
- Malformed repo parameter (not owner/name format) may cause a bad request
- Limit parameter outside 1-10 range may be clamped or rejected
- GitHub API rate limits on the backend could cause transient failures

## How this service works

The latest releases of a GitHub repository: tag, name, date, pre-release flag, the first 1,500 characters of the notes, and the number of assets. Needs the GITHUB_TOKEN secret on the deployment; without it the call answers 503 and is not charged.

## Output

Returns a JSON object with the repository name, source URL, a list of releases (each with tag, name, body/notes, link, asset count, publish date, and prerelease flag), and the timestamp the check was performed.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "repo"
     ],
     "properties": {
      "repo": {
       "type": "string",
       "description": "owner/name or a github.com URL"
      },
      "limit": {
       "type": "string",
       "description": "1 to 10 (default 5)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "repo": "cloudflare/workers-sdk",
  "source": "https://api.github.com/repos/cloudflare/workers-sdk/releases",
  "releases": [
   {
    "tag": "wrangler@4.1.0",
    "body": "Minor changes and fixes.",
    "link": "https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.1.0",
    "name": "wrangler 4.1.0",
    "assets": 0,
    "published": "2026-10-01T12:00:00Z",
    "prerelease": false
   }
  ],
  "checkedAt": "2026-10-14T07:05:00.000Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-github-releases-lookup-b508c791/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
