Access real-time Graphite Africa (AF-GR) prices using this API

Access Real-Time Graphite Africa (AF-GR) Prices Using This API
In the rapidly evolving landscape of metal markets, the ability to access real-time data is crucial for developers and businesses alike. One such valuable resource is the Metals-API, which provides comprehensive access to various metal prices, including Graphite Africa (AF-GR). This blog post will delve into the capabilities of the Metals-API, focusing on its innovative features, technical specifications, and how it empowers developers to create next-generation applications.
Metals-API Information
About Tellurium (TE)
As we explore the world of metals, it is essential to recognize the role of digital transformation in metal markets. The integration of technological innovations and advancements has revolutionized how we access and analyze metal prices. With the rise of data analytics and smart technology, developers can now harness real-time insights to make informed decisions.
Tellurium (TE), a lesser-known but significant metal, exemplifies the importance of staying updated with market trends. As industries increasingly rely on Tellurium for various applications, understanding its market dynamics becomes essential. The Metals-API facilitates this by providing real-time data, enabling developers to build applications that can track price fluctuations, analyze historical trends, and predict future movements.
API Description
The Metals-API is a powerful tool designed to provide real-time and historical data for various metals, including precious and industrial metals. This API is particularly beneficial for developers looking to integrate metal pricing data into their applications. By leveraging the capabilities of the Metals-API, developers can create innovative solutions that enhance user experience and provide valuable insights.
One of the standout features of the Metals-API is its ability to deliver real-time exchange rate data. Depending on the subscription plan, users can access the latest rates updated every 60 minutes or even every 10 minutes. This level of granularity allows businesses to react swiftly to market changes, ensuring they remain competitive.
The API also supports a variety of endpoints that cater to different needs. For instance, the Historical Rates Endpoint allows users to access historical data dating back to 2019, providing a comprehensive view of price trends over time. This feature is invaluable for analysts and developers who need to conduct thorough market research.
Key Features and Endpoints
The Metals-API offers a plethora of endpoints, each designed to serve specific functions. Here are some of the key features:
- Latest Rates Endpoint: This endpoint provides real-time exchange rate data for all available metals. For example, a request to this endpoint might return the latest prices for Gold (XAU), Silver (XAG), and Platinum (XPT), allowing developers to display current market conditions in their applications.
- Historical Rates Endpoint: Users can query historical rates by appending a date to the API request. This feature is particularly useful for analyzing trends and making predictions based on past performance.
- Bid and Ask Endpoint: This powerful feature enables users to retrieve real-time Bid and Ask prices for metals. This information is crucial for traders who need to make quick decisions based on market conditions.
- Convert Endpoint: The Metals-API includes a currency conversion endpoint, allowing users to convert amounts from one metal to another or to/from USD. This feature simplifies transactions and enhances user experience.
- Time-Series Endpoint: This endpoint allows users to query daily historical rates between two specified dates. It is particularly useful for developers looking to visualize trends over time.
- Fluctuation Endpoint: Users can track how metal prices fluctuate on a day-to-day basis, providing insights into market volatility and helping businesses make informed decisions.
- Carat Endpoint: This feature allows users to retrieve information about Gold rates by Carat, catering to specific market needs.
- Lowest/Highest Price Endpoint: Users can query the API to get the lowest and highest prices for a specified date, helping them identify market extremes.
- Open/High/Low/Close (OHLC) Price Endpoint: This endpoint provides detailed price information for a specific time period, including open, high, low, and close prices.
- Historical LME Endpoint: Users can access historical rates for LME symbols dating back to 2008, which is invaluable for long-term market analysis.
- API Key: Each user is assigned a unique API key that must be included in requests to authenticate access to the API.
- API Response: The Metals-API delivers exchange rates relative to USD by default, ensuring consistency across responses.
- Available Endpoints: The API features 14 different endpoints, each providing unique functionalities tailored to various user needs.
- Supported Symbols Endpoint: This endpoint returns a constantly updated list of all available currencies and metals, ensuring users have access to the latest information.
- Gold Price India Endpoint: Users can retrieve the latest gold price in India, catering to a specific market segment.
- News Endpoint: This feature allows users to access the latest news articles related to various metals, keeping them 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 integrate specific metal data into their applications.
API Endpoint Examples and Responses
Understanding the structure of API responses is crucial for effective integration. Below are examples of responses from various endpoints:
Latest Rates Endpoint
{
"success": true,
"timestamp": 1760083244,
"base": "USD",
"date": "2025-10-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"
}
This response indicates the success of the request, the timestamp of the data, the base currency (USD), and the latest rates for various metals. Developers can use this information to display current market prices in their applications.
Historical Rates Endpoint
{
"success": true,
"timestamp": 1759996844,
"base": "USD",
"date": "2025-10-09",
"rates": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915,
"XPD": 0.000748
},
"unit": "per troy ounce"
}
This example shows how to access historical rates for specific metals on a given date. The response includes the base currency, the date of the rates, and the rates for each metal.
Time-Series Endpoint
{
"success": true,
"timeseries": true,
"start_date": "2025-10-03",
"end_date": "2025-10-10",
"base": "USD",
"rates": {
"2025-10-03": {
"XAU": 0.000485,
"XAG": 0.03825,
"XPT": 0.000915
},
"2025-10-05": {
"XAU": 0.000483,
"XAG": 0.0382,
"XPT": 0.000913
},
"2025-10-10": {
"XAU": 0.000482,
"XAG": 0.03815,
"XPT": 0.000912
}
},
"unit": "per troy ounce"
}
This response illustrates how to retrieve exchange rates for a specific time period, allowing developers to analyze trends over time.
Convert Endpoint
{
"success": true,
"query": {
"from": "USD",
"to": "XAU",
"amount": 1000
},
"info": {
"timestamp": 1760083244,
"rate": 0.000482
},
"result": 0.482,
"unit": "troy ounces"
}
The Convert Endpoint allows users to convert amounts from one metal to another or to/from USD. The response includes the conversion details, the rate used, and the result of the conversion.
Fluctuation Endpoint
{
"success": true,
"fluctuation": true,
"start_date": "2025-10-03",
"end_date": "2025-10-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"
}
This endpoint tracks rate fluctuations between two dates, providing insights into market volatility. Developers can use this information to inform trading strategies and market analysis.
OHLC (Open/High/Low/Close) Price Endpoint
{
"success": true,
"timestamp": 1760083244,
"base": "USD",
"date": "2025-10-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"
}
This response provides detailed price information for a specific time period, including the opening, high, low, and closing prices. This data is essential for traders and analysts looking to evaluate market performance.
Bid/Ask Endpoint
{
"success": true,
"timestamp": 1760083244,
"base": "USD",
"date": "2025-10-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"
}
The Bid/Ask Endpoint provides current bid and ask prices for metals, which is crucial for traders who need to make quick decisions based on market conditions.
Conclusion
The Metals-API is an invaluable resource for developers looking to access real-time and historical metal prices, including Graphite Africa (AF-GR). With its extensive range of endpoints, the API empowers users to create innovative applications that leverage real-time data for market analysis, trading strategies, and more. By integrating the Metals-API into their projects, developers can enhance user experience and provide valuable insights into the metal markets.
For more information on how to get started with the Metals-API, visit the Metals-API Documentation and explore the various features and capabilities it offers. Additionally, check out the Metals-API Supported Symbols page for a comprehensive list of available metals and currencies.
In a world where data-driven decisions are paramount, the Metals-API stands out as a transformative tool that can help developers and businesses thrive in the competitive landscape of metal markets.