@allratestoday/cbo-exchange-rate 1.3.7 โ 1.3.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -62
- package/package.json +11 -3
package/README.md
CHANGED
|
@@ -37,73 +37,75 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
|
|
|
37
37
|
|
|
38
38
|
## ๐ Latest published table
|
|
39
39
|
|
|
40
|
-
|
|
40
|
+
[](https://allratestoday.com/central-bank-rates-api/cbo/)
|
|
41
|
+
|
|
42
|
+
The image is rendered live from the keyless endpoint above, so it follows the central bank's publications on npm and on GitHub alike without a new release. The text copy below is there for search and copy-paste: on GitHub [a daily Action](.github/workflows/daily-table.yml) refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
|
|
41
43
|
|
|
42
44
|
<!-- daily-table:start -->
|
|
43
|
-
Published **2026-10-
|
|
45
|
+
Published **2026-10-14** by Central Bank of Oman โ 96 rates, first 60 shown. Updated 2026-10-14.
|
|
44
46
|
|
|
45
47
|
| Base | Quote | Type | Rate |
|
|
46
48
|
| --- | --- | --- | ---: |
|
|
47
49
|
| AED | OMR | buy | 0.1045438 |
|
|
48
|
-
| AED | OMR | sell | 0.
|
|
49
|
-
| AUD | OMR | buy | 0.
|
|
50
|
-
| AUD | OMR | sell | 0.
|
|
51
|
-
| BDT | OMR | buy | 0.
|
|
52
|
-
| BDT | OMR | sell | 0.
|
|
53
|
-
| BHD | OMR | buy | 1.
|
|
54
|
-
| BHD | OMR | sell | 1.
|
|
55
|
-
| BRL | OMR | buy | 0.
|
|
56
|
-
| BRL | OMR | sell | 0.
|
|
57
|
-
| CAD | OMR | buy | 0.
|
|
58
|
-
| CAD | OMR | sell | 0.
|
|
59
|
-
| CHF | OMR | buy | 0.
|
|
60
|
-
| CHF | OMR | sell | 0.
|
|
61
|
-
| CNY | OMR | buy | 0.
|
|
62
|
-
| CNY | OMR | sell | 0.
|
|
63
|
-
| CZK | OMR | buy | 0.
|
|
64
|
-
| CZK | OMR | sell | 0.
|
|
65
|
-
| DKK | OMR | buy | 0.
|
|
66
|
-
| DKK | OMR | sell | 0.
|
|
67
|
-
| EGP | OMR | buy | 0.
|
|
68
|
-
| EGP | OMR | sell | 0.
|
|
50
|
+
| AED | OMR | sell | 0.1048218 |
|
|
51
|
+
| AUD | OMR | buy | 0.2687232 |
|
|
52
|
+
| AUD | OMR | sell | 0.2694615 |
|
|
53
|
+
| BDT | OMR | buy | 0.003103 |
|
|
54
|
+
| BDT | OMR | sell | 0.0031263 |
|
|
55
|
+
| BHD | OMR | buy | 1.0162763 |
|
|
56
|
+
| BHD | OMR | sell | 1.0199486 |
|
|
57
|
+
| BRL | OMR | buy | 0.0763784 |
|
|
58
|
+
| BRL | OMR | sell | 0.0765941 |
|
|
59
|
+
| CAD | OMR | buy | 0.2704606 |
|
|
60
|
+
| CAD | OMR | sell | 0.2711841 |
|
|
61
|
+
| CHF | OMR | buy | 0.4615939 |
|
|
62
|
+
| CHF | OMR | sell | 0.4628516 |
|
|
63
|
+
| CNY | OMR | buy | 0.0573682 |
|
|
64
|
+
| CNY | OMR | sell | 0.0575408 |
|
|
65
|
+
| CZK | OMR | buy | 0.0176639 |
|
|
66
|
+
| CZK | OMR | sell | 0.0177157 |
|
|
67
|
+
| DKK | OMR | buy | 0.0575833 |
|
|
68
|
+
| DKK | OMR | sell | 0.0577385 |
|
|
69
|
+
| EGP | OMR | buy | 0.0072618 |
|
|
70
|
+
| EGP | OMR | sell | 0.0072951 |
|
|
69
71
|
| ETB | OMR | buy | 0.0023852 |
|
|
70
|
-
| ETB | OMR | sell | 0.
|
|
71
|
-
| EUR | OMR | buy | 0.
|
|
72
|
-
| EUR | OMR | sell | 0.
|
|
73
|
-
| GBP | OMR | buy | 0.
|
|
74
|
-
| GBP | OMR | sell | 0.
|
|
75
|
-
| HKD | OMR | buy | 0.
|
|
76
|
-
| HKD | OMR | sell | 0.
|
|
72
|
+
| ETB | OMR | sell | 0.002392 |
|
|
73
|
+
| EUR | OMR | buy | 0.4304256 |
|
|
74
|
+
| EUR | OMR | sell | 0.431585 |
|
|
75
|
+
| GBP | OMR | buy | 0.5096832 |
|
|
76
|
+
| GBP | OMR | sell | 0.511049 |
|
|
77
|
+
| HKD | OMR | buy | 0.0489272 |
|
|
78
|
+
| HKD | OMR | sell | 0.0490552 |
|
|
77
79
|
| IDR | OMR | buy | 0.0000231 |
|
|
78
80
|
| IDR | OMR | sell | 0.0000232 |
|
|
79
|
-
| INR | OMR | buy | 0.
|
|
80
|
-
| INR | OMR | sell | 0.
|
|
81
|
-
| JOD | OMR | buy | 0.
|
|
81
|
+
| INR | OMR | buy | 0.004044 |
|
|
82
|
+
| INR | OMR | sell | 0.004055 |
|
|
83
|
+
| JOD | OMR | buy | 0.5409213 |
|
|
82
84
|
| JOD | OMR | sell | 0.543939 |
|
|
83
|
-
| JPY | OMR | buy | 0.
|
|
84
|
-
| JPY | OMR | sell | 0.
|
|
85
|
-
| KES | OMR | buy | 0.
|
|
86
|
-
| KES | OMR | sell | 0.
|
|
87
|
-
| KRW | OMR | buy | 0.
|
|
88
|
-
| KRW | OMR | sell | 0.
|
|
89
|
-
| KWD | OMR | buy | 1.
|
|
90
|
-
| KWD | OMR | sell | 1.
|
|
85
|
+
| JPY | OMR | buy | 0.0024273 |
|
|
86
|
+
| JPY | OMR | sell | 0.0024338 |
|
|
87
|
+
| KES | OMR | buy | 0.0029577 |
|
|
88
|
+
| KES | OMR | sell | 0.0029707 |
|
|
89
|
+
| KRW | OMR | buy | 0.000287 |
|
|
90
|
+
| KRW | OMR | sell | 0.0002878 |
|
|
91
|
+
| KWD | OMR | buy | 1.2304537 |
|
|
92
|
+
| KWD | OMR | sell | 1.2357567 |
|
|
91
93
|
| LBP | OMR | buy | 0.0000043 |
|
|
92
94
|
| LBP | OMR | sell | 0.0000043 |
|
|
93
|
-
| LKR | OMR | buy | 0.
|
|
94
|
-
| LKR | OMR | sell | 0.
|
|
95
|
-
| MAD | OMR | buy | 0.
|
|
96
|
-
| MAD | OMR | sell | 0.
|
|
97
|
-
| MYR | OMR | buy | 0.
|
|
98
|
-
| MYR | OMR | sell | 0.
|
|
99
|
-
| NOK | OMR | buy | 0.
|
|
100
|
-
| NOK | OMR | sell | 0.
|
|
101
|
-
| NZD | OMR | buy | 0.
|
|
102
|
-
| NZD | OMR | sell | 0.
|
|
103
|
-
| PHP | OMR | buy | 0.
|
|
104
|
-
| PHP | OMR | sell | 0.
|
|
105
|
-
| PKR | OMR | buy | 0.
|
|
106
|
-
| PKR | OMR | sell | 0.
|
|
95
|
+
| LKR | OMR | buy | 0.0011609 |
|
|
96
|
+
| LKR | OMR | sell | 0.0011644 |
|
|
97
|
+
| MAD | OMR | buy | 0.0391997 |
|
|
98
|
+
| MAD | OMR | sell | 0.0393234 |
|
|
99
|
+
| MYR | OMR | buy | 0.0940255 |
|
|
100
|
+
| MYR | OMR | sell | 0.0943512 |
|
|
101
|
+
| NOK | OMR | buy | 0.0404228 |
|
|
102
|
+
| NOK | OMR | sell | 0.0405404 |
|
|
103
|
+
| NZD | OMR | buy | 0.2159616 |
|
|
104
|
+
| NZD | OMR | sell | 0.2165625 |
|
|
105
|
+
| PHP | OMR | buy | 0.0061126 |
|
|
106
|
+
| PHP | OMR | sell | 0.006132 |
|
|
107
|
+
| PKR | OMR | buy | 0.0013834 |
|
|
108
|
+
| PKR | OMR | sell | 0.001391 |
|
|
107
109
|
|
|
108
110
|
[Full table on the Central Bank of Oman rates page](https://allratestoday.com/central-bank-rates-api/cbo/) ยท Source: [Official rates published by CBO, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/cbo/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
109
111
|
<!-- daily-table:end -->
|
|
@@ -160,7 +162,7 @@ const pair = await getRate('USD', 'OMR', { apiKey: 'art_live_...' });
|
|
|
160
162
|
{
|
|
161
163
|
bank: 'cbo',
|
|
162
164
|
name: 'Central Bank of Oman',
|
|
163
|
-
rate_date: '2026-10-
|
|
165
|
+
rate_date: '2026-10-14', // Central Bank of Oman's own publication date
|
|
164
166
|
source: 'USD',
|
|
165
167
|
target: 'OMR',
|
|
166
168
|
rate: 0.385,
|
|
@@ -188,7 +190,7 @@ console.log(table.rate_date, table.rates.length);
|
|
|
188
190
|
{
|
|
189
191
|
bank: 'cbo',
|
|
190
192
|
name: 'Central Bank of Oman',
|
|
191
|
-
rate_date: '2026-10-
|
|
193
|
+
rate_date: '2026-10-14',
|
|
192
194
|
rates: [
|
|
193
195
|
{ "base": "USD", "quote": "OMR", "type": "sell", "value": 0.385 },
|
|
194
196
|
{ "base": "USD", "quote": "OMR", "type": "buy", "value": 0.384 },
|
|
@@ -231,7 +233,7 @@ Paid plans. One resolved rate per publication date โ ready for charting, reval
|
|
|
231
233
|
import { getHistory } from '@allratestoday/cbo-exchange-rate';
|
|
232
234
|
|
|
233
235
|
const series = await getHistory(
|
|
234
|
-
{ source: 'USD', target: 'OMR', from: '2026-01-01', to: '2026-10-
|
|
236
|
+
{ source: 'USD', target: 'OMR', from: '2026-01-01', to: '2026-10-14' },
|
|
235
237
|
{ apiKey: 'art_live_...' }
|
|
236
238
|
);
|
|
237
239
|
```
|
|
@@ -244,11 +246,11 @@ const series = await getHistory(
|
|
|
244
246
|
source: 'USD',
|
|
245
247
|
target: 'OMR',
|
|
246
248
|
from: '2026-01-01',
|
|
247
|
-
to: '2026-10-
|
|
249
|
+
to: '2026-10-14',
|
|
248
250
|
count: 152,
|
|
249
251
|
rates: [
|
|
250
252
|
// one entry per publication date
|
|
251
|
-
{ date: '2026-10-
|
|
253
|
+
{ date: '2026-10-14', rate: 0.385, rate_type: 'sell', derived: false, method: 'published' },
|
|
252
254
|
// โฆ
|
|
253
255
|
],
|
|
254
256
|
disclaimer: 'โฆ'
|
|
@@ -299,6 +301,7 @@ curl "https://allratestoday.com/api/v1/central-bank/cbo/latest?format=xml&api_ke
|
|
|
299
301
|
- MCP server: `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
|
|
300
302
|
- Already using the general SDK or MCP server? Since 2026-10-01 [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk) 1.4+ has `officialRates('cbo')` and [`@allratestoday/mcp-server`](https://www.npmjs.com/package/@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
|
|
301
303
|
- Claude Code plugin (no key): `/plugin marketplace add AllRates-Today/claude-code-plugin` then `/plugin install allratestoday@allratestoday` โ bundles both MCP servers plus an `/official-rate cbo ...` command
|
|
304
|
+
- Need dated tables or history for an evaluation? Agents can self-issue a trial key with no signup: `POST https://allratestoday.com/api/agent/keys` (send `Content-Type: application/json`) returns a 100-call key valid 7 days; the MCP servers expose it as `request_trial_key`
|
|
302
305
|
- Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
|
|
303
306
|
|
|
304
307
|
## โ๏ธ Published vs derived rates
|
|
@@ -367,9 +370,9 @@ getRate('USD', 'OMR', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
|
|
|
367
370
|
|
|
368
371
|
Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
|
|
369
372
|
|
|
370
|
-
- Hugging Face: [
|
|
373
|
+
- Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ one CSV per institution (`rates/cbo.csv`)
|
|
371
374
|
- Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
|
|
372
|
-
-
|
|
375
|
+
- Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/cbo/latest.json`
|
|
373
376
|
|
|
374
377
|
## ๐ Links
|
|
375
378
|
|
package/package.json
CHANGED
|
@@ -1,22 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/cbo-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.13",
|
|
4
4
|
"description": "Official Central Bank of Oman (Oman) daily exchange rates โ 48 currencies vs OMR, history since 2022. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cbo",
|
|
7
|
+
"central-bank-of-oman",
|
|
7
8
|
"central",
|
|
8
9
|
"bank",
|
|
9
|
-
"of",
|
|
10
10
|
"oman",
|
|
11
11
|
"exchange-rate",
|
|
12
12
|
"exchange-rates",
|
|
13
|
+
"exchangerate",
|
|
14
|
+
"exchange rate",
|
|
15
|
+
"omr-exchange-rate",
|
|
13
16
|
"currency",
|
|
14
17
|
"forex",
|
|
15
18
|
"fx",
|
|
16
19
|
"omr",
|
|
20
|
+
"currency-api",
|
|
21
|
+
"currency-exchange-rates",
|
|
22
|
+
"forex-api",
|
|
23
|
+
"currency-conversion",
|
|
24
|
+
"currency-exchange",
|
|
25
|
+
"currency-rates",
|
|
17
26
|
"central-bank",
|
|
18
27
|
"official-rates",
|
|
19
|
-
"oman",
|
|
20
28
|
"api",
|
|
21
29
|
"typescript"
|
|
22
30
|
],
|