Agentic Trading Lab
에이전트와 대화하고, 거래 아이디어를 테스트하며, 코드 없이 실제 시장 데이터에 AI 트레이딩 에이전트를 적용
Official Royal Monetary Authority of Bhutan rates for 2 Nov 2026: 1 USD = 94.72 BTN, 1 EUR = 106.07 BTN. All 12 currencies published, history back to 2024. Free JSON API for tax, audits, and compliant
금융JavaScriptGitHub @AllRates-Today온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Official Royal Monetary Authority of Bhutan exchange rates (BTN) as JSON — zero-dependency Node.js/TypeScript SDK
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Official Royal Monetary Authority of Bhutan (Bhutan) daily exchange rates for Node.js and TypeScript. The published central bank rates behind tax filings, customs valuations, audits, and compliant invoicing — not market estimates, but the numbers Royal Monetary Authority of Bhutan itself prints, every business day.
rate_date on every responsederived: true, never mixed with official printsfetch; Node 18+, Bun, Deno, and edge runtimesrate_type, publication date, and source disclaimer on every responseOfficial rate, not mid-market: every value here is a number Royal Monetary Authority of Bhutan itself published, fixed once printed and carrying the central bank's own
rate_date— what filings and audits require. Need the live mid-market rate for pricing or display instead? Use the mid-market API or@allratestoday/sdk. The two can diverge by several percent.
Get a free API key at allratestoday.com/register — no credit card required. Latest rates are on every plan, including free.
The image is rendered live from the keyless endpoint, so it follows the central bank's publications on npm and on GitHub alike without a new release. The same table as text is folded below for search and copy-paste: on GitHub a daily Action refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
| Base | Quote | Type | Rate |
|---|---|---|---|
| AUD | BTN | buy | 66.48 |
| AUD | BTN | sell | 66.93 |
| CAD | BTN | buy | 67.78 |
| CAD | BTN | sell | 68.26 |
| CHF | BTN | buy | 115.33 |
| CHF | BTN | sell | 116.15 |
| DKK | BTN | buy | 14.21 |
| DKK | BTN | sell | 14.31 |
| EUR | BTN | buy | 106.21 |
| EUR | BTN | sell | 106.94 |
| GBP | BTN | buy | 127.12 |
| GBP | BTN | sell | 127.92 |
| HKD | BTN | buy | 12.07 |
| HKD | BTN | sell | 12.15 |
| JPY | BTN | buy | 0.5994 |
| JPY | BTN | sell | 0.6036 |
| NOK | BTN | buy | 10.25 |
| NOK | BTN | sell | 10.32 |
| SEK | BTN | buy | 9.71 |
| SEK | BTN | sell | 9.78 |
| SGD | BTN | buy | 74.04 |
| SGD | BTN | sell | 74.57 |
| USD | BTN | buy | 94.67 |
Source: Official rates published by RMA, served by AllRatesToday. Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
npm install rma-bhutan-exchange-rate
yarn add rma-bhutan-exchange-rate
pnpm add rma-bhutan-exchange-rate
Requires Node 18+ (global fetch); also runs on Bun, Deno and edge runtimes. Also published under the org scope as @allratestoday/rma-bhutan-exchange-rate — same code, same versions.
import { getRate } from 'rma-bhutan-exchange-rate';
const pair = await getRate('USD', 'BTN', { apiKey: 'art_live_...' });
console.log(pair.rate, pair.rate_date); // the official Royal Monetary Authority of Bhutan rate, on the central bank's own date
Free plan and up. Pairs the central bank does not print directly are resolved from its table and flagged (see Published vs derived rates below).
const pair = await getRate('USD', 'BTN', { apiKey: 'art_live_...' });
Response:
{
bank: 'rma',
name: 'Royal Monetary Authority of Bhutan',
rate_date: '2026-10-14', // Royal Monetary Authority of Bhutan's own publication date
source: 'USD',
target: 'BTN',
rate: 95.71,
rate_type: 'sell',
derived: false,
method: 'published',
disclaimer: 'Official rates as published by the named central bank. On weekends/holidays the most recent published rate_date is returned.'
}
Free plan and up. The complete table for the latest publication date.
import { getLatestRates } from 'rma-bhutan-exchange-rate';
const table = await getLatestRates({ apiKey: 'art_live_...' });
console.log(table.rate_date, table.rates.length);
Response:
{
bank: 'rma',
name: 'Royal Monetary Authority of Bhutan',
rate_date: '2026-10-14',
rates: [
{ "base": "USD", "quote": "BTN", "type": "sell", "value": 95.71 },
{ "base": "USD", "quote": "BTN", "type": "buy", "value": 95.05 },
// … the rest of the published table (12 currencies vs BTN)
],
disclaimer: '…'
}
Paid plans. The official table for any date since 2024 — weekends and holidays return the most recent published date, flagged via published_on_requested_date, which is exactly the in-force rate a filing needs.
import { getRatesForDate } from 'rma-bhutan-exchange-rate';
const day = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...' });
// Optionally narrow to one pair:
const one = await getRatesForDate('2026-06-30', { apiKey: 'art_live_...', source: 'USD', target: 'BTN' });
Response:
{
bank: 'rma',
requested_date: '2026-06-30',
rate_date: '2026-06-30', // the date actually published
published_on_requested_date: true, // false when a weekend/holiday fell back
rates: [ /* the full table for that date */ ],
disclaimer: '…'
}
Paid plans. One resolved rate per publication date — ready for charting, revaluation runs, or audit workpapers.
import { getHistory } from 'rma-bhutan-exchange-rate';
const series = await getHistory(
{ source: 'USD', target: 'BTN', from: '2026-01-01', to: '2026-10-14' },
{ apiKey: 'art_live_...' }
);
Response:
{
bank: 'rma',
source: 'USD',
target: 'BTN',
from: '2026-01-01',
to: '2026-10-14',
count: 152,
rates: [
// one entry per publication date
{ date: '2026-10-14', rate: 95.71, rate_type: 'sell', derived: false, method: 'published' },
// …
],
disclaimer: '…'
}
Pass { symbol: 'USD' } instead of source/target to get the raw published rows for one currency (all rate types, no pair resolution).
Royal Monetary Authority of Bhutan currently publishes rates covering 12 currencies against the BTN (as of the latest table):
🇦🇺 AUD · 🇨🇦 CAD · 🇨🇭 CHF · 🇩🇰 DKK · 🇪🇺 EUR · 🇬🇧 GBP · 🇭🇰 HKD · 🇯🇵 JPY · 🇳🇴 NOK · 🇸🇪 SEK · 🇸🇬 SGD · 🇺🇸 USD
The Royal Monetary Authority of Bhutan publishes daily telegraphic-transfer buying and selling rates for 12 currencies in ngultrum. The ngultrum is pegged one-to-one to the Indian rupee, so the table tracks the rupee's moves against the dollar, euro and the other majors; the RMA's online archive starts in mid-2024.
rate_date moves; every response carries the same figure as available_by_utc — see when to pollrate_date on every row — see the methodologyvalue is always quote currency per 1 unit of base currency (base: "EUR", quote: "USD", value: 1.15 means 1 EUR = 1.15 USD).base: "USD", quote: "BTN" means BTN per one US dollar).getRate(target, source) and the API inverts or crosses for you, flagged derived: true — never divide a published rate yourself in a compliance workflow.rate_type tells you which of the central bank's series a row belongs to (sell here); some publishers print buy/sell or several fixings for the same pair.Loading the official Royal Monetary Authority of Bhutan rate into an accounting system is a supported workflow, not a hack. Step-by-step guides with the direction each system expects:
The same keyed endpoints return ?format=csv, ?format=xml and ?format=xlsx, and accept the key as ?api_key= on the URL for importers that cannot send headers:
curl "https://allratestoday.com/api/v1/central-bank/rma/latest?format=xml&api_key=art_live_..."
npx -y @allratestoday/central-bank-mcp (stdio) or the hosted endpoint https://allratestoday.com/api/mcp — tools for official rates, history, cross-bank comparison and publication calendars@allratestoday/sdk 1.4+ has officialRates('rma') and @allratestoday/mcp-server 0.6+ has a get_official_rates tool — both return this source's latest table with no key, so you can add it without a second dependency/plugin marketplace add AllRates-Today/claude-code-plugin then /plugin install allratestoday@allratestoday — bundles both MCP servers plus an /official-rate rma ... commandPOST https://allratestoday.com/api/agent/keys (send Content-Type: application/json) returns a 100-call key valid 7 days that covers the free-plan methods (latest table, pairs); dated tables and history need a paid plan. The MCP servers expose it as request_trial_keyIf Royal Monetary Authority of Bhutan does not print a pair directly, the API resolves it from the central bank's own table and says so — official and computed values are never confused:
method | derived | Meaning |
|---|---|---|
published | false | The central bank printed this pair directly |
inverse | true | Computed as 1 ÷ the published opposite direction |
cross | true | Computed via BTN from two published rates |
Errors are thrown as Error with status (HTTP code) and body (the API's JSON error) attached:
try {
const pair = await getRate('USD', 'XXX', { apiKey: 'art_live_...' });
} catch (err) {
console.log(err.message); // human-readable reason
console.log(err.status); // e.g. 404
}
| Status | Meaning |
|---|---|
| — | Missing apiKey (thrown before any request) |
400 | Malformed date or parameters |
401 | Invalid API key |
403 | Endpoint needs a paid plan (historical dates & series) |
404 | Pair or date range not covered by Royal Monetary Authority of Bhutan |
429 | Monthly quota exceeded |
Full definitions ship with the package — no @types install:
import type { LatestRates, PairRate, DatedRates, RateEntry, HistoryQuery, RequestOptions } from 'rma-bhutan-exchange-rate';
const { getRate } = require('rma-bhutan-exchange-rate');
getRate('USD', 'BTN', { apiKey: 'art_live_...' }).then((pair) => console.log(pair.rate));
| Method | Plan | Description |
|---|---|---|
getRate(source, target, { apiKey }) | Free | Latest rate for one pair, resolved from the published table |
getLatestRates({ apiKey }) | Free | The central bank's full latest published table |
getRatesForDate(date, { apiKey, source?, target? }) | Paid | The official table (or one pair) for a YYYY-MM-DD date |
getHistory({ symbol | source+target, from?, to? }, { apiKey }) | Paid | Daily series since 2024 |
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
rates/rma.csv)https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/rma/latest.jsonMIT
| USD |
| BTN |
| sell |
| 95.33 |