16trust / 100

Cotizacion Dex Pago

by Vextorium in Onchain & crypto

x402 APIFailing, checked 2 h ago

On-chain swap quote on Base from Uniswap v3 QuoterV2 across all fee tiers (0.01%, 0.05%, 0.3%, 1%): output amount, unit price, best pool and gas estimate. Accepts symbols (WETH/ETH, USDC, USDT, DAI, cbBTC) or token addresses. Read-only, no swap executed.

POST https://api.vextorium.com/cotizacion-dex-pago

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
2 h ago: Amount "0.008" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/cotizacion-dex-pago" \
  -H "content-type: application/json" \
  -d '{"cantidad":1,"token_entrada":"WETH","token_salida":"USDC"}'
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%2Fcotizacion-dex-pago
const res = await pay("https://api.vextorium.com/cotizacion-dex-pago", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"cantidad":1,"token_entrada":"WETH","token_salida":"USDC"}),
});
console.log(await res.json());

Example input

{
  "cantidad": 1,
  "token_entrada": "WETH",
  "token_salida": "USDC"
}

Example output

{
  "mejor_pool_comision_pct": 0.05,
  "precio_unitario": 2688.58,
  "salida": {
    "cantidad": 2688.58,
    "token": "USDC"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoAmount "0.008" is not in atomic token units40283 ms$0.008
7 h agoAmount "0.008" is not in atomic token units40279 ms$0.008
11 h agoAmount "0.008" is not in atomic token units40278 ms$0.008
15 h agoAmount "0.008" is not in atomic token units40296 ms$0.008
19 h agoAmount "0.008" is not in atomic token units402119 ms$0.008
23 h agoAmount "0.008" is not in atomic token units40278 ms$0.008
27 h agoAmount "0.008" is not in atomic token units402234 ms$0.008
31 h agoAmount "0.008" is not in atomic token units40282 ms$0.008
35 h agoAmount "0.008" is not in atomic token units40289 ms$0.008
40 h agoAmount "0.008" is not in atomic token units40278 ms$0.008
43 h agoAmount "0.008" is not in atomic token units40284 ms$0.008
2 days agoAmount "0.008" is not in atomic token units40278 ms$0.008
2 days agoAmount "0.008" is not in atomic token units40276 ms$0.008
2 days agoAmount "0.008" is not in atomic token units402185 ms$0.008
3 days agoAmount "0.008" is not in atomic token units40283 ms$0.008