# Status State API – NPM Status Changes Feed

> Status State API – NPM Status Changes Feed is a paid API for AI agents from status-state-api.replit.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Returns up to 20 recent status/component/incident state changes for NPM, newest first, as a chronological change log rather than a current snapshot.

## Facts

- Endpoint: GET https://status-state-api.replit.app/api/monitors/npm/changes?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/status-state-api-npm-status-changes-feed-59332e0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xEZU16JORUBOfHDhj4A-q

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 status-state-api-npm-status-changes-feed-59332e0d
```

Example prompt: Show me the most recent npm status changes — I want to see if there have been any incidents or component movements in the last little while, newest events first.

## When to prefer this

Choose this endpoint when you need a change-log view of npm's status history (what changed and when) rather than just the current snapshot. It is ideal for detecting recent incidents, tracking recovery events, or auditing reliability over the last N events. Use over general status snapshots when you need temporal sequence and event-level detail. Requires micro-payment ($0.01 USDC on Base or Solana) with no API key or signup needed.

## Known failure modes

- 402 Payment Required – no USDC payment sent or payment verification failed; inspect the 402 body for overallStatus/hasActiveIncident before deciding to pay
- Invalid slug pattern – slug must match ^[a-z0-9-]{1,64}$; malformed slugs return an error
- Stale data – staleness object may indicate the underlying status page hasn't been polled recently
- Empty changes array – if npm has had no status movements, the array may be empty
- Network/host unavailability – Replit-hosted endpoint may experience cold-start latency or downtime

## How this service works

Up to 20 real status/component/incident movements, newest first - not the current snapshot. overallStatus and hasActiveIncident are in the 402 JSON body so you can decide whether to pay. $0.01 per call in USDC on Base or Solana, verified and settled by the PayAI facilitator - no API key, no signup.

## Output

A JSON object containing the vendor slug ('npm'), an array of up to 20 status/component/incident change events ordered newest-first (each describing what changed, when, and which component), and a staleness object indicating data freshness. The 402 preflight body also exposes overallStatus and hasActiveIncident so the caller can decide whether to pay before consuming the full change log.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "slug"
     ],
     "properties": {
      "slug": {
       "type": "string",
       "pattern": "^[a-z0-9-]{1,64}$",
       "examples": [
        "openai"
       ],
       "description": "Vendor slug from the free GET /api/monitors catalog"
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "slug",
      "changes",
      "staleness"
     ],
     "properties": {
      "slug": {
       "type": "string"
      },
      "changes": {
       "type": "array"
      },
      "staleness": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/status-state-api-npm-status-changes-feed-59332e0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from status-state-api.replit.app](https://www.zero.xyz/host/status-state-api.replit.app/llms.txt)
