Malaysian ringgit exchange rates + OPR (Bank Negara Malaysia data) ($0.002/call)
myr_rates$0.002 per call (x402, USDC on Base; free trial: add "trial": true or use try_free). [Data utilities] Bank Negara Malaysia exchange rates against the ringgit (buying, selling, middle; MYR per unit) for one currency or ALL, plus the current Overnight Policy Rate. Source: Bank Negara Malaysia; data subject to the Terms of Use for BNM Datasets; not endorsed by BNM. Cached 15 min. ~0.5-2 s.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"currency": "<currency>"
},
"name": "myr_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trial | No | Optional. true = free if a trial call is left (3 per IP per UTC day), else the payment terms. | |
| currency | Yes | 3-letter currency code to price in ringgit, e.g. USD, SGD or EUR, or ALL for every currency BNM publishes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| tool | No | ||
| cache | No | ||
| rates | No | ||
| _trial | No | Present when the call was a free trial call. | |
| session | No | ||
| currency | No | ||
| provider | No | ||
| price_usd | No | ||
| attribution | No | ||
| overnight_policy_rate | No |