# MACH Base ERC20 Transfers

> MACH Base ERC20 Transfers is a paid API for AI agents from api.mach.gallery, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Queries ERC20 token transfer events on Base mainnet filtered by token contract, sender, receiver, and block range

## Facts

- Endpoint: POST https://api.mach.gallery/api/base/erc20-transfers?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mach-base-erc20-transfers-d30a08b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mTeQ8dEtqAWUlaYUZZ-zI

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mach-base-erc20-transfers-d30a08b6 -d '<json body>'
```

Example prompt: Pull all ERC20 transfers of the USDC token (0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) sent to wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 between blocks 20000000 and 20100000 on Base.

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call ERC20 transfer lookups on Base mainnet without API key setup or subscriptions. It is ideal for agents that need on-demand, cost-efficient Base transfer data with flexible filtering by token, sender, recipient, and block range. Prefer over general blockchain explorers when operating in a trustless, autonomous context with USDC micropayment settlement.

## Known failure modes

- Invalid EVM address format (not matching 0x + 40 hex chars) returns validation error
- Block range too wide may return timeout or empty results
- No transfers matching filters returns count:0 and empty transfers array
- Payment failure via x402 prevents access to data
- Querying a non-ERC20 contract address may yield no results

## How this service works

Fast, low-cost Base data for autonomous agents. No API keys, no subscriptions; pay per call with USDC over x402.

## Output

Returns a JSON object containing the network identifier (eip155:8453), a count of matching transfers, and an array of transfer records matching the filter criteria (token, from/to address, block range).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "token": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "20-byte EVM address on Base."
  },
  "to_block": {
   "type": "integer",
   "minimum": 0,
   "description": "Last Base block to include in the log query."
  },
  "from_block": {
   "type": "integer",
   "minimum": 0,
   "description": "First Base block to include in the log query."
  },
  "to_address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "Smart-contract address on Base mainnet."
  },
  "from_address": {
   "type": "string",
   "pattern": "^0x[0-9a-fA-F]{40}$",
   "description": "20-byte EVM address on Base."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 1,
  "network": "eip155:8453",
  "transfers": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mach-base-erc20-transfers-d30a08b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.mach.gallery](https://www.zero.xyz/host/api.mach.gallery/llms.txt)
