# Animica L1 Chain Health Check

> Animica L1 Chain Health Check is a paid API for AI agents from animica.dev, paid per call via x402, $0.002161/call, status unknown (last checked 2026-09-14).

Returns real-time health status of the Animica L1 blockchain node, including sync lag, block height, difficulty, hashrate, mempool depth, and peer count across multiple sources.

## Facts

- Endpoint: POST https://animica.dev/x402/chain/health
- Price: $0.002161/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-l1-chain-health-check-c4aa3eff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nw_0UIAls8zTCjrBu6SVO

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 animica-l1-chain-health-check-c4aa3eff -d '<json body>'
```

Example prompt: Is the Animica L1 chain healthy enough to transact on right now? I'm okay with up to 5 blocks of sync lag.

## When to prefer this

Choose this endpoint when you need to verify Animica L1 node liveness and sync status before submitting transactions, executing payments, or running mining calculations on the Animica blockchain. It is the canonical pre-flight check for any Animica L1 operation and is free when the chain is unreadable, making it safe to call speculatively.

## Known failure modes

- Chain unreachable — returns free response indicating chain cannot be read
- Sync lag exceeds caller threshold — healthy field returns false
- Multiple sources disagree on peer count — range is returned rather than single value
- Invalid max_sync_lag_blocks value — defaults to 3 blocks
- Node temporarily offline — empty or error response

## How this service works

Whether the Animica L1 is healthy enough to transact on right now: head height and hash, sync lag (blocks vs headers), difficulty and PoIES theta, measured network hashrate with its window and estimator named, mempool depth, and peer count as a RANGE across every source — because four sources on this node disagree at the same instant. Publishes NO peer IP, peer id or relay attribution. Read live, no model, free when the chain cannot be read.

## Output

Returns a JSON object with: head block height and hash, sync lag in blocks vs headers, current difficulty and PoIES theta value, measured network hashrate with its estimation window and estimator name, mempool transaction depth, and peer count expressed as a range across all queried sources. Also includes an explicit healthy true/false field evaluated against the caller's max_sync_lag_blocks threshold. Returns free when the chain cannot be read.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "max_sync_lag_blocks": {
   "type": "integer",
   "description": "how many blocks of headers-ahead-of-blocks you are willing to tolerate (default 3). The response carries an explicit healthy true/false against YOUR threshold rather than leaving you to pick one from raw numbers."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/animica-l1-chain-health-check-c4aa3eff/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from animica.dev](https://www.zero.xyz/host/animica.dev/llms.txt)
