68trust / 100

Converteste Valuta

by api.ibancheck.co.uk in Documents & files

x402 APIFailing, checked 27 min ago

Currency conversion using current BNR rates, with optional net/VAT/gross RON breakdown

POST https://api.ibancheck.co.uk/api/converteste-valuta

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
66.7%
Response time
279 ms typical, 342 ms slowest 5%
Last check
27 min ago: Expected HTTP 402, got 530
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.ibancheck.co.uk/api/converteste-valuta" \
  -H "content-type: application/json" \
  -d '{"amount":100,"fromCurrency":"EUR","toCurrency":"RON"}'
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.ibancheck.co.uk%2Fapi%2Fconverteste-valuta
const res = await pay("https://api.ibancheck.co.uk/api/converteste-valuta", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amount":100,"fromCurrency":"EUR","toCurrency":"RON"}),
});
console.log(await res.json());

Example input

{
  "amount": 100,
  "fromCurrency": "EUR",
  "toCurrency": "RON"
}

Example output

{
  "amount": 100,
  "convertedAmount": 525.42,
  "errors": [],
  "fromCurrency": "EUR",
  "isSimulated": true,
  "rateUsed": 5.2542,
  "ratesDate": "2026-09-09",
  "ratesSource": "fallback-embedded",
  "toCurrency": "RON",
  "warnings": [
    "Curs valutar din snapshot offline (fallback din 2026-09-09), nu de la feed-ul live BNR. Nu folosiți pentru facturare fiscală fără verificare pe bnr.ro."
  ]
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
27 min agoExpected HTTP 402, got 530530164 ms-
4 h agoPassed402370 ms$0.004
8 h agoPassed402308 ms$0.004
12 h agoPassed402342 ms$0.004
15 h agoPassed402212 ms$0.004
19 h agoPassed402279 ms$0.004
22 h agoPassed402292 ms$0.004
26 h agoPassed402319 ms$0.004
30 h agoExpected HTTP 402, got 502502283 ms-
34 h agoExpected HTTP 402, got 502502261 ms-
37 h agoExpected HTTP 402, got 502502175 ms-
41 h agoExpected HTTP 402, got 502502240 ms-
45 h agoPassed402101 ms$0.004
2 days agoPassed402204 ms$0.004
2 days agoPassed402189 ms$0.004