Skip to main content
GET
/
api
/
trading
/
gold
/
price
curl -X GET https://oro-tradebook-devnet.up.railway.app/api/trading/gold/price
{
  "success": true,
  "data": {
    "price": "5086.20",
    "unit": "troy_ounce",
    "currency": "USD",
    "timestamp": "2024-01-15T10:30:00.000Z"
  }
}

Overview

Returns the current gold price per troy ounce in USD. This endpoint is public and does not require authentication. The price is sourced from Pyth Network oracle for accurate real-time market data.

Response

success
boolean
Whether the request was successful
data
object
curl -X GET https://oro-tradebook-devnet.up.railway.app/api/trading/gold/price
{
  "success": true,
  "data": {
    "price": "5086.20",
    "unit": "troy_ounce",
    "currency": "USD",
    "timestamp": "2024-01-15T10:30:00.000Z"
  }
}