@allratestoday/cbtt-exchange-rate 1.3.14 โ 1.3.17
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 +30 -25
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
|
|
21
21
|
> **Official rate, not mid-market:** every value here is a number Central Bank of Trinidad and Tobago 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](https://allratestoday.com/docs/) or [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk). The two can diverge by several percent.
|
|
22
22
|
|
|
23
|
+
## ๐ Get your API key
|
|
24
|
+
|
|
25
|
+
Get a free API key at [allratestoday.com/register](https://allratestoday.com/register) โ no credit card required. Latest rates are on every plan, including free.
|
|
26
|
+
|
|
23
27
|
## โก Try it without a key
|
|
24
28
|
|
|
25
29
|
The latest Central Bank of Trinidad and Tobago table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
|
|
@@ -33,45 +37,45 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/cbtt').th
|
|
|
33
37
|
console.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key
|
|
34
38
|
```
|
|
35
39
|
|
|
36
|
-
The open endpoint serves the *latest* table only
|
|
40
|
+
The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and is free to use with a visible, followable link where the rates are shown: `<a href="https://allratestoday.com">Exchange rates by AllRatesToday</a>` (terms: <https://allratestoday.com/terms/#attribution>). The client below uses the keyed API, which adds point-in-time tables and history; with a key the link is appreciated, not required.
|
|
37
41
|
|
|
38
42
|
## ๐ Latest published table
|
|
39
43
|
|
|
40
44
|
[](https://allratestoday.com/central-bank-rates-api/cbtt/)
|
|
41
45
|
|
|
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
|
|
46
|
+
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 same table as text is folded below 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.
|
|
43
47
|
|
|
44
48
|
<!-- daily-table:start -->
|
|
45
|
-
|
|
49
|
+
<details>
|
|
50
|
+
<summary>Table as text: published 2026-10-20 by Central Bank of Trinidad and Tobago โ 19 rates. Updated 2026-10-21.</summary>
|
|
46
51
|
|
|
47
52
|
| Base | Quote | Type | Rate |
|
|
48
53
|
| --- | --- | --- | ---: |
|
|
49
|
-
| BBD | TTD | buy | 3.
|
|
50
|
-
| BBD | TTD | sell | 3.
|
|
51
|
-
| CAD | TTD | buy | 4.
|
|
52
|
-
| CAD | TTD | sell | 5.
|
|
53
|
-
|
|
|
54
|
-
| EUR | TTD |
|
|
55
|
-
|
|
|
56
|
-
| GBP | TTD |
|
|
57
|
-
|
|
|
58
|
-
| GYD | TTD |
|
|
54
|
+
| BBD | TTD | buy | 3.3179 |
|
|
55
|
+
| BBD | TTD | sell | 3.6337 |
|
|
56
|
+
| CAD | TTD | buy | 4.795 |
|
|
57
|
+
| CAD | TTD | sell | 5.2319 |
|
|
58
|
+
| CHF | TTD | buy | 8.1691 |
|
|
59
|
+
| EUR | TTD | buy | 7.8999 |
|
|
60
|
+
| EUR | TTD | sell | 8.4759 |
|
|
61
|
+
| GBP | TTD | buy | 8.9969 |
|
|
62
|
+
| GBP | TTD | sell | 10.0159 |
|
|
63
|
+
| GYD | TTD | buy | 0.0312 |
|
|
64
|
+
| GYD | TTD | sell | 0.0324 |
|
|
59
65
|
| JMD | TTD | buy | 0.0412 |
|
|
60
|
-
| JMD | TTD | sell | 0.
|
|
61
|
-
| JPY | TTD | buy | 0.
|
|
62
|
-
| JPY | TTD | sell | 0.
|
|
63
|
-
| USD | TTD | buy | 6.
|
|
64
|
-
| USD | TTD | sell | 6.
|
|
65
|
-
| XCD | TTD | buy | 2.
|
|
66
|
-
| XCD | TTD | sell | 2.
|
|
66
|
+
| JMD | TTD | sell | 0.0428 |
|
|
67
|
+
| JPY | TTD | buy | 0.0424 |
|
|
68
|
+
| JPY | TTD | sell | 0.049 |
|
|
69
|
+
| USD | TTD | buy | 6.7138 |
|
|
70
|
+
| USD | TTD | sell | 6.7791 |
|
|
71
|
+
| XCD | TTD | buy | 2.3707 |
|
|
72
|
+
| XCD | TTD | sell | 2.6516 |
|
|
73
|
+
|
|
74
|
+
</details>
|
|
67
75
|
|
|
68
76
|
Source: [Official rates published by CBTT, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/cbtt/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
|
|
69
77
|
<!-- daily-table:end -->
|
|
70
78
|
|
|
71
|
-
## ๐ Get your API key
|
|
72
|
-
|
|
73
|
-
Get a free API key at [allratestoday.com/register](https://allratestoday.com/register) โ no credit card required. Latest rates are on every plan, including free.
|
|
74
|
-
|
|
75
79
|
## ๐ฆ Installation
|
|
76
80
|
|
|
77
81
|
```bash
|
|
@@ -337,7 +341,8 @@ Need the whole archive rather than an API call? The same published tables are mi
|
|
|
337
341
|
- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)
|
|
338
342
|
- [Package docs on the site](https://allratestoday.com/docs/sdk/cbtt-exchange-rate/) ยท [ERP integration guides](https://allratestoday.com/docs/integrations/)
|
|
339
343
|
- [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
|
|
340
|
-
- [Register (
|
|
344
|
+
- [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
|
|
345
|
+
- [Status](https://allratestoday.com/status)
|
|
341
346
|
- [GitHub](https://github.com/AllRates-Today/cbtt-exchange-rate)
|
|
342
347
|
|
|
343
348
|
## ๐ License
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/cbtt-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.17",
|
|
4
4
|
"description": "Official Central Bank of Trinidad and Tobago (Trinidad and Tobago) daily exchange rates โ 9 currencies vs TTD, history since 1991. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cbtt",
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
"exchange-rates",
|
|
14
14
|
"exchangerate",
|
|
15
15
|
"exchange rate",
|
|
16
|
+
"exchange rates",
|
|
16
17
|
"ttd-exchange-rate",
|
|
17
18
|
"currency",
|
|
18
19
|
"forex",
|