Precious Metals
Pricing API
Access gold and silver price indications with a simple RESTful API. Prices update every minute. Supporting MYR and USD currencies.
curl https://price-api.agumgroup.com/api/prices/MYRWhy Choose Our API?
Built for developers who need reliable precious metals data
Minute-by-Minute Updates
Price indications updated every minute. Perfect for price displays and reference applications.
Multi-Currency Support
Currently supporting MYR and USD. Need additional currencies? Reach out via email at hello@agumgroup.com
Flexible Configuration
Customize spread, buyPremium, and sellPremium to match your business needs.
Free to Use.
Supported by Donations
Contribute withBitcoin(BTC), Ethereum(ETH), Solana(SOL), orTron(TRON) — whichever is easiest for you.
Donation Addresses
Donate using any of the supported networks and their addresses below.
BTC
bc1qnqkaqkqsaspwv8cw49ut2kqwwn93r6pmmsdnkxETH
0xBF19Fee8cddD28a8dF623C366b31a0D48035E73fSOL
7XbTJiLQ998DpW1XnGXaLeDAjp1SWgNHgGPwL5x1t7jyTRON
TGWWcEk6uSJLoMBzNa6qpZvQZJHsGj9jhoQuick Start
Get gold prices in MYR with just one API call
curl https://price-api.agumgroup.com/api/prices/MYR
{
"success": true,
"data": [
{
"metal": "gold",
"weBuy": 593.42,
"weSell": 639.79,
"unit": "gram",
"currency": "MYR"
},
{
"metal": "silver",
"weBuy": 9.34,
"weSell": 10.07,
"unit": "gram",
"currency": "MYR"
}
],
"count": 2,
"currency": "MYR"
}API Reference
All endpoints use the base URL: https://price-api.agumgroup.com
/api/prices/{currency}Get current gold & silver prices in the specified currency.
| Parameter | Type | Required | Description |
|---|---|---|---|
currency | string | true | Currency code: MYR or USD |
unit | string | false | Weight unit: gram (default) or ounce |
spread | number | false | Custom spread percentage |
buy_premium | number | false | Premium added to buy price |
sell_premium | number | false | Premium added to sell price |
/convertConvert between weight units for the asset.
| Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | true | Amount of weight |
from | string | true | From weight unit |
to | string | true | Target weight unit |
/spread/calculatorCalculate custom prices with spreads.
| Parameter | Type | Required | Description |
|---|---|---|---|
price | string | true | The spot price of the asset |
spread | number | true | Custom spread percentage |
/premium/calculatorCalculate custom prices with spreads and premiums.
| Parameter | Type | Required | Description |
|---|---|---|---|
spot | string | true | The spot price of the asset |
spread | number | true | Custom spread percentage |
buy_premium | number | true | Premium added to buy price |
sell_premium | number | true | Premium added to sell price |
API Playground
Test API endpoints in real-time with custom parameters
https://price-api.agumgroup.com/?// Click Send to test the endpoint