Metals API
Unlock Real-Time Financial Market Data for Gold, Silver, Platinum, Palladium, Copper, Nickle, Zinc, Aluminium and Lead in over 160 currencies
Need something else? -
1{
2 "status": "success",
3 "data": {
4 "base_currency": "USD",
5 "symbols": "XAU,XAG,XPD,XPT,XCU,NI,ZNC,ALU,LEAD",
6 "rates": {
7 "XAU": {
8 "open": 2655.49,
9 "high": 2670.14,
10 "low": 2632.04,
11 "prev": 2655.87,
12 "current": 2653.27
13 },
14 "XAG": {
15 "open": 32.0445,
16 "high": 32.9625,
17 "low": 31.5025,
18 "prev": 32.0295,
19 "current": 32.2025
20 },
21 "XPD": {
22 "open": 9
Join the 3000+ developers and businesses accross 70+ countries that trust us to deliver
Interactive Documentation
Use our interactive documentation and code generation to get going in seconds
GET/v1/latest
This API endpoint allows you to retrieve the latest rates for various metals based on a specified base currency.
Header(s)
x-api-key required
Value should be your API Key- get one here
Query Parameter(s)
symbolsrequired
base_currencyrequired
Example Request
- C#
- Java
- JavaScript
- NodeJs
- PHP
- Python
- Axios
- Native
- Request
- Unirest
Loading...
GET/v1/market-data
This endpoint retrieves market data for various metals based on the provided symbols and base currency.
Header(s)
x-api-key required
Value should be your API Key- get one here
Query Parameter(s)
symbolsoptional
Comma seperate values from supported symbols list.
base_currencyoptional
desired currency for pricing information
Example Request
- C#
- Java
- JavaScript
- NodeJs
- PHP
- Python
- Axios
- Native
- Request
- Unirest
Loading...
GET/v1/supported-currencies
This endpoint makes an HTTP GET request to retrieve a list of supported currency symbols
Header(s)
x-api-key required
Value should be your API Key- get one here
Query Parameter(s)
searchoptional
Search avaliable currencies that are supported using codes or names
Example Request
- C#
- Java
- JavaScript
- NodeJs
- PHP
- Python
- Axios
- Native
- Request
- Unirest
Loading...
GET/v1/supported-metals
This endpoint makes an HTTP GET request to retrieve a list of supported metal symbols
Header(s)
x-api-key required
Value should be your API Key- get one here
Query Parameter(s)
searchoptional
Search avaliable metals that are supported using codes or names
Example Request
- C#
- Java
- JavaScript
- NodeJs
- PHP
- Python
- Axios
- Native
- Request
- Unirest
Loading...