16trust / 100

Pool Fee Apr

by Vextorium in Onchain & crypto

x402 APIFailing, checked 4 min ago

Estimated yield of providing liquidity in a token's pools (or one pool) on any DEX Screener chain: liquidity, 24h volume, pool fee (read on-chain when possible), fees generated, estimated APR, turnover and age, sorted by APR.

POST https://api.vextorium.com/v1/pool-fee-apr

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
4 min ago: Amount "0.004" is not in atomic token units
Next check
in 59 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/pool-fee-apr" \
  -H "content-type: application/json" \
  -d '{"limit":3,"network":"base","token":"0x532f27101965dd16442E59d40670FaF5eBB142E4"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fpool-fee-apr
const res = await pay("https://api.vextorium.com/v1/pool-fee-apr", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"limit":3,"network":"base","token":"0x532f27101965dd16442E59d40670FaF5eBB142E4"}),
});
console.log(await res.json());

Example input

{
  "limit": 3,
  "network": "base",
  "token": "0x532f27101965dd16442E59d40670FaF5eBB142E4"
}

Example output

{
  "network": "base",
  "note": "Estimate based on one day of volume; in concentrated pools (v3/CL) the real yield depends on the range and excludes impermanent loss and incentives.",
  "pools": [
    {
      "age_days": null,
      "daily_turnover": 0.487,
      "dex": "aerodrome",
      "estimated_apr_pct": 37.4,
      "fees_24h_usd": 891,
      "labels": null,
      "link": "https://dexscreener.com/base/0x4e829f8a5213c42535ab84aa40bd4adcce9cba02",
      "liquidity_usd": 869778,
      "pair": "BRETT/WETH",
      "pool": "0x4e829F8A5213c42535AB84AA40BD4aDCCE9cBa02",
      "pool_fee_pct": 0.21,
      "volume_24h_usd": 423951
    }
  ],
  "source": "DEX Screener (liquidity and volume); APR = 24h volume × fee / liquidity × 365"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
4 min agoAmount "0.004" is not in atomic token units40290 ms$0.004
4 h agoAmount "0.004" is not in atomic token units40277 ms$0.004
9 h agoAmount "0.004" is not in atomic token units402297 ms$0.004
13 h agoAmount "0.004" is not in atomic token units40293 ms$0.004
17 h agoAmount "0.004" is not in atomic token units40281 ms$0.004
21 h agoAmount "0.004" is not in atomic token units402158 ms$0.004
25 h agoAmount "0.004" is not in atomic token units40279 ms$0.004
29 h agoAmount "0.004" is not in atomic token units40282 ms$0.004
33 h agoAmount "0.004" is not in atomic token units40294 ms$0.004
37 h agoAmount "0.004" is not in atomic token units40286 ms$0.004
42 h agoAmount "0.004" is not in atomic token units40287 ms$0.004
45 h agoAmount "0.004" is not in atomic token units40285 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40282 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40281 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40291 ms$0.004