85trust / 100

Kr Prices

by api.printmoneylab.com in Onchain & crypto

x402 APIPassing, checked 3 h ago

Korean exchange prices (Upbit, Bithumb) for a single token in KRW

GET https://api.printmoneylab.com/api/v1/kr-prices

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
629 ms typical, 648 ms slowest 5%
Last check
3 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://api.printmoneylab.com/api/v1/kr-prices?exchange=all&symbol=BTC"
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.printmoneylab.com%2Fapi%2Fv1%2Fkr-prices
const res = await pay("https://api.printmoneylab.com/api/v1/kr-prices?exchange=all&symbol=BTC");
console.log(await res.json());

Example input

{
  "exchange": "all",
  "symbol": "BTC"
}

Example output

{
  "data": {
    "bithumb": {
      "change_rate": 0.019,
      "data_age_seconds": 0,
      "exchange": "bithumb",
      "price_krw": 141950000,
      "symbol": "BTC",
      "volume_24h": 987654.32
    },
    "upbit": {
      "change_rate": 0.02,
      "data_age_seconds": 0,
      "exchange": "upbit",
      "price_krw": 142000000,
      "symbol": "BTC",
      "volume_24h": 1234567.89
    }
  },
  "symbol": "BTC",
  "timestamp": 1776340000000
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402599 ms$0.002
7 h agoPassed402949 ms$0.002
10 h agoPassed402558 ms$0.002
13 h agoPassed402629 ms$0.002
19 h agoPassed402648 ms$0.002