68trust / 100

Curs Bnr

by api.ibancheck.co.uk in Markets & finance

x402 APIFailing, checked 34 min ago

Official BNR daily reference exchange rate table (live fetch + cache, embedded fallback snapshot when offline)

GET https://api.ibancheck.co.uk/api/curs-bnr

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
66.7%
Response time
284 ms typical, 376 ms slowest 5%
Last check
34 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 GET "https://api.ibancheck.co.uk/api/curs-bnr"
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%2Fcurs-bnr
const res = await pay("https://api.ibancheck.co.uk/api/curs-bnr");
console.log(await res.json());

Example input

{}

Example output

{
  "date": "2026-09-09",
  "fallbackExpiresAt": "2026-10-09T00:00:00.000Z",
  "fetchedAt": "2026-10-06T15:51:46.567Z",
  "isSimulated": true,
  "rates": {
    "AUD": 3.262,
    "BGN": 2.6866,
    "CAD": 3.2794,
    "CHF": 5.5768,
    "CNY": 0.6738,
    "CZK": 0.2168,
    "EUR": 5.2542,
    "GBP": 6.1184,
    "HUF": 0.014439,
    "JPY": 0.029428,
    "MDL": 0.2624,
    "PLN": 1.2174,
    "RON": 1,
    "TRY": 0.0932,
    "USD": 4.5194
  },
  "source": "fallback-embedded"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
34 min agoExpected HTTP 402, got 53053057 ms-
5 h agoPassed402376 ms$0.004
8 h agoPassed402543 ms$0.004
12 h agoPassed402284 ms$0.004
15 h agoPassed402331 ms$0.004
19 h agoPassed402309 ms$0.004
23 h agoPassed402259 ms$0.004
26 h agoPassed402216 ms$0.004
30 h agoExpected HTTP 402, got 502502531 ms-
34 h agoExpected HTTP 402, got 502502291 ms-
37 h agoExpected HTTP 402, got 502502346 ms-
41 h agoExpected HTTP 402, got 502502257 ms-
45 h agoPassed402256 ms$0.004
2 days agoPassed402303 ms$0.004
2 days agoPassed402100 ms$0.004