Get monthly averages of Graphite South America (SA-GR) prices using this API

Get Monthly Averages of Graphite South America (SA-GR) Prices Using This API
Metals-API, developers can access a wealth of information that empowers them to build next-generation applications tailored to the needs of the metal industry.
Metals-API Information
About Graphite and Its Markets
Technological Innovation and Advancement
Data Analytics and Insights
Smart Technology Integration
Future Trends and Possibilities
API Description
Metals-API is a powerful tool that provides developers with access to real-time and historical data for various metals, including graphite. With its user-friendly interface and comprehensive documentation, the API empowers developers to build applications that can analyze market trends, track price fluctuations, and convert currencies with ease. The API's capabilities extend beyond mere data retrieval; it offers a transformative potential that can redefine how businesses interact with metal markets.
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 every 10 minutes. This allows users to stay informed about the latest market conditions.
- Historical Rates Endpoint: Access historical rates for most metals dating back to 2019. Users can query the API for historical rates by appending a specific date, enabling them to analyze past performance.
- Bid And Ask Endpoint: This feature allows users to retrieve real-time bid and ask prices for metals, providing insights into market liquidity and pricing dynamics.
- 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 is particularly useful for traders operating in multiple currencies.
- Time-Series Endpoint: Users can query the API for daily historical rates between two dates of their choice, facilitating in-depth analysis of price movements over time.
- Fluctuation Endpoint: This endpoint provides information about how metal prices fluctuate on a day-to-day basis, helping users identify trends and make informed decisions.
- Carat Endpoint: Retrieve information about gold rates by carat, allowing users to understand the value of gold in different purities.
- Lowest/Highest Price Endpoint: Query the API to get the lowest and highest price for a specified date, providing insights into market volatility.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint allows users to get the open, high, low, and close prices for a specific time period, essential for technical analysis.
- Historical LME Endpoint: Access historical rates for LME symbols dating back to 2008, enabling users to analyze long-term trends.
- API Key: The unique key required to access the API, ensuring secure and authorized usage.
- API Response: Exchange rates delivered by the Metals-API are by default relative to USD, with all data returned in a structured JSON format.
- Available Endpoints: The API comes with a constantly updated endpoint returning all available currencies and metals.
- Gold Price India Endpoint: Retrieve the latest gold price in India using the dedicated endpoint, catering to regional market needs.
- News Endpoint: Stay updated with the latest news articles related to various metals, providing context to market movements.
API Endpoint Examples and Responses
Latest Rates Endpoint
{
"success": true,
"timestamp": 1754812825,
"base": "USD",
"date": "2025-08-10",
"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"
}
success field indicates whether the request was successful. The timestamp
provides the time of the request, while the base
indicates the currency against which the rates are provided. The rates
object contains the exchange rates for various metals, with the unit specified as "per troy ounce."
Historical Rates Endpoint
{
"success": true,
"timestamp": 1754726425,
"base": "USD",
"date": "2025-08-09",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
date field specifies the date for which the rates are provided, and the rates
object contains the corresponding values.
Time-series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-08-03",
"end_date": "2025-08-10",
"base": "USD",
"rates": {
"2025-08-03": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-08-05": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-08-10": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
start_date and end_date
fields define the range, while the rates
object contains daily values.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1754812825,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
query object specifies the conversion parameters, while the result
field provides the converted value.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-08-03",
"end_date": "2025-08-10",
"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"
}
change and change_pct
fields indicate the amount and percentage change, respectively.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1754812825,
"base": "USD",
"date": "2025-08-10",
"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
{
"success": true,
"timestamp": 1754812825,
"base": "USD",
"date": "2025-08-10",
"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"
}
bid and ask
prices indicating the current market conditions.
Conclusion
Metals-API Documentation, check the Metals-API Supported Symbols, and visit the Metals-API Website to get started on your journey towards harnessing the power of real-time metals data.