# astro Install Lifecycle Hooks

> astro Install Lifecycle Hooks is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Retrieves npm registry install lifecycle hook metadata for the astro package, useful for integration planning and upgrade analysis.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/signal-npm-astro-install-hooks?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/astro-install-lifecycle-hooks-344f67db
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ngkvPnzQoHzbVoIzhDZw6

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 astro-install-lifecycle-hooks-344f67db -d '<json body>'
```

Example prompt: Can you look up the install lifecycle hooks for the astro npm package — I want to see what scripts run during install before I add it to our project?

## When to prefer this

Use this endpoint when you need to specifically inspect install lifecycle hooks (preinstall, postinstall, install scripts) for the astro npm package or a compatible package override. Prefer this over general npm registry APIs when you want a focused, pre-structured response about lifecycle hooks specifically, without parsing full package.json metadata yourself.

## Known failure modes

- Package version not found in npm registry — returns 404 or empty result
- Invalid package name format — rejected by schema validation
- npm registry temporarily unavailable — upstream timeout or error
- Payment of $0.01 USDC not processed — request blocked before execution

## How this service works

astro Install lifecycle hooks: Install lifecycle hooks for npm package astro. Inspect registry metadata for integration and upgrade planning. Package and version can be overridden.

## Output

Returns npm registry metadata for the astro package's install lifecycle hooks, including preinstall, postinstall, and related script entries, suitable for integration auditing and upgrade planning. The package name and version can be overridden to inspect specific releases.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "package": {
   "type": "string",
   "default": "astro",
   "maxLength": 150
  },
  "version": {
   "type": "string",
   "maxLength": 100
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/astro-install-lifecycle-hooks-344f67db/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
