Get Accurate iShares Gold Strategy ETF (IAUF) Prices in Multiple Currencies with this API

Metals-API 1 min read
Get Accurate iShares Gold Strategy ETF (IAUF) Prices in Multiple Currencies with this API

Get Accurate iShares Gold Strategy ETF (IAUF) Prices in Multiple Currencies with this API

Metals-API provides a powerful solution for obtaining precise prices of precious metals, including the iShares Gold Strategy ETF (IAUF), in various currencies. This blog post will explore how Metals-API empowers developers to integrate real-time gold pricing into their applications, enhancing decision-making processes and enabling innovative financial solutions.

About Gold (XAU)

API Description

Key Features and Endpoints

  • Latest Rates Endpoint: Depending on your subscription plan, this endpoint returns real-time exchange rate data updated every 60 minutes or more frequently. For example, a typical response might look like this:
  • {
    "success": true,
    "timestamp": 1755302612,
    "base": "USD",
    "date": "2025-08-16",
    "rates": {
    "XAU": 0.000482,
    "XAG": 0.03815,
    "XPT": 0.000912,
    "XPD": 0.000744
    },
    "unit": "per troy ounce"
    }
  • Historical Rates Endpoint: Access historical rates dating back to 2019. This feature is invaluable for trend analysis and market research. A typical response might include:
  • {
    "success": true,
    "timestamp": 1755216212,
    "base": "USD",
    "date": "2025-08-15",
    "rates": {
    "XAU": 0.000485,
    "XAG": 0.03825
    },
    "unit": "per troy ounce"
    }
  • Bid And Ask Endpoint: This powerful feature allows you to retrieve real-time bid and ask prices for metals, essential for traders looking to make informed decisions. An example response could be:
  • {
    "success": true,
    "timestamp": 1755302612,
    "base": "USD",
    "date": "2025-08-16",
    "rates": {
    "XAU": {
    "bid": 0.000481,
    "ask": 0.000483,
    "spread": 2.0e-6
    }
    },
    "unit": "per troy ounce"
    }
  • Convert Endpoint: Easily convert any amount from one currency to another. For instance, converting 1000 USD to XAU would yield:
  • {
    "success": true,
    "query": {
    "from": "USD",
    "to": "XAU",
    "amount": 1000
    },
    "info": {
    "timestamp": 1755302612,
    "rate": 0.000482
    },
    "result": 0.482,
    "unit": "troy ounces"
    }
  • Time-Series Endpoint: This endpoint allows you to query daily historical rates between two dates, providing insights into market trends over time. A sample response might look like this:
  • {
    "success": true,
    "timeseries": true,
    "start_date": "2025-08-09",
    "end_date": "2025-08-16",
    "base": "USD",
    "rates": {
    "2025-08-09": {
    "XAU": 0.000485
    },
    "2025-08-16": {
    "XAU": 0.000482
    }
    },
    "unit": "per troy ounce"
    }
  • Fluctuation Endpoint: Track how currencies fluctuate on a day-to-day basis. This is crucial for understanding market volatility. An example response could be:
  • {
    "success": true,
    "fluctuation": true,
    "start_date": "2025-08-09",
    "end_date": "2025-08-16",
    "base": "USD",
    "rates": {
    "XAU": {
    "start_rate": 0.000485,
    "end_rate": 0.000482,
    "change": -3.0e-6,
    "change_pct": -0.62
    }
    },
    "unit": "per troy ounce"
    }
  • Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides essential market data for traders, including the open, high, low, and close prices for a specific time period. A typical response might look like:
  • {
    "success": true,
    "timestamp": 1755302612,
    "base": "USD",
    "date": "2025-08-16",
    "rates": {
    "XAU": {
    "open": 0.000485,
    "high": 0.000487,
    "low": 0.000481,
    "close": 0.000482
    }
    },
    "unit": "per troy ounce"
    }
  • Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, which is crucial for comprehensive market analysis.
  • API Key: Each user is assigned a unique API key that must be included in requests to authenticate access.
  • API Response: All exchange rates are delivered relative to USD by default, ensuring consistency across data retrieval.
  • Supported Symbols Endpoint: This endpoint provides a constantly updated list of all available currencies and metals, which can be found on the Metals-API Supported Symbols page.
  • Gold Price India Endpoint: Retrieve the latest gold price in India using this dedicated endpoint, which is particularly useful for regional investors.
  • News Endpoint: Stay updated with the latest news articles related to various metals, providing context and insights into market movements.

Practical Applications of Metals-API

  • Investment Platforms: Financial applications can integrate Metals-API to provide users with real-time gold prices, enhancing their investment strategies.
  • Market Analysis Tools: Analysts can utilize historical data from the API to identify trends and make predictions about future movements in the gold market.
  • E-commerce Solutions: Businesses selling gold products can use the API to display current prices in various currencies, improving customer experience.
  • Financial Reporting: Companies can automate their financial reporting processes by integrating Metals-API to fetch real-time data for their reports.

Conclusion

Metals-API Documentation to explore the full capabilities of this powerful API. By leveraging the insights provided by Metals-API, you can stay ahead in the competitive world of precious metals trading.