API Acre · Crypto Base Contract Inspect

by API Acre

POSTBaseSolana

$0.005

per call · USD Coin on Base

Inspect Base mainnet contract bytecode, common token metadata, and ERC-165, ERC-721, and ERC-1155 interface signals at one resolved block.

Endpoint

POST https://apiacre.com/v1/crypto/base-contract-inspect

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

Example response

{
  "data": {
    "block": {
      "hash": "0x84d697381027abac69728893f2428050d4600473cc00d7e8b8d4ea6365a3656f",
      "number": 49834076,
      "requestedTag": "safe",
      "timestamp": "2026-08-11T14:11:39+00:00"
    },
    "code": {
      "sha256": "98d785fcb1bf847f287adc2310759fd94cc13e754b974bc72131382e8266f607",
      "sizeBytes": 1852
    },
    "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "disclaimer": "Point-in-time public Base state only. Token methods are optional and untruste...",
    "explorerUrl": "https://basescan.org/address/0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "found": true,
    "interfaces": [
      {
        "interfaceId": "0x01ffc9a7",
        "standard": "ERC-165",
        "supported": null
      }
    ],
    "network": "eip155:8453",
    "networkRequestsMade": 2,
    "readOnly": true,
    "source": "https://docs.base.org/base-chain/quickstart/connecting-to-base",
    "standardSources": {
      "ERC-1155": "https://eips.ethereum.org/EIPS/eip-1155",
      "ERC-165": "https://eips.ethereum.org/EIPS/eip-165",
      "ERC-20": "https://eips.ethereum.org/EIPS/eip-20",
      "ERC-721": "https://eips.ethereum.org/EIPS/eip-721"
    },
    "tokenMetadata": {
      "decimals": 6,
      "name": "USD Coin",
      "status": "complete",
      "symbol": "USDC",
      "totalSupplyAtomic": "4194970321976430"
    },
    "transactionBroadcast": false,
    "warnings": [
      "ERC-165 interface support was unavailable or non-standard",
      "ERC-721 interface support was unavailable or non-standard",
      "ERC-1155 interface support was unavailable or non-standard"
    ]
  },
  "meta": {
    "cached": false,
    "duration_ms": 42,
    "next_actions": [],
    "sources": [],
    "warnings": []
  },
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "crypto.base-contract-inspect",
  "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