# Animica Chain Mempool Status API

> Animica Chain Mempool Status API is a paid API for AI agents from animica.dev, paid per call via x402, $0.001728/call, status unknown (last checked 2026-09-15).

Returns real-time blockchain mempool statistics including pending transaction count, total size, oldest transaction age, pending transaction IDs, current block head, and network peer/hashrate data.

## Facts

- Endpoint: GET https://animica.dev/x402/chain/mempool
- Price: $0.001728/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-chain-mempool-status-api-b1ecd426
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_P2mVxjFwHYUaqDu6zfHlP

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-chain-mempool-status-api-b1ecd426
```

Example prompt: Can you pull the current mempool status — how many transactions are pending, how large the backlog is in bytes, and what the oldest unconfirmed transaction age is?

## When to prefer this

Use this endpoint when you need a real-time snapshot of blockchain mempool and network state without running your own node infrastructure. It is ideal for agents that need to check transaction congestion before fee estimation, monitor chain liveness, or detect backlog conditions. The x402 micropayment model makes it suitable for pay-per-query use cases where persistent subscriptions are not needed.

## Known failure modes

- Network node unavailable — returns error if the underlying blockchain node is unreachable
- Payment failure — x402 payment of $0.005452 USDC not accepted, call rejected
- Rate limiting — too many requests in a short window may be throttled
- Empty mempool — returns count 0 and empty pending_txids array when mempool is clear (not an error)

## How this service works

A point-in-time read of the Animica mempool and network: pending transaction count and ids, total pending bytes, the age of the oldest entry, chain head, peer count and network hashrate. What a bot watching for congestion, fee conditions or inclusion timing needs, without running a node.

## Output

A JSON object containing: mempool stats (count of pending transactions, total size in bytes, age in seconds of the oldest pending transaction, array of pending transaction IDs), current chain head (block height and block hash), network info (peer count and hashrate), and an observed_at timestamp indicating when the snapshot was taken.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/animica-chain-mempool-status-api-b1ecd426/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)
