API Acre · Crypto Base Account Snapshot

by API Acre

POSTBaseSolana

$0.01

per call · USD Coin on Base

Read point-in-time ETH, native USDC, and up to four caller-selected ERC-20 balances plus account nonce and contract-code status at one resolved Base mainnet block.

Endpoint

POST https://apiacre.com/v1/crypto/base-account-snapshot

1

Calls / 30d

1

Unique payers / 30d

Sep 1

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://apiacre.com/v1/crypto/base-account-snapshot", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "address": "0x0000000000000000000000000000000000000000",
    "block_tag": "safe",
    "token_contracts": [
      "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
    ]
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://apiacre.com/v1/crypto/base-account-snapshot" \
  -H "Content-Type: application/json" \
  -d '{"address":"0x0000000000000000000000000000000000000000","block_tag":"safe","token_contracts":["0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"]}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "data": {
    "address": "0x0000000000000000000000000000000000000000",
    "balances": {
      "eth": {
        "formatted": "0",
        "wei": "0"
      },
      "usdc": {
        "atomic": "0",
        "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "decimals": 6,
        "formatted": "0"
      }
    },
    "block": {
      "hash": "0x1111111111111111111111111111111111111111111111111111111111111111",
      "number": 34567890,
      "requestedTag": "safe",
      "timestamp": "2026-08-10T16:00:00+00:00"
    },
    "codeSizeBytes": 0,
    "disclaimer": "Point-in-time public Base chain state and caller-selected token contracts onl...",
    "explorerUrl": "https://basescan.org/address/0x0000000000000000000000000000000000000000",
    "hasCode": false,
    "network": "eip155:8453",
    "nonce": 0,
    "requestedTokenCount": 1,
    "source": "https://docs.base.org/base-chain/quickstart/connecting-to-base",
    "tokenSource": "https://eips.ethereum.org/EIPS/eip-20",
    "tokens": [
      {
        "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "decimals": 6,
        "standard": "ERC-20",
        "status": "ok",
        "symbol": "USDC"
      }
    ],
    "usdcSource": "https://developers.circle.com/stablecoins/usdc-contract-addresses"
  },
  "meta": {
    "cached": false,
    "duration_ms": 42,
    "next_actions": [
      {
        "method": "POST",
        "path": "/v1/crypto/base-usdc-transfers",
        "reason": "Add recent official Base USDC transfer evidence to the point-in-time balance ...",
        "service": "crypto.base-usdc-transfers",
        "title": "Base USDC transfer history"
      }
    ],
    "sources": [],
    "warnings": []
  },
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "crypto.base-account-snapshot",
  "version": "1"
}

Payment details

Pay to0xa0bfa4f07281c9b248dc3aed2217836bca24869b
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

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

Get featured →

More from API Acre & similar services