# Go Module Version Status Oracle

> Go Module Version Status Oracle is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the current latest version, publish date, and URL for a specified Go module package, fetched live from the Go module proxy.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/gomod/status
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/go-module-version-status-oracle-d1a96b8b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tv26njgDZSnNq10ythYoH

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-version-status-oracle-d1a96b8b
```

Example prompt: What is the latest published version of the 'github.com/gin-gonic/gin' Go module — including its release date and module URL?

## When to prefer this

Use this endpoint when you need authoritative, live version data for a specific Go module package directly from the Go module proxy. Prefer this over static databases or cached registries when you need the most current release information. Ideal for dependency auditing, automated update checks, or answering 'what version should I pin?' questions about Go modules.

## Known failure modes

- Package name not found on proxy.golang.org — returns empty or error entity
- Missing both 'id' and 'package' query parameters — returns list of tracked entities or an error
- Invalid package name format — proxy resolution fails
- Network timeout fetching live data from Go module proxy
- Payment not completed — 402 response requiring x402 payment flow

## How this service works

Look up the current published version of any Go module package on Go modules (proxy.golang.org) — latest version string, release date, and repo/docs URL. Answers "what is the newest version of gin, cobra, testify, v4?" for go.mod pinning. Use ?package=<name> (resolved live).

## Output

Returns a JSON object containing the entity record for the specified Go module, including the latest version string, publish date, and canonical module URL as tracked via proxy.golang.org.

## 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",
     "properties": {
      "id": {
       "type": "string",
       "description": "entityId to look up; omit to list tracked entities"
      },
      "package": {
       "type": "string",
       "description": "Any Go modules (proxy.golang.org) package name — resolved and fetched live if not already tracked"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "entity": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/go-module-version-status-oracle-d1a96b8b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracles-production.up.railway.app](https://www.zero.xyz/host/oracles-production.up.railway.app/llms.txt)
