1gateway
Use when an agent must see who is buying or dumping a Base ERC-20 right now (smart-money / whale flow). Input: token address, optional wallet, minutes (1-60), limit. Output: JSON DEX buys vs sells (Uniswap v2/v3/v4, Aerodrome swaps) with netflow, buy/sell ratio, top buyers and sellers, largest swaps, pools; transfer net buyers/sellers tagged contract/EOA/pool/whale; wallet drill-down. On-chain onl
- Price per call
- $0.008
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 3
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://1gateway.dev/v1/onchain/base/token-flows", { method: "GET" });
console.log(await res.json());https://1gateway.dev/v1/onchain/base/token-flows