# Homebrew Package Version Status Oracle

> Homebrew Package 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 download URL for any Homebrew (macOS/Linux) formula package, resolved live by package name.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/homebrew/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/homebrew-package-version-status-oracle-07e21e3a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__u7kQjcK5BF7MeNfO2NBK

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 homebrew-package-version-status-oracle-07e21e3a
```

Example prompt: What is the latest version of ffmpeg available on Homebrew right now, and when was it published?

## When to prefer this

Use this endpoint when you need to programmatically check the current latest version, release date, or formula URL for any Homebrew package — especially useful for CI/CD pipelines, dependency auditing, or answering questions about whether a software tool has been updated. Prefer this over scraping brew.sh directly since it resolves live and returns structured data via a paid API with consistent schema.

## Known failure modes

- Unknown package name — package not found in Homebrew registry returns empty or error entity
- Missing required query parameter (neither id nor package provided) — may return a list of tracked entities or an error
- Network or upstream Homebrew registry unavailability causes timeout or failed live resolution
- Invalid entityId format (not pkg:<name>) may return not-found response
- Payment failure or missing x402 payment header returns 402 error

## How this service works

Look up the current published version of any Homebrew formula package on Homebrew (macOS/Linux) — latest version string, release date, and repo/docs URL. Answers "what is the newest version of git, node, python@3.13, go?" for Brewfile / brew upgrade pinning. Use ?package=<name> (resolved live).

## Output

Returns a JSON object containing the Homebrew formula entity with fields including the latest version string, publish/release date, and the canonical formula URL for the requested package.

## 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 Homebrew (macOS/Linux) 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/homebrew-package-version-status-oracle-07e21e3a/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)
