17trust / 100

Precio Divisa Pago

by Vextorium in Onchain & crypto

x402 APIFailing, checked 30 min ago

Crypto price in any ECB currency (EUR, GBP, JPY, CHF...): on-chain USD price (Chainlink or Uniswap v3) converted with ECB reference rates.

POST https://api.vextorium.com/precio-divisa-pago

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/precio-divisa-pago" \
  -H "content-type: application/json" \
  -d '{"divisa":"EUR","moneda":"bitcoin"}'
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%2Fprecio-divisa-pago
const res = await pay("https://api.vextorium.com/precio-divisa-pago", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"divisa":"EUR","moneda":"bitcoin"}),
});
console.log(await res.json());

Example input

{
  "divisa": "EUR",
  "moneda": "bitcoin"
}

Example output

{
  "aviso": "Dato informativo; no es una recomendacion de inversion.",
  "divisa": "EUR",
  "fuente_divisa": "Banco Central Europeo (tipos de referencia)",
  "fuente_precio": "Chainlink Data Feeds (on-chain, Base)",
  "nombre": "BTC",
  "precio": 74025.874,
  "precio_usd": 84411.70425505
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
30 min agoAmount "0.004" is not in atomic token units40280 ms$0.004
5 h agoAmount "0.004" is not in atomic token units40285 ms$0.004
9 h agoAmount "0.004" is not in atomic token units402164 ms$0.004
13 h agoAmount "0.004" is not in atomic token units402105 ms$0.004
18 h agoAmount "0.004" is not in atomic token units402112 ms$0.004
22 h agoAmount "0.004" is not in atomic token units40285 ms$0.004
25 h agoAmount "0.004" is not in atomic token units402213 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 units40282 ms$0.004
38 h agoAmount "0.004" is not in atomic token units402227 ms$0.004
41 h agoAmount "0.004" is not in atomic token units40274 ms$0.004
46 h agoAmount "0.004" is not in atomic token units40275 ms$0.004
2 days agoAmount "0.004" is not in atomic token units40280 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 units40291 ms$0.004