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

> BTC-Intel Package Health — npm/PyPI Dependency Intelligence is a paid API for AI agents from x402.ggez.my.id, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Returns npm and PyPI package dependency health data alongside live Stacks/Bitcoin market metrics via a pay-per-call x402 endpoint.

## Facts

- Endpoint: GET https://x402.ggez.my.id/pkg-health?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/btc-intel-package-health-npm-pypi-dependency-intelligence-5df0a178
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uGluN_A3KTrPT0AM1o3Fz

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-package-health-npm-pypi-dependency-intelligence-5df0a178
```

Example prompt: Can you check the dependency health of the 'axios' npm package and also give me the current STX and BTC spot prices?

## When to prefer this

Choose this endpoint when you need a combined view of package dependency health AND live Stacks/Bitcoin market intelligence in a single call, billed per-use via x402 micropayments. It is especially useful for AI agents that need to make on-chain decisions (e.g. fee estimation, sBTC operations) while also auditing software dependencies, avoiding the need to call separate market data and package registry APIs.

## Known failure modes

- Package not found on npm or PyPI — returns error or empty health data
- Payment not included or invalid x402 payment header — returns 402 Payment Required
- Upstream price feed unavailable — may return stale or missing market data
- Malformed request body — returns validation error
- Rate limit exceeded — returns 429 Too Many Requests

## 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 a success flag and a data payload containing: npm/PyPI package dependency health status (vulnerabilities, staleness, etc.), live STX/BTC/USD spot prices, current sBTC supply, active PoX cycle number, and recommended BTC and Stacks fee tiers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object"
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/btc-intel-package-health-npm-pypi-dependency-intelligence-5df0a178/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.ggez.my.id](https://www.zero.xyz/host/x402.ggez.my.id/llms.txt)
