M

Myceliasignal · CHF JPY

by Myceliasignal

GETBase

$0.01

per call · USD Coin on Base

CHF/JPY forex exchange rate — Swiss franc to Japanese yen — Ed25519 signed attestation

Endpoint

GET https://api.myceliasignal.com/oracle/price/chf/jpy

3

Calls / 30d

2

Unique payers / 30d

Sep 1

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.myceliasignal.com/oracle/price/chf/jpy", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://api.myceliasignal.com/oracle/price/chf/jpy" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "canonical": "v1|PRICE|CHFJPY|178|JPY|0|bankofcanada,bitstamp,cnb,ecb,ecbdirect,frankfurter,kraken,norgesbank|cross_rate|1700000000|123456",
  "domain": "CHFJPY",
  "pubkey": "f4f0e52b5f7b54831f965632bf1ebf72769beda4c4e3d36a593f7729ec812615",
  "signature": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
  "signingScheme": "ed25519"
}

Payment details

Pay to0xd593832ce9c2b13b192ba50b55dd9af44e96700d
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

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

Get featured →

More from Myceliasignal & similar services