# Go Module Health Check

> Go Module Health Check is a paid API for AI agents from package-registries.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Returns health metadata for a Go module via the official Go proxy: latest tagged version, release age, repository origin, and pseudo-version warning.

## Facts

- Endpoint: GET https://package-registries.x402tookit.com/go-module-health?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/go-module-health-check-100bc841
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5dj-sFqV0I4P8IR8jf3Nl

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 go-module-health-check-100bc841
```

Example prompt: Can you check the health of the Go module github.com/gin-gonic/gin — I want to know the latest tagged version, how old the last release is, and whether it uses a pseudo-version?

## When to prefer this

Use this endpoint when you need authoritative Go module health data sourced directly from the official Go module proxy (proxy.golang.org). Prefer it over generic package search tools when you need Go-specific signals like pseudo-version warnings, VCS origin, and official proxy-backed versioning. Choose it over manual repository inspection when you need structured, machine-readable health output suitable for automated dependency auditing pipelines.

## Known failure modes

- Module not found on Go proxy returns null fields or error verdict
- Network timeout reaching proxy.golang.org results in degraded flag being set
- Invalid or malformed module path causes request failure
- Module with no tagged releases returns pseudoVersion: true as a warning
- Rate limiting from the upstream Go proxy may cause transient failures

## How this service works

Health of a Go module via the official proxy: latest tagged version, release age, repository origin and pseudo-version warning.

## Output

Returns a JSON object with fields including: module path, latest tagged version, days since the latest release, latest published timestamp, repository and source URLs, VCS type, commit ref, a boolean indicating pseudo-version usage, a degraded flag, a verdict string, a human-readable summary, an array of reasons, any unchecked checks, and a disclaimer. Allows an agent to assess whether a Go module is well-maintained and safely usable as a dependency.

## 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": [
      "module"
     ],
     "properties": {
      "module": {
       "type": "string",
       "description": "Module path, e.g. github.com/gin-gonic/gin"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ref": {
       "type": [
        "null",
        "string"
       ]
      },
      "vcs": {
       "type": [
        "null",
        "string"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "commit": {
       "type": [
        "null",
        "string"
       ]
      },
      "module": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "sourceUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "latestVersion": {
       "type": [
        "null",
        "string"
       ]
      },
      "pseudoVersion": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "repositoryUrl": {
       "type": [
        "null",
        "string"
       ]
      },
      "daysSinceLatest": {
       "type": [
        "null",
        "number"
       ]
      },
      "latestPublished": {
       "type": [
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/go-module-health-check-100bc841/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from package-registries.x402tookit.com](https://www.zero.xyz/host/package-registries.x402tookit.com/llms.txt)
