# fastify Install Lifecycle Hooks

> fastify 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-17).

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

## Facts

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

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 fastify-install-lifecycle-hooks-c8ab16d7 -d '<json body>'
```

Example prompt: Can you look up the install lifecycle hooks for the fastify npm package — specifically what preinstall, install, and postinstall scripts are registered in the registry metadata?

## When to prefer this

Use this endpoint when you need to inspect what install-time lifecycle scripts a specific version of the fastify npm package defines, particularly for security audits, upgrade planning, or integration assessments. Prefer this over manual registry queries when you need structured, programmatic access to hook metadata.

## Known failure modes

- Invalid or non-existent package name returns an error or empty result
- Requested version does not exist in the registry
- Registry metadata unavailable or timeout
- Package name exceeds 150 character limit
- Payment not processed (x402 payment required)

## How this service works

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

## Output

Returns registry metadata about the install lifecycle hooks (e.g. preinstall, install, postinstall scripts) defined by the fastify npm package, for the specified version or the default/latest version.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastify-install-lifecycle-hooks-c8ab16d7/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)
