Real-time Market Data

Precious Metals
Pricing API

Access gold and silver price indications with a simple RESTful API. Prices update every minute. Supporting MYR and USD currencies.

terminal
$curl https://price-api.agumgroup.com/api/prices/MYR

Why 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

bc1qnqkaqkqsaspwv8cw49ut2kqwwn93r6pmmsdnkx

ETH

0xBF19Fee8cddD28a8dF623C366b31a0D48035E73f

SOL

7XbTJiLQ998DpW1XnGXaLeDAjp1SWgNHgGPwL5x1t7jy

TRON

TGWWcEk6uSJLoMBzNa6qpZvQZJHsGj9jho

Quick Start

Get gold prices in MYR with just one API call

GETRequest
curl https://price-api.agumgroup.com/api/prices/MYR
200Response
{
  "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

GET
/api/prices/{currency}

Get current gold & silver prices in the specified currency.

ParameterTypeDescription
currencystringCurrency code: MYR or USD
unitstringWeight unit: gram (default) or ounce
spreadnumberCustom spread percentage
buy_premiumnumberPremium added to buy price
sell_premiumnumberPremium added to sell price
GET
/convert

Convert between weight units for the asset.

ParameterTypeDescription
amountnumberAmount of weight
fromstringFrom weight unit
tostringTarget weight unit
GET
/spread/calculator

Calculate custom prices with spreads.

ParameterTypeDescription
pricestringThe spot price of the asset
spreadnumberCustom spread percentage
GET
/premium/calculator

Calculate custom prices with spreads and premiums.

ParameterTypeDescription
spotstringThe spot price of the asset
spreadnumberCustom spread percentage
buy_premiumnumberPremium added to buy price
sell_premiumnumberPremium added to sell price

API Playground

Test API endpoints in real-time with custom parameters

30 req/min left
https://price-api.agumgroup.com/?
Response

// Click Send to test the endpoint