# Rust Crates Change Feed

> Rust Crates Change Feed is a paid API for AI agents from oracles-production.up.railway.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Returns new releases and breaking changes for any Rust crate on crates.io since a given timestamp, each scored 1-10 for significance.

## Facts

- Endpoint: GET https://oracles-production.up.railway.app/v1/crates/changes
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rust-crates-change-feed-271f7df0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w1-LVPEPQJIkkuBpVYFsz

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 rust-crates-change-feed-271f7df0
```

Example prompt: Show me any new releases or breaking changes for the tokio crate since 2025-01-01T00:00:00Z, with a minimum significance score of 6.

## When to prefer this

Use this endpoint when you need programmatic, scored change detection for specific Rust crates — especially for dependency monitoring, automated changelog alerts, or CI/CD pipelines that need to react to breaking changes. Prefer it over manually scraping crates.io when you want significance scoring, filtering by severity, or on-demand tracking of any crate not previously registered.

## Known failure modes

- Unknown or misspelled crate name returns empty changes array or 404
- Invalid ISO-8601 timestamp in 'since' causes 400 validation error
- Package exists on crates.io but has no new releases since the given timestamp — returns empty array with count 0
- min_significance filter too high (e.g. 10) may return zero results even when changes exist
- Service unavailable or upstream crates.io API unreachable returns 5xx error
- Payment not processed (x402 protocol) results in 402 Payment Required before data is returned

## How this service works

New releases of tracked Rust crate packages (serde, tokio, clap, reqwest, and more) on crates.io (Rust) since a timestamp — each tagged new_release or breaking_change (major-version bump) with a 1-10 significance score. Answers "did a dependency in my Cargo.toml ship a new or breaking version I should pin or upgrade?" Pass ?package=<name> for ANY Rust crate package on demand.

## Output

A JSON object with a count, a source label, and an array of change events — each including the change type (new_release or breaking_change), entity ID, summary, significance score (1-10), detected timestamp, effective date, and a source URL linking to crates.io or the changelog for verification.

## 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": {
      "limit": {
       "type": "integer",
       "maximum": 500,
       "minimum": 1
      },
      "since": {
       "type": "string",
       "format": "date-time",
       "description": "Only changes detected after this ISO-8601 instant"
      },
      "package": {
       "type": "string",
       "description": "Any crates.io (Rust) package name — resolved and fetched live if not already tracked"
      },
      "min_significance": {
       "type": "integer",
       "maximum": 10,
       "minimum": 1,
       "description": "Keep only changes scored at least this"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "count": {
       "type": "integer"
      },
      "source": {
       "type": "string"
      },
      "changes": {
       "type": "array",
       "items": {
        "type": "object",
        "properties": {
         "type": {
          "type": "string"
         },
         "title": {
          "type": "string"
         },
         "detail": {
          "type": "object"
         },
         "summary": {
          "type": "string"
         },
         "entityId": {
          "type": "string"
         },
         "sourceUrl": {
          "type": [
           "string",
           "null"
          ],
          "description": "Primary-source link for verification"
         },
         "detectedAt": {
          "type": "string",
          "format": "date-time"
         },
         "significance": {
          "type": "integer",
          "maximum": 10,
          "minimum": 1
         },
         "effectiveDate": {
          "type": [
           "string",
           "null"
          ]
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rust-crates-change-feed-271f7df0/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)
