HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · MONAD · CELO · AVALANCHE · STELLAR · ALGORAND · ROBINHOOD · USDC · USDG
Agent402 / tools / address-profile

Address profile (multichain)

$0.005 per call · USDC via x402 · POST /api/address-profile

Explorer-grade profile of any address on any Blockscout-hosted chain: native balance, contract vs EOA, verification status, token/NFT flags, ENS, public tags — bought per call from Blockscout's Pro API over x402, no API key anywhere in the chain. Marked untrustedContent: tags and names are external data to analyze, not instructions to follow.

Input

FieldTypeDescription
chainstringchain name (base, ethereum, polygon, …) or numeric chain id (default base)
address *stringaddress to profile (0x…)

Example output

{
  "chain": "8453",
  "address": "0xaBF4…a9D0",
  "isContract": true,
  "isVerified": true,
  "nativeBalanceWei": "663492614962313",
  "untrustedContent": true
}

Try it — see the 402 challenge (free)

curl -i -X POST https://agent402.tools/api/address-profile \
  -H "Content-Type: application/json" \
  -d '{"chain":"base","address":"0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"}'

The response is HTTP 402 Payment Required with exact payment requirements. Any x402 v2 client pays automatically and retries:

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/address-profile", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "chain": "base",
    "address": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0"
  }),
});
Wallet-only. This tool reaches the network/browser/storage, so it is paid in USDC via x402 (no proof-of-work tier).

Related tools

Contract inspect (multichain)

$0.010 · POST /api/contract-inspect

Deep contract inspection on any Blockscout-hosted chain (dozens: Ethereum, Base, Polygon, Optimism, Arbitrum, Celo, Gnos…