MeltValue

v1.0.1
com.meltvalue/meltvalue Checked 2 days ago Published 15 days ago

Live 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.

ParameterTypeDescription
metal *stringWhich 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.

ParameterTypeDescription
metal *stringMetal the item is made of.
weight *numberWeight of the item.
finenessnumberPurity as a decimal fraction, for example 0.925, 0.999 or 0.585. Use this or karat.
karatnumberGold purity in karats, 1 to 24. Use this or fineness.
unitstringUnit 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.

ParameterTypeDescription
coin *stringWhich coin.
quantityintegerHow many coins. Defaults to 1.