81trust / 100

Currency Exchange History

by NetIntel in Onchain & crypto

x402 APIPassing, checked 7 min ago

Daily historical exchange-rate series for any currency pair — fiat via ECB reference data, crypto via Coinbase daily closes — with min/max/average/change stats, no API key. Pass start/end dates or a days lookback (default 30). The history sibling of /currency-exchange/convert: trend and repricing context for the pairs agents already quote spot.

GET https://netintel.dev/currency-exchange/history

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
183 ms typical, 183 ms slowest 5%
Last check
7 min ago
Next check
in 20 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://netintel.dev/currency-exchange/history?days=7&from=USD&to=EUR"
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%2Fnetintel.dev%2Fcurrency-exchange%2Fhistory
const res = await pay("https://netintel.dev/currency-exchange/history?days=7&from=USD&to=EUR");
console.log(await res.json());

Example input

{
  "days": 7,
  "from": "USD",
  "to": "EUR"
}

Example output

{
  "cache_age_seconds": 0,
  "end": "2026-08-01",
  "findings": [
    {
      "detail": "ECB publishes business days only — weekends and holidays have no reference rate and are omitted, never interpolated",
      "rule": "non_trading_days_omitted"
    }
  ],
  "from": "USD",
  "point_count": 6,
  "series": [
    {
      "date": "2026-07-24",
      "rate": 0.87897
    },
    {
      "date": "2026-07-27",
      "rate": 0.87804
    },
    {
      "date": "2026-07-28",
      "rate": 0.87974
    },
    {
      "date": "2026-07-29",
      "rate": 0.87873
    },
    {
      "date": "2026-07-30",
      "rate": 0.87138
    },
    {
      "date": "2026-07-31",
      "rate": 0.8707
    }
  ],
  "source": "frankfurter",
  "stale": false,
  "start": "2026-07-26",
  "stats": {
    "average": 0.87626,
    "change_pct": -0.94,
    "max": 0.87974,
    "min": 0.8707,
    "volatility_pct": 0.34
  },
  "to": "EUR"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
7 min agoPassed402260 ms$0.02
5 h agoPassed402183 ms$0.02