# SignalDesk AI RubyGems Package Lookup

> SignalDesk AI RubyGems Package Lookup is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-13).

Fetches metadata for a RubyGems package by name, including version, license, download counts, and runtime/development dependencies

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/dev/rubygem?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-rubygems-package-lookup-b522f6a8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wWhmXymCH40U-StjDJUfF

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 signaldesk-ai-rubygems-package-lookup-b522f6a8
```

Example prompt: What's the current version of the 'devise' gem, and what are its runtime dependencies?

## When to prefer this

Use this endpoint when you need structured, up-to-date RubyGems package metadata — version, license, download stats, and dependency lists — for a specific gem by name. Prefer it over scraping rubygems.org directly or calling their API yourself when you want a normalized, cached, paid-access response with provenance timestamps. Ideal for dependency auditing, license compliance checks, and package popularity research in Ruby ecosystems.

## Known failure modes

- Package name not found on RubyGems — returns an error or empty result
- Package name too long or empty — schema validation rejects the request
- RubyGems upstream unavailable — stale or cached data may be returned
- Misspelled gem name returns no results rather than suggestions
- Payment not fulfilled — x402 payment required before data is returned

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object containing the gem's name, current version, license(s), total download count, runtime and development dependencies (each with name and version requirements), the source code URI, and provenance metadata including when the data was fetched and when it expires.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "package"
     ],
     "properties": {
      "package": {
       "type": "string",
       "maxLength": 200,
       "minLength": 1,
       "description": "Package name."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "gem": "rails",
  "source": {
   "provider": "RubyGems public metadata",
   "expires_at": "2026-10-02T10:44:48.861Z",
   "fetched_at": "2026-10-02T09:44:48.861Z",
   "source_url": "https://rubygems.org/api/v1/gems/rails.json",
   "transformed": true
  },
  "version": "8.1.4",
  "licenses": [
   "MIT"
  ],
  "downloads": 795456656,
  "dependencies": {
   "runtime": [
    {
     "name": "actioncable",
     "requirements": "= 8.1.4"
    },
    {
     "name": "actionmailbox",
     "requirements": "= 8.1.4"
    },
    {
     "name": "actionmailer",
     "requirements": "= 8.1.4"
    },
    {
     "name": "actionpack",
     "requirements": "= 8.1.4"
    },
    {
     "name": "actiontext",
     "requirements": "= 8.1.4"
    },
    {
     "name": "actionview",
     "requirements": "= 8.1.4"
    },
    {
     "name": "activejob",
     "requirements": "= 8.1.4"
    },
    {
     "name": "activemodel",
     "requirements": "= 8.1.4"
    },
    {
     "name": "activerecord",
     "requirements": "= 8.1.4"
    },
    {
     "name": "activestorage",
     "requirements": "= 8.1.4"
    },
    {
     "name": "activesupport",
     "requirements": "= 8.1.4"
    },
    {
     "name": "bundler",
     "requirements": ">= 1.15.0"
    },
    {
     "name": "railties",
     "requirements": "= 8.1.4"
    }
   ],
   "development": []
  },
  "source_code_uri": "https://github.com/rails/rails/tree/v8.1.4"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-rubygems-package-lookup-b522f6a8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
