Wallet token transfers (filtered)

$0.003 per call · USDC via x402 · POST /api/asset-transfers

Recent token transfers for a wallet on Base, Ethereum and other EVM chains, newest first. Send POST /api/asset-transfers with no required fields (12 optional) and pay $0.003 per call over x402 or MPP (there is no free tier). It returns a JSON object with network, chainId, address, direction, counterparty and 11 more.

Filtered transfer log for an EVM address: one direction (in or out), optional counterparty, a category subset (external / internal / erc20 / erc721 / erc1155 / specialnft), an optional contract filter (e.g. only USDC), a block range, and a cursor for paging. One indexed query per call - the cheap way to ask 'every USDC transfer into this wallet' or 'all transfers from A to B' without scanning logs. Values are exact decimal strings scaled by the token's decimals; each row carries the block timestamp.

Category: Crypto & onchain data · Tags: crypto transfers erc20 erc721 erc1155 wallet history evm · Also found as: blockchain-transfers erc20-transfers

TRY IN PLAYGROUND →

Parameters

NameTypeRequiredDescription
addressstringno0x-prefixed 40-char EVM address (the wallet or contract whose transfers you want). Optional when `contracts` is set.
directionstringnoin (transfers TO address) or out (transfers FROM address). Default in.
counterpartystringnoOptional other party: with direction in, only transfers FROM this address; with out, only transfers TO it.
categoryarray of stringnoSubset of external, internal, erc20, erc721, erc1155, specialnft. Default external+erc20+erc721+erc1155 (erc20+erc721+erc1155 when `contracts` is set).
contractsarray of stringnoOptional token contract filter, up to 10 addresses (token categories only).
fromBlockstringnoStart block (decimal or 0x hex). Default 0 = genesis.
toBlockstringnoEnd block (decimal, 0x hex, or latest). Default latest.
maxCountnumbernoRows per call, 1-100 (default 25).
orderstringnodesc (newest first, default) or asc.
includeZeroValuebooleannoInclude zero-value transfers (plain contract calls). Default false.
pageKeystringnoCursor from a previous response to fetch the next page.
networkstringnoethereum / base / polygon / arbitrum / optimism (default ethereum).

Example request

curl -i -X POST https://agent402.tools/api/asset-transfers \
  -H "Content-Type: application/json" \
  -d '{"address":"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045","direction":"in","category":["erc20"],"contracts":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"],"maxCount":5,"network":"ethereum"}'

Without payment this returns HTTP 402 Payment Required with the exact price for asset-transfers; any x402 v2 or MPP client pays it and retries.

Example response

{
  "network": "ethereum",
  "chainId": 1,
  "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
  "direction": "in",
  "counterparty": null,
  "categories": [
    "erc20"
  ],
  "contracts": [
    "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
  ],
  "fromBlock": "0x0",
  "toBlock": "latest",
  "order": "desc",
  "maxCount": 5,
  "count": 5,
  "transfers": [
    {
      "blockNum": 25563191,
      "timestamp": "2026-07-19T00:32:23.000Z",
      "hash": "0x214b…e56b",
      "from": "0xa916…6081",
      "to": "0xd8da…6045",
      "category": "erc20",
      "asset": "USDC",
      "value": "0.42",
      "contract": "0xa0b8…eb48",
      "rawValue": "420000",
      "decimals": 6,
      "tokenId": null
    }
  ],
  "pageKey": "1f449b0c-…",
  "source": "alchemy",
  "fetchedAt": "2026-08-22T12:00:00.000Z"
}
FieldTypeAlways presentIn the example
networkstringyesethereum
chainIdnumberyes1
addressstringyes0xd8da6bf26964af9d7eed9e03e53415d37aa96045
directionstringyesin
counterpartynullnonull
categoriesarray of stringyes1 item in the example
contractsarray of stringyes1 item in the example
fromBlockstringyes0x0
toBlockstringyeslatest
orderstringyesdesc
maxCountnumberyes5
countnumberyes5
transfersarray of objectsyes1 item in the example
pageKeystringyes1f449b0c-…
sourcestringyesalchemy
fetchedAtstringyes2026-08-22T12:00:00.000Z

From an MCP client

catalog.call {
  "slug": "asset-transfers",
  "params": {
    "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "direction": "in",
    "category": [
      "erc20"
    ],
    "contracts": [
      "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
    ],
    "maxCount": 5,
    "network": "ethereum"
  }
}

The hosted connector at https://agent402.tools/mcp needs a payment for asset-transfers; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

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();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/asset-transfers", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "direction": "in",
    "category": [
      "erc20"
    ],
    "contracts": [
      "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48"
    ],
    "maxCount": 5,
    "network": "ethereum"
  }),
});

Related tools

Token balances (named contracts)

$0.002 · POST /api/token-balances

ERC-20 balances of one wallet for a NAMED list of token contracts (1-20) - the targeted complement to the full-portfolio…

Transaction receipt (decoded transfers)

$0.003 · POST /api/tx-receipt

Full receipt for a transaction hash in one call: status, block, from/to, value, gas used vs limit, effective gas price, …

Wallet balance (native + ERC-20)

$0.002 · POST /api/wallet-balance

Look up the native coin balance (ETH/MATIC) plus every ERC-20 holding for a wallet address on Ethereum, Base, Polygon, A…

NFT holdings for an address

$0.002 · POST /api/nft-holdings

Return the NFTs owned by a wallet address on a given network. Each row carries the collection name, contract address, to…

Wallet transaction history

$0.002 · POST /api/wallet-transactions

Return the most recent asset transfers (incoming + outgoing) for a wallet address - native coin, ERC-20, ERC-721, ERC-11…

Block receipts (one block, summarised)

$0.005 · POST /api/block-receipts

Every transaction receipt in one block, fetched as a single upstream read and summarised: tx count, succeeded vs failed,…