77trust / 100

Crypto Base Usdc Transfers

by API Acre in Onchain & crypto

x402 APIPassing, checked 3 h ago

Retrieve newest-first incoming and outgoing Circle USDC Transfer events for one address across a validated, bounded Base mainnet block range.

POST
https://apiacre.com/v1/crypto/base-usdc-transfers
Price
$0.005
per call in USDC
Uptime
97.8%
last 30 days
Response time
254 ms
364 ms slowest 5%
Last check
Passed
3 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed · Watch with other listings

How to call it

POST https://apiacre.com/v1/crypto/base-usdc-transfers

Each call costs $0.005 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://apiacre.com/v1/crypto/base-usdc-transfers
content-type: application/json

{
  "address": "0x1111111111111111111111111111111111111111",
  "block_tag": "safe",
  "direction": "any",
  "limit": 25,
  "lookback_blocks": 2000
}

Parameters

ParameterTypeRequiredDescription
addressstringYes
block_tagstringNo One of: latest, safe, finalized.
directionstringNo One of: any, incoming, outgoing.
limitintegerNo
lookback_blocksintegerNo

Example response

The provider's example. We can't check it without paying.

Example response, 60 lines
{
  "data": {
    "address": "0x1111111111111111111111111111111111111111",
    "addressExplorerUrl": "https://basescan.org/address/0x11111111111111111111111111...",
    "asset": {
      "contract": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "decimals": 6,
      "name": "USD Coin",
      "symbol": "USDC"
    },
    "blockRange": {
      "fromBlock": 34565891,
      "requestedTag": "safe",
      "toBlock": 34567890,
      "toBlockHash": "0x1111111111111111111111111111111111111111111111111111111..."
    },
    "detected": 1,
    "direction": "any",
    "disclaimer": "Public onchain event evidence only. A transfer does not e...",
    "duplicatesRemoved": 0,
    "eventSignature": "Transfer(address,address,uint256)",
    "limitations": [
      "Only Circle's official native USDC contract on Base mainn...",
      "The result covers only the resolved bounded block range, ...",
      "Finality and provider freshness depend on the requested b..."
    ],
    "network": "eip155:8453",
    "networkRequestsMade": 2,
    "queriedLogCount": 1,
    "readOnly": true,
    "removedSkipped": 0,
    "returned": 1,
    "rpcCallsMade": 3,
    "source": "https://docs.base.org/base-chain/api-reference/ethereum-j...",
    "tokenSource": "https://eips.ethereum.org/EIPS/eip-20",
    "topic0": "0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4...",
    "transactionBroadcast": false,
    "transfers": [
      {
        "blockHash": "0x2222222222222222222222222222222222222222222222222222222...",
        "blockNumber": 34567800,
        "transactionHash": "0x3333333333333333333333333333333333333333333333333333333...",
        "transactionIndex": 4
      }
    ],
    "truncated": false,
    "usdcSource": "https://developers.circle.com/stablecoins/usdc-contract-a...",
    "warnings": []
  },
  "meta": {
    "cached": false,
    "duration_ms": 42,
    "next_actions": [],
    "sources": [],
    "warnings": []
  },
  "request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
  "service": "crypto.base-usdc-transfers",
  "version": "1"
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.005.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://apiacre.com/v1/crypto/base-usdc-transfers' \
  -H 'content-type: application/json' \
  --data-raw '{"address":"0x1111111111111111111111111111111111111111","block_tag":"safe","direction":"any","limit":25,"lookback_blocks":2000}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://apiacre.com/v1/crypto/base-usdc-transfers' \
  -H 'content-type: application/json' \
  --data-raw '{"address":"0x1111111111111111111111111111111111111111","block_tag":"safe","direction":"any","limit":25,"lookback_blocks":2000}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.005 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.005" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.005 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapiacre.com%2Fv1%2Fcrypto%2Fbase-usdc-transfers&method=POST
const res = await pay("https://apiacre.com/v1/crypto/base-usdc-transfers", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "address": "0x1111111111111111111111111111111111111111",
    "block_tag": "safe",
    "direction": "any",
    "limit": 25,
    "lookback_blocks": 2000
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.005 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.005"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://apiacre.com/v1/crypto/base-usdc-transfers",
        json={
            "address": "0x1111111111111111111111111111111111111111",
            "block_tag": "safe",
            "direction": "any",
            "limit": 25,
            "lookback_blocks": 2000,
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402295 ms$0.005
13 h agoPassed402163 ms$0.005
23 h agoPassed402265 ms$0.005
34 h agoPassed402124 ms$0.005
46 h agoPassed402219 ms$0.005
Show 10 older checks
4 days agoTimed out---
6 days agoPassed402308 ms$0.005
6 days agoTimed out---
7 days agoPassed402302 ms$0.005
7 days agoPassed402221 ms$0.005
8 days agoPassed402518 ms$0.005
9 days agoPassed402245 ms$0.005
9 days agoPassed402254 ms$0.005
10 days agoPassed402225 ms$0.005
10 days agoPassed402284 ms$0.005