Access live Gold Bid (XAU-BID) prices using this API
 
                                Access Live Gold Bid (XAU-BID) Prices Using This API
In the ever-evolving landscape of financial technology, the demand for real-time data has never been more critical. For developers and traders alike, accessing live Gold Bid (XAU-BID) prices is essential for making informed decisions. The Metals-API offers a robust solution for retrieving real-time and historical data on precious metals, including gold, silver, platinum, and palladium. This blog post delves into the capabilities of the Metals-API, focusing on how it empowers developers to create innovative applications that leverage real-time metals data.
Metals-API Information
About Gold (XAU)
Gold, represented by the symbol XAU, has long been a cornerstone of the global economy. Its intrinsic value and historical significance make it a preferred asset for investors and traders. In recent years, the digital transformation in precious metals has opened new avenues for data analytics and market insights. The integration of technology in trading has revolutionized how market participants discover prices and execute trades.
With the rise of digital asset solutions, gold trading has become more accessible than ever. The Metals-API plays a pivotal role in this transformation by providing developers with the tools needed to access real-time gold prices, historical data, and market trends. By utilizing advanced data analytics, traders can gain insights into market movements, optimize their trading strategies, and enhance their decision-making processes.
API Description
The Metals-API is designed to provide developers with comprehensive access to real-time and historical metals data. This API is a game-changer for those looking to build next-generation applications that require accurate and timely information. With a focus on innovation and technological advancement, the Metals-API empowers users to harness the transformative potential of real-time metals data.
Developers can easily integrate the Metals-API into their applications, allowing them to retrieve live prices, historical rates, and other valuable data points. The API's capabilities extend beyond simple data retrieval; it offers a range of endpoints that cater to various use cases, from price discovery to currency conversion.
For more detailed information, developers can refer to the Metals-API Documentation, which provides comprehensive guidance on how to utilize the API effectively.
Key Features and Endpoints
The Metals-API boasts a variety of endpoints, each designed to serve specific needs. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for metals, updated every 60 minutes, every 10 minutes, or even more frequently, depending on your subscription plan. This feature is crucial for traders who need to stay updated on market fluctuations.
- Historical Rates Endpoint: Access historical rates for most currencies dating back to 2019. By appending a specific date to the API call, users can retrieve past rates, enabling them to analyze trends and make informed decisions based on historical data.
- Bid And Ask Endpoint: This powerful feature allows users to retrieve real-time bid and ask prices for metals. Understanding the spread between these prices is essential for traders looking to optimize their entry and exit points.
- Convert Endpoint: The API includes a currency conversion endpoint, allowing users to convert any amount from one metal to another or to/from USD. This feature is particularly useful for traders dealing with multiple currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two dates of their choice. This functionality is invaluable for conducting in-depth analyses and understanding price movements over time.
- Fluctuation Endpoint: This endpoint provides information about how currencies fluctuate on a day-to-day basis. Traders can track these fluctuations to identify patterns and make strategic decisions.
- Carat Endpoint: Retrieve information about gold rates by carat. This feature is particularly relevant for jewelers and those involved in the jewelry market.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, helping traders identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to obtain the open, high, low, and close prices for a specific time period, providing a comprehensive view of market performance.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, allowing for extensive analysis of market trends.
- API Key: The API requires an API key, which is passed into the API base URL's access_key parameter for authentication.
- API Response: Exchange rates delivered by the Metals-API are by default relative to USD. All data is returned in a structured JSON format, making it easy to integrate into applications.
- Available Endpoints: The Metals-API offers 14 endpoints, each providing unique functionalities tailored to different user needs.
- Supported Symbols Endpoint: This endpoint returns all available currencies, ensuring users have access to the most up-to-date information.
- News Endpoint: Retrieve the latest news articles related to various metals, keeping users informed about market developments.
List of Symbols
The Metals-API provides access to a comprehensive range of metal symbols. For a complete list of all supported symbols and their specifications, refer to the Metals-API Supported Symbols page. This resource is invaluable for developers looking to understand the full scope of available data.
API Endpoint Examples and Responses
Latest Rates Endpoint
Get real-time exchange rates for all available metals.
{
    "success": true,
    "timestamp": 1761879646,
    "base": "USD",
    "date": "2025-10-31",
    "rates": {
        "XAU": 0.000482,
        "XAG": 0.03815,
        "XPT": 0.000912,
        "XPD": 0.000744,
        "XCU": 0.294118,
        "XAL": 0.434783,
        "XNI": 0.142857,
        "XZN": 0.344828
    },
    "unit": "per troy ounce"
}Historical Rates Endpoint
Access historical exchange rates for any date since 1999.
{
    "success": true,
    "timestamp": 1761793246,
    "base": "USD",
    "date": "2025-10-30",
    "rates": {
        "XAU": 0.000485,
        "XAG": 0.03825,
        "XPT": 0.000915,
        "XPD": 0.000748
    },
    "unit": "per troy ounce"
}Time-series Endpoint
Get exchange rates for a specific time period.
{
    "success": true,
    "timeseries": true,
    "start_date": "2025-10-24",
    "end_date": "2025-10-31",
    "base": "USD",
    "rates": {
        "2025-10-24": {
            "XAU": 0.000485,
            "XAG": 0.03825,
            "XPT": 0.000915
        },
        "2025-10-26": {
            "XAU": 0.000483,
            "XAG": 0.0382,
            "XPT": 0.000913
        },
        "2025-10-31": {
            "XAU": 0.000482,
            "XAG": 0.03815,
            "XPT": 0.000912
        }
    },
    "unit": "per troy ounce"
}Convert Endpoint
Convert any amount from one metal to another or to/from USD.
{
    "success": true,
    "query": {
        "from": "USD",
        "to": "XAU",
        "amount": 1000
    },
    "info": {
        "timestamp": 1761879646,
        "rate": 0.000482
    },
    "result": 0.482,
    "unit": "troy ounces"
}Fluctuation Endpoint
Track rate fluctuations between two dates.
{
    "success": true,
    "fluctuation": true,
    "start_date": "2025-10-24",
    "end_date": "2025-10-31",
    "base": "USD",
    "rates": {
        "XAU": {
            "start_rate": 0.000485,
            "end_rate": 0.000482,
            "change": -3.0e-6,
            "change_pct": -0.62
        },
        "XAG": {
            "start_rate": 0.03825,
            "end_rate": 0.03815,
            "change": -0.0001,
            "change_pct": -0.26
        },
        "XPT": {
            "start_rate": 0.000915,
            "end_rate": 0.000912,
            "change": -3.0e-6,
            "change_pct": -0.33
        }
    },
    "unit": "per troy ounce"
}OHLC (Open/High/Low/Close) Endpoint
Get OHLC data for a specific time period.
{
    "success": true,
    "timestamp": 1761879646,
    "base": "USD",
    "date": "2025-10-31",
    "rates": {
        "XAU": {
            "open": 0.000485,
            "high": 0.000487,
            "low": 0.000481,
            "close": 0.000482
        },
        "XAG": {
            "open": 0.03825,
            "high": 0.0383,
            "low": 0.0381,
            "close": 0.03815
        },
        "XPT": {
            "open": 0.000915,
            "high": 0.000918,
            "low": 0.00091,
            "close": 0.000912
        }
    },
    "unit": "per troy ounce"
}Bid/Ask Endpoint
Get current bid and ask prices for metals.
{
    "success": true,
    "timestamp": 1761879646,
    "base": "USD",
    "date": "2025-10-31",
    "rates": {
        "XAU": {
            "bid": 0.000481,
            "ask": 0.000483,
            "spread": 2.0e-6
        },
        "XAG": {
            "bid": 0.0381,
            "ask": 0.0382,
            "spread": 0.0001
        },
        "XPT": {
            "bid": 0.000911,
            "ask": 0.000913,
            "spread": 2.0e-6
        }
    },
    "unit": "per troy ounce"
}Conclusion
In conclusion, the Metals-API is an invaluable tool for developers looking to access live Gold Bid (XAU-BID) prices and other precious metals data. Its comprehensive range of endpoints, including real-time rates, historical data, and conversion capabilities, empowers users to build innovative applications that leverage the power of real-time data analytics. By integrating the Metals-API into their projects, developers can enhance their trading strategies, optimize decision-making, and stay ahead in the competitive landscape of precious metals trading.
For further exploration of the API's capabilities, developers are encouraged to visit the Metals-API Documentation for detailed guidance and examples. Additionally, the Metals-API Supported Symbols page provides a comprehensive list of available metal symbols, ensuring users have access to the most relevant data for their applications.
As the financial landscape continues to evolve, staying informed and leveraging the right tools will be crucial for success. The Metals-API stands at the forefront of this transformation, offering developers the resources they need to thrive in the world of precious metals trading.