# LiquProp API – List Active Contracts for Chain

> LiquProp API – List Active Contracts for Chain is a paid API for AI agents from api.relai.fi, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Returns all active smart contracts associated with a specified blockchain chain ID

## Facts

- Endpoint: POST https://api.relai.fi/relay/1776502063891/v1/chains/{chainId}/contracts
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/liquprop-api-7a05973b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8wcr5oae2o5wLHmyzCOkQ

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 liquprop-api-7a05973b -d '<json body>'
```

Example prompt: Can you pull up all the active smart contracts for chain ID 137 (Polygon) using LiquProp?

## When to prefer this

Use this endpoint when you need to programmatically enumerate all currently active smart contracts on a specific blockchain chain, especially within the LiquProp ecosystem. Prefer this over manual chain explorers when you need structured, machine-readable contract data for automation or analysis.

## Known failure modes

- Invalid or unsupported chainId returns an error or empty list
- Chain with no active contracts returns an empty array
- Payment failure (x402 protocol) results in 402 status and no data returned
- Malformed POST body causes 400 bad request
- Service unavailability returns 5xx error

## How this service works

List all active contracts for a chain

## Output

A list of active contract records for the specified blockchain chain, including contract addresses and associated metadata such as status and identifiers.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/liquprop-api-7a05973b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relai.fi](https://www.zero.xyz/host/api.relai.fi/llms.txt)
