# SignalDesk AI – Crate Versions Lookup

> SignalDesk AI – Crate Versions 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 version history for a named Rust crate from crates.io, returning version numbers, licenses, Rust edition requirements, and yank status.

## Facts

- Endpoint: GET https://x402-agent.kariguetoazul.workers.dev/api/dev/crate-versions?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-crate-versions-lookup-2666ad7c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_zWwdkzrlYyspzWuxC6Ycg

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-crate-versions-lookup-2666ad7c
```

Example prompt: What are the last 5 versions of the serde crate — show me their version numbers, licenses, and whether any have been yanked?

## When to prefer this

Choose this endpoint when you need structured, cached version metadata for a Rust crate from crates.io — especially version numbers, license info, yank status, and minimum Rust edition — without scraping crates.io directly. Prefer it over raw crates.io API calls when operating inside an x402 payment-gated agent pipeline or when you want pre-transformed, normalized JSON output.

## Known failure modes

- Package name not found on crates.io — returns empty versions array or error
- Limit parameter out of range (must be 1–20) — validation error
- Crates.io upstream unavailable — timeout or upstream error propagated
- Missing required 'package' query parameter — schema validation error

## 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

A JSON object containing a list of crate versions (up to the requested limit), each with version string, license, created_at timestamp, minimum Rust version, and yanked flag. Also includes source metadata such as the crates.io URL, fetch time, and cache expiry.

## 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": {
      "limit": {
       "type": "integer",
       "maximum": 20,
       "minimum": 1,
       "description": "Results, default 5."
      },
      "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": {
  "source": {
   "provider": "crates.io metadata",
   "expires_at": "2026-10-02T10:44:49.147Z",
   "fetched_at": "2026-10-02T09:44:49.147Z",
   "source_url": "https://crates.io/api/v1/crates/serde/versions",
   "transformed": true
  },
  "versions": [
   {
    "yanked": false,
    "license": "MIT OR Apache-2.0",
    "version": "1.0.229",
    "created_at": "2026-07-18T23:05:13.266456Z",
    "rust_version": "1.56"
   },
   {
    "yanked": false,
    "license": "MIT OR Apache-2.0",
    "version": "1.0.228",
    "created_at": "2025-09-27T16:51:35.265429Z",
    "rust_version": "1.56"
   },
   {
    "yanked": false,
    "license": "MIT OR Apache-2.0",
    "version": "1.0.227",
    "created_at": "2025-09-25T23:43:08.742811Z",
    "rust_version": "1.56"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-crate-versions-lookup-2666ad7c/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)
