piggybank.loth2023ys.workers.dev/v1/liquidity
Queries Uniswap V2 + Uniswap V3 + Aerodrome + PancakeSwap V2/V3 + Velodrome + QuickSwap + Solana Raydium/Meteora live liquidity, USD depth, and exact slippage for any custom tradeUsd size across all 7 supported chains.
GET
https://piggybank.loth2023ys.workers.dev/v1/liquidityUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://piggybank.loth2023ys.workers.dev/v1/liquidity?chain=base&address=0x0b3e328455c4059EEb9e3f84b5543F74E24e7E1b&tradeUsd=500");
console.log(await res.json());Example input
{
"chain": "base",
"address": "0x0b3e328455c4059EEb9e3f84b5543F74E24e7E1b",
"tradeUsd": "500"
}