@allratestoday/pboc-exchange-rate 1.3.22 → 1.3.25
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 +28 -42
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,58 +24,43 @@
|
|
|
24
24
|
|
|
25
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
26
|
|
|
27
|
-
## ⚡ Try it without a key
|
|
28
|
-
|
|
29
|
-
The latest People's Bank of China table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
curl "https://allratestoday.com/api/open/central-bank/pboc?source=USD&target=CNY"
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
```js
|
|
36
|
-
const r = await fetch('https://allratestoday.com/api/open/central-bank/pboc').then((x) => x.json());
|
|
37
|
-
console.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key
|
|
38
|
-
```
|
|
39
|
-
|
|
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.
|
|
41
|
-
|
|
42
27
|
## 📈 Latest published table
|
|
43
28
|
|
|
44
29
|
[](https://allratestoday.com/central-bank-rates-api/pboc/)
|
|
45
30
|
|
|
46
|
-
The image is rendered live from the keyless endpoint
|
|
31
|
+
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](.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.
|
|
47
32
|
|
|
48
33
|
<!-- daily-table:start -->
|
|
49
34
|
<details>
|
|
50
|
-
<summary>Table as text: published 2026-10-
|
|
35
|
+
<summary>Table as text: published 2026-10-30 by People's Bank of China — 25 rates. Updated 2026-10-30.</summary>
|
|
51
36
|
|
|
52
37
|
| Base | Quote | Type | Rate |
|
|
53
38
|
| --- | --- | --- | ---: |
|
|
54
|
-
| AUD | CNY | reference | 4.
|
|
55
|
-
| CAD | CNY | reference | 4.
|
|
56
|
-
| CHF | CNY | reference | 8.
|
|
57
|
-
| CNY | AED | reference | 0.
|
|
58
|
-
| CNY | DKK | reference |
|
|
59
|
-
| CNY | HUF | reference |
|
|
60
|
-
| CNY | KRW | reference | 200.
|
|
61
|
-
| CNY | MOP | reference | 1.
|
|
62
|
-
| CNY | MXN | reference | 2.
|
|
63
|
-
| CNY | MYR | reference | 0.
|
|
64
|
-
| CNY | NOK | reference | 1.
|
|
65
|
-
| CNY | PLN | reference | 0.
|
|
66
|
-
| CNY | RUB | reference | 12.
|
|
67
|
-
| CNY | SAR | reference | 0.
|
|
68
|
-
| CNY | SEK | reference | 1.
|
|
69
|
-
| CNY | THB | reference | 5.
|
|
70
|
-
| CNY | TRY | reference | 7.
|
|
71
|
-
| CNY | ZAR | reference | 2.
|
|
72
|
-
| EUR | CNY | reference | 7.
|
|
73
|
-
| GBP | CNY | reference | 8.
|
|
74
|
-
| HKD | CNY | reference | 0.
|
|
75
|
-
| JPY | CNY | reference | 0.
|
|
76
|
-
| NZD | CNY | reference | 3.
|
|
77
|
-
| SGD | CNY | reference | 5.
|
|
78
|
-
| USD | CNY | reference | 6.
|
|
39
|
+
| AUD | CNY | reference | 4.695 |
|
|
40
|
+
| CAD | CNY | reference | 4.7777 |
|
|
41
|
+
| CHF | CNY | reference | 8.1255 |
|
|
42
|
+
| CNY | AED | reference | 0.54969 |
|
|
43
|
+
| CNY | DKK | reference | 0.9994 |
|
|
44
|
+
| CNY | HUF | reference | 48.8061 |
|
|
45
|
+
| CNY | KRW | reference | 200.74 |
|
|
46
|
+
| CNY | MOP | reference | 1.2034 |
|
|
47
|
+
| CNY | MXN | reference | 2.8162 |
|
|
48
|
+
| CNY | MYR | reference | 0.60613 |
|
|
49
|
+
| CNY | NOK | reference | 1.3842 |
|
|
50
|
+
| CNY | PLN | reference | 0.58599 |
|
|
51
|
+
| CNY | RUB | reference | 12.182 |
|
|
52
|
+
| CNY | SAR | reference | 0.56164 |
|
|
53
|
+
| CNY | SEK | reference | 1.4729 |
|
|
54
|
+
| CNY | THB | reference | 5.0555 |
|
|
55
|
+
| CNY | TRY | reference | 7.46401 |
|
|
56
|
+
| CNY | ZAR | reference | 2.484 |
|
|
57
|
+
| EUR | CNY | reference | 7.4792 |
|
|
58
|
+
| GBP | CNY | reference | 8.9476 |
|
|
59
|
+
| HKD | CNY | reference | 0.85594 |
|
|
60
|
+
| JPY | CNY | reference | 0.042419 |
|
|
61
|
+
| NZD | CNY | reference | 3.7624 |
|
|
62
|
+
| SGD | CNY | reference | 5.2259 |
|
|
63
|
+
| USD | CNY | reference | 6.7138 |
|
|
79
64
|
|
|
80
65
|
</details>
|
|
81
66
|
|
|
@@ -343,6 +328,7 @@ Need the whole archive rather than an API call? The same published tables are mi
|
|
|
343
328
|
|
|
344
329
|
## 🔗 Links
|
|
345
330
|
|
|
331
|
+
- **Website:** [allratestoday.com](https://allratestoday.com)
|
|
346
332
|
- [People's Bank of China rates page](https://allratestoday.com/central-bank-rates-api/pboc/) — live table, publication cadence, FAQ
|
|
347
333
|
- [All central bank sources](https://allratestoday.com/central-bank-rates-api/)
|
|
348
334
|
- [Package docs on the site](https://allratestoday.com/docs/sdk/pboc-exchange-rate/) · [ERP integration guides](https://allratestoday.com/docs/integrations/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/pboc-exchange-rate",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.25",
|
|
4
4
|
"description": "Official People's Bank of China (China) daily exchange rates — 25 currencies vs CNY, history since 2026. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pboc",
|