MeltValue
v1.0.1Live gold, silver, platinum and palladium spot prices plus melt value math for scrap and US coins.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_spot_prices Live metal spot prices
Current spot prices for gold, silver, platinum and palladium in US dollars, per troy ounce and per gram, with the change for the day. Data from MeltValue.com.
get_metal_price Price of one metal
Current spot price of one precious metal in US dollars per troy ounce, gram and kilogram, with the change for the day. Data from MeltValue.com.
| Parameter | Type | Description |
|---|---|---|
metal * | string | Which metal to price. |
calculate_melt_value Melt value calculator
Melt value in US dollars of an item made of gold, silver, platinum or palladium, from its weight and purity at the live spot price. Give purity as karat (gold, for example 14) or as fineness (for example 0.925 for sterling silver). Melt value is the metal content value; buyers pay a percentage of it. Calculation by MeltValue.com.
| Parameter | Type | Description |
|---|---|---|
metal * | string | Metal the item is made of. |
weight * | number | Weight of the item. |
fineness | number | Purity as a decimal fraction, for example 0.925, 0.999 or 0.585. Use this or karat. |
karat | number | Gold purity in karats, 1 to 24. Use this or fineness. |
unit | string | Unit of the weight. Defaults to gram. "ounce" is the ordinary 28.35 g ounce; "troy_ounce" is 31.1 g. |
get_coin_melt_value US coin melt value
Melt value in US dollars of common US gold and silver coins at the live spot price, based on each coin's precious metal content. Collector value can be higher. Calculation by MeltValue.com.
| Parameter | Type | Description |
|---|---|---|
coin * | string | Which coin. |
quantity | integer | How many coins. Defaults to 1. |