# Animica Chain Export — Bulk Block & Transaction Export

> Animica Chain Export — Bulk Block & Transaction Export is a paid API for AI agents from animica.dev, paid per call via x402, $0.002074/call, status unknown (last checked 2026-09-14).

Exports a paginated range of Animica blockchain blocks or transactions as NDJSON or JSON, optionally filtered by address.

## Facts

- Endpoint: GET https://animica.dev/x402/chain/export
- Price: $0.002074/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-chain-export-bulk-block-transaction-export-85839d56
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6ZchCoZvRmdB3pI806dUe

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-export-bulk-block-transaction-export-85839d56
```

Example prompt: Export the last 200 Animica chain blocks starting from block height 10000 in NDJSON format, and filter to show only transactions involving address anim1abc123...

## When to prefer this

Use this endpoint when you need bulk historical export of Animica blockchain blocks or transactions, especially for indexing, reconciliation, balance auditing, or address-specific transaction history. It is the right choice over single-block lookups when you need up to 1000 records at a time with pagination support. Prefer it over real-time subscription endpoints when doing batch historical analysis.

## Known failure modes

- Window exceeds 1000 blocks — request rejected; reduce the `to`-`from` range or use `count` ≤ 1000
- Missing required `from` parameter — returns error; `from` is the required starting block height and pagination cursor
- Invalid address format — non-bech32m or non-hex address produces a filter error
- Invalid `type` value — only 'blocks' or 'transactions' accepted
- Block height out of range — heights beyond chain tip return empty or error

## How this service works

Block-range and transaction-range exports from the Animica L1 (chunked reads, cursor pagination, NDJSON/JSON, gzip). Caps per request: 1000 blocks, 10000 tx records, 16000000 bytes. The free per-block APIs stay free.

## Output

Returns an NDJSON stream (or JSON object if format=json) containing a meta header line, one record per block or transaction with amounts denominated in nANM as decimal strings, and a summary line that includes the next_cursor value when results are truncated due to the 1000-block window limit.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "meta": {
   "type": "meta",
   "unit": "nANM",
   "export": "blocks",
   "product": "bulk_chain",
   "chain_id": 1,
   "to_height": 73602,
   "from_height": 73600,
   "head_height": 73635,
   "head_margin": 6
  },
  "blocks": [
   {
    "hash": "0x0000000001bb6415ee925b9648e93cf3f761371bd8524618f39dd174ea9d15dd",
    "nonce": 13769920589,
    "roots": {
     "daRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
     "txsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
     "stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
     "proofsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
     "receiptsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"
    },
    "height": 73600,
    "chain_id": 1,
    "timestamp": 1786769588,
    "parent_hash": "0x0000000003b8249bf50aad465a666250c02b096f331ba05ac6dda2e81efa9147",
    "theta_micro": 26004937,
    "transactions": []
   }
  ],
  "summary": {
   "txs": 0,
   "type": "summary",
   "blocks": 3,
   "complete": true,
   "next_cursor": null,
   "truncated_reason": null
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/animica-chain-export-bulk-block-transaction-export-85839d56/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)
