Parameters
unit string oz, g, 10g, tola, or kg. Defaults to oz.
Example: tola
amount number How many of that unit to price. Defaults to 1.
Example: 1
Responses
200
OK Success{
"ok": true,
"metal": "platinum",
"symbol": "XPT",
"currency": "USD",
"price": 1783,
"unit": "oz",
"amount": 1,
"totalUsd": 1783
}400
BAD_REQUEST unknown unit502
BAD_GATEWAY could not load the platinum price