# RubyGems Package Status Lookup

> RubyGems Package Status Lookup 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-14).

Returns the current latest version, publish date, and download URL for a given Ruby gem package, resolved live from RubyGems.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/rubygems/status
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rubygems-package-status-lookup-a7c4b83f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YvJfy1_kGX4CFq2qXS12O

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 rubygems-package-status-lookup-a7c4b83f
```

Example prompt: What's the latest published version of the 'sidekiq' gem on RubyGems, and when was it released?

## When to prefer this

Use this endpoint when you need the current latest version, publish date, or URL of any Ruby gem in real time. Prefer over cached sources when you need up-to-date release info, especially for CI pipelines, dependency audits, or version bump automation. Best for single-gem lookups by name.

## Known failure modes

- Package name not found on RubyGems — returns empty or error response
- Missing required query parameter (neither ?id nor ?package supplied) — returns an error
- RubyGems API upstream unavailable — may return timeout or 502
- Malformed package name (e.g. special characters) — may result in no match

## How this service works

Look up the current published version of any Ruby gem package on RubyGems (Ruby) — latest version string, release date, and repo/docs URL. Answers "what is the newest version of rails, rack, puma, sidekiq?" for Gemfile pinning. Use ?package=<name> (resolved live).

## Output

Returns a JSON object containing the gem's latest version string, its publish/release date, and its canonical RubyGems URL. Data is resolved live from RubyGems at call time.

## 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 RubyGems (Ruby) 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/rubygems-package-status-lookup-a7c4b83f/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)
