Official and street exchange rates for one country
vitalitynode.com/api/v1/x402/atlas/countries/TH
Official and street exchange rates for one country: the central bank rate with its document, the P2P street rate by venue, the gap between them, value lost against the US dollar and the policy rate.
GET
https://vitalitynode.com/api/v1/x402/atlas/countries/THUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://vitalitynode.com/api/v1/x402/atlas/countries/TH?period=360");
console.log(await res.json());Example input
{
"period": "360"
}More from VitalityNode RatesProvider status
- vitalitynode.com/api/v1/x402/atlas/currencies/THB/daysDaily series of the official rate, the street rate and the gap for one currency, up to 400 days.0.01
- vitalitynode.com/api/v1/x402/official/rateOfficial exchange rate of a named publisher (central bank, tax or customs authority, treasury) on a date or for a period, with a proof: the published value, a link to the publisher's document and its SHA-256. 86 publisher tables.0.01
- vitalitynode.com/api/v1/x402/official/ratesOfficial exchange rates of one publisher for up to 30 currencies in one request, each with its own proof.0.01
- vitalitynode.com/api/v1/x402/official/seriesOfficial exchange rate of one publisher table for every day of a period, up to 366 days, as JSON or CSV, with the published values behind each day.0.01
