A

Animica · Chain Export

by Animica

GETBaseanimica:1

$0.007

per call · USD Coin on Base

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.

Endpoint

GET https://animica.dev/x402/chain/export

4

Calls / 30d

1

Unique payers / 30d

Aug 22

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://animica.dev/x402/chain/export", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://animica.dev/x402/chain/export" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

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

Payment details

Pay to0x5d17c40fd6b119dc6006c4ab3c20a917fcab2acd
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, animica:1
Schemesexact

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Animica & similar services