# BTC-Intel — npm/PyPI Package Dependency Health Check

> BTC-Intel — npm/PyPI Package Dependency Health Check is a paid API for AI agents from 9eouter-0f49c8.abyte.my.id, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-15).

Returns npm and PyPI dependency health data alongside Stacks/Bitcoin market intelligence for AI agents

## Facts

- Endpoint: GET https://9eouter-0f49c8.abyte.my.id/pkg-health?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btc-intel-npm-pypi-package-dependency-health-check-44685b0f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lyumpV7X9Gyle4lyOWmF4

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 btc-intel-npm-pypi-package-dependency-health-check-44685b0f
```

Example prompt: Can you check the dependency health of the 'stacks.js' npm package and also pull the current STX/BTC/USD prices and PoX cycle info from BTC-Intel?

## When to prefer this

Choose this endpoint when you need a combined view of npm/PyPI package dependency health AND live Stacks/Bitcoin market data in a single call. It is especially useful for AI agents operating in the Stacks/Bitcoin ecosystem that need to make decisions about both software dependencies and on-chain transaction costs or market conditions simultaneously. Prefer it over generic package health APIs when you also need crypto market context, or over pure market data APIs when package health is also relevant.

## Known failure modes

- Payment not provided or insufficient — returns HTTP 402 requiring STX on Stacks mainnet or USDC on Base
- Invalid package name or type — may return empty or error response
- Upstream data source unavailable — market data fields may be stale or missing
- Malformed input schema — missing required 'type' or 'method' fields returns validation error
- Rate limit exceeded — returns 429 or similar throttling response

## How this service works

Live Stacks/Bitcoin market intelligence for AI agents: PoX cycle, BTC+Stacks fee tiers, STX/BTC/USD spot, sBTC supply, and npm/PyPI dependency health. Pay per call via x402 — STX on Stacks mainnet or USDC on Base.

## Output

Returns a JSON object with 'ok' status, service name ('btc-intel'), and live data including: npm or PyPI package dependency health metrics, STX/BTC/USD spot prices, current PoX cycle info, BTC and Stacks fee tiers, and sBTC supply on Stacks mainnet.

## 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": {
    "path": {
     "type": "string"
    },
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "note": "Live Stacks/Bitcoin market intelligence",
  "service": "btc-intel"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btc-intel-npm-pypi-package-dependency-health-check-44685b0f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 9eouter-0f49c8.abyte.my.id](https://www.zero.xyz/host/9eouter-0f49c8.abyte.my.id/llms.txt)
