P

Printmoneylab · FX Rate

by Printmoneylab

GETBaseSolanaPolygon

$0.001

per call · USD Coin on Base

Current USD/KRW foreign exchange rate

Endpoint

GET https://api.printmoneylab.com/api/v1/fx-rate

5

Calls / 30d

4

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.printmoneylab.com/api/v1/fx-rate", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.printmoneylab.com/api/v1/fx-rate" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "base": "USD",
  "data_age_seconds": 0,
  "quote": "KRW",
  "rate": 1475.27,
  "source": "exchangerate-api.com",
  "timestamp": 1776340000000
}

Payment details

Pay to0xcf9223ece895258dea8d288aebcf846ab8e342fb
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Polygon
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from Printmoneylab & similar services