Live and Historical Metals Rates API

Live and Historical Metals Rates API

Live and Historical Metals Rates API provides real-time and historical data on global metal prices. The API covers a wide range of metals including gold, silver, copper, and more. Easy to use and integrate with any application, it's perfect for keeping track of metal prices.

About the API:

Our Live and Historical Metals Rates API provides real-time and historical data on global metal prices. The API covers a wide range of metals including gold, silver, copper, platinum, and more. This makes it a valuable tool for businesses and individuals in the metal trading and investing space.

The API is designed to be easy to use, making it accessible to developers of all skill levels. It can be easily integrated with any application, such as a website, mobile app, or server-side application, via a simple API call. The API also supports multiple programming languages, allowing you to choose the one that best suits your needs.

The API provides real-time data on metal prices, which is essential for businesses and investors that need to make quick decisions based on market conditions. The API also provides historical data, which can be used for analysis, research, and backtesting of trading strategies.

This API is perfect for businesses that operate in the metal trading and investing space, such as metal traders, investment firms, financial institutions, and research organizations. It can be used for a variety of purposes, such as risk management, price forecasting, and market analysis.

Overall, our Live and Historical Metals Rates API is a powerful tool for businesses and individuals in the metal trading and investing space. With real-time and historical data on a wide range of metals, this API makes it easy to stay informed and make informed decisions based

Available Symbols:

Metals

SYMBOL NAME UNIT
XAU Gold Per Ounce
XAU-ASK Gold Ask Per Ounce
XAU-BID Gold Bid Per Ounce
XAG Silver Per Ounce
XAG-ASK Silver Ask Per Ounce
XAG-BID Silver Bid Per Ounce
XPT Platinum Per Ounce
XPT-ASK Platinum Ask Per Ounce
XPT-BID Platinum Bid Per Ounce
XPD Palladium Per Ounce
XPD-ASK Palladium Ask Per Ounce
XPD-BID Palladium Bid Per Ounce
XRH Rhodium Per Ounce
TIN Tin Per Ounce
ALU Aluminum Per Ounce
ZNC Zinc Per Troy Ounce
LBXAUAM LBMA Gold Am Per Ounce
LBXAUPM LBMA Gold Pm Per Ounce
LBXPDAM LBMA Palladium Am Per Ounce
LBXPTAM LBMA Platinum Am Per Ounce
LBXPDPM LBMA Palladium Pm Per Ounce
LBXPTPM LBMA Platinum Pm Per Ounce
LBXAG LBMA Silver Per Ounce
LME-ALU LME Aluminium Per Troy Ounce
LME-XCU LME Copper Per Troy Ounce
LME-LEAD LME Lead Per Troy Ounce
LME-NI LME Nickel Per Troy Ounce
STEEL-HR LME Steel HRC FOB China Per Troy Ounce
STEEL-RE LME Steel Rebar FOB Turkey Per Troy Ounce
STEEL-SC LME Steel Scrap CFR Turkey Per Troy Ounce
LME-TIN LME Tin Per Troy Ounce
LME-ZNC LME Zinc Per Troy Ounce
XAU-AHME Ahmedabad Gold Per Ounce
XAU-BANG Bangalore Gold Per Ounce
XAU-CHEN Chennai Gold Per Ounce
XAU-COIM Coimbatore Gold Per Ounce
XAU-DELH Delhi Gold Per Ounce
XAU-HYDE Hyderabad Gold Per Ounce
XAU-KOCH Kochi Gold Per Ounce
XAU-KOLK Kolkata Gold Per Ounce
XAU-MUMB Mumbai Gold Per Ounce
XAU-SURA Surat Gold Per Ounce
XAG-AHME Ahmedabad Silver Per Ounce
XAG-BANG Bangalore Silver Per Ounce
XAG-CHEN Chennai Silver Per Ounce
XAG-COIM Coimbatore Silver Per Ounce
XAG-DELH Delhi Silver Per Ounce
XAG-HYDE Hyderabad Silver Per Ounce
XAG-KOCH Kochi Silver Per Ounce
XAG-KOLK Kolkata Silver Per Ounce
XAG-MUMB Mumbai Silver Per Ounce
XAG-SURA Surat Silver Per Ounce
ANTIMONY Antimony Per Ounce
BITUMEN Bitumen Per Ounce
BRASS Brass Per Troy Ounce
BRONZE Bronze Per Troy Ounce
LCO Cobalt Per Troy Ounce
XCU Copper Per Ounce
GALLIUM Gallium Per Ounce
INDIUM Indium Per Troy Ounce
IRD Iridium Per Ounce
IRON Iron Ore Per Ounce
LEAD Lead Per Ounce
LITHIUM Lithium Per Troy Ounce
MG Magnesium Per Troy Ounce
MN Manganese Per Ounce
MO Molybdenum Per Troy Ounce
ND Neodymium Per Ounce
NI Nickel Per Ounce
OSMIUM Osmium Per Troy Ounce
RHENIUM Rhenium Per Troy Ounce
RUTH Ruthenium Per Ounce
TE Tellurium Per Ounce
TUNGSTEN Tungsten Per Troy Ounce
URANIUM Uranium Per Pound
TITANIUM Titanium Per Ounce
BAR GraniteShares Gold Trust -
DBP Invesco DB Precious Metals Fund -
DGP DB Gold Double Long ETN -
DGZ DB Gold Short ETN -
DZZ DB Gold Double Short ETN -
GC1 Gold (NYM $/ozt) Front Month -
GLD SPDR Gold Shares -
GLL ProShares UltraShort Gold -
HG1 Copper (NYM $/lbs) Front Month -
IAU iShares Gold Trust -
SI1 Silver (NYM $/ozt) Front Month -
UGL ProShares Ultra Gold -
AAAU Goldman Sachs Physical Gold ETF -
BGLD FT Cboe Vest Gold Strategy Quarterly Buffer ETF -
FGDL Franklin Responsibly Sourced Gold ETF -
GC00 Gold Continuous Contract -
GLDM SPDR Gold MiniShares -
GLDX USCF Gold Strategy Plus Income Fund -
HG00 Copper Continuous Contract -
IAUF iShares Gold Strategy ETF -
IAUM iShares Gold Trust Micro -
IGLD FT Cboe Vest Gold Target Income ETF -
OUNZ VanEck Merk Gold Trust -
SESG Sprott ESG Gold ETF -
SGOL abrdn Physical Gold Shares ETF -
SI00 Silver Continuous Contract -

Currencies

SYMBOL NAME
USD United States Dollar
EUR Euro
GBP British Pound
AUD Australian Dollar
PLN Polish Złoty
CAD Canadian Dollar
INR Indian Rupee
JPY Japanese Yen
AED United Arab Emirates Dirham
AFN Afghan Afghani
ALL Albanian Lek
DZD Algerian Dinar
AOA Angolan Kwanza
ARS Argentine Peso
AMD Armenian Dram
AWG Aruban Florin
AZN Azerbaijani Manat
BSD Bahamian Dollar
BHD Bahraini Dinar
BDT Bangladeshi Taka
BBD Barbadian Dollar
BYN Belarusian Ruble
BYR Belarusian Ruble
BZD Belize Dollar
BMD Bermudian Dollar
BTN Bhutanese Ngultrum
BTC Bitcoin
BCH Bitcoin Cash
BOB Bolivian Boliviano
BAM Bosnia and Herzegovina Convertible Mark
BWP Botswana Pula
BRL Brazilian Real
BND Brunei Dollar
BGN Bulgarian Lev
BIF Burundian Franc
KHR Cambodian Riel
CVE Cape Verdean Escudo
ADA Cardano
KYD Cayman Islands Dollar
XAF Central African Cfa Franc
XPF Cfp Franc
LINK Chainlink
CLP Chilean Peso
CNY Chinese Renminbi Yuan
CNH Chinese Renminbi Yuan Offshore
COP Colombian Peso
KMF Comorian Franc
CDF Congolese Franc
CRC Costa Rican Colón
HRK Croatian Kuna
CUC Cuban Convertible Peso
CZK Czech Koruna
DKK Danish Krone
DJF Djiboutian Franc
DOP Dominican Peso
XCD East Caribbean Dollar
EGP Egyptian Pound
ERN Eritrean Nakfa
EEK Estonian Kroon
ETH Ethereum
ETB Ethiopian Birr
FKP Falkland Pound
FJD Fijian Dollar
GMD Gambian Dalasi
GEL Georgian Lari
GHS Ghanaian Cedi
GIP Gibraltar Pound
GTQ Guatemalan Quetzal
GGP Guernsey Pound
GNF Guinean Franc
GYD Guyanese Dollar
HTG Haitian Gourde
HNL Honduran Lempira
HKD Hong Kong Dollar
HUF Hungarian Forint
ISK Icelandic Króna
IDR Indonesian Rupiah
IQD Iraqi Dinar
IMP Isle of Man Pound
ILS Israeli New Sheqel
JMD Jamaican Dollar
JEP Jersey Pound
JOD Jordanian Dinar
KZT Kazakhstani Tenge
KES Kenyan Shilling
KWD Kuwaiti Dinar
KGS Kyrgyzstani Som
LAK Lao Kip
LVL Latvian Lats
LBP Lebanese Pound
LSL Lesotho Loti
LRD Liberian Dollar
LYD Libyan Dinar
LTC Litecoin
LTL Lithuanian Litas
MOP Macanese Pataca
MKD Macedonian Denar
MGA Malagasy Ariary
MWK Malawian Kwacha
MYR Malaysian Ringgit
MVR Maldivian Rufiyaa
MTL Maltese Lira
MRO Mauritanian Ouguiya
MUR Mauritian Rupee
MXN Mexican Peso
MDL Moldovan Leu
MNT Mongolian Tögrög
MAD Moroccan Dirham
MZN Mozambican Metical
MMK Myanmar Kyat
NAD Namibian Dollar
NPR Nepalese Rupee
ANG Netherlands Antillean Gulden
TWD New Taiwan Dollar
NZD New Zealand Dollar
NIO Nicaraguan Córdoba
NGN Nigerian Naira
NOK Norwegian Krone
OMR Omani Rial
PKR Pakistani Rupee
PAB Panamanian Balboa
PGK Papua New Guinean Kina
PYG Paraguayan Guaraní
PEN Peruvian Sol
PHP Philippine Peso
QAR Qatari Riyal
XRP Ripple
XRP2 Ripple
RON Romanian Leu
RUB Russian Ruble
RWF Rwandan Franc
SHP Saint Helenian Pound
SVC Salvadoran Colón
WST Samoan Tala
STD São Tomé and Príncipe Dobra
SAR Saudi Riyal
RSD Serbian Dinar
SCR Seychellois Rupee
SLL Sierra Leonean Leone
SGD Singapore Dollar
SBD Solomon Islands Dollar
SOS Somali Shilling
ZAR South African Rand
KRW South Korean Won
SSP South Sudanese Pound
XDR Special Drawing Rights
LKR Sri Lankan Rupee
XLM Stellar
SRD Surinamese Dollar
SZL Swazi Lilangeni
SEK Swedish Krona
CHF Swiss Franc
TJS Tajikistani Somoni
TZS Tanzanian Shilling
THB Thai Baht
TOP Tongan Paʻanga
TTD Trinidad and Tobago Dollar
TND Tunisian Dinar
TRY Turkish Lira
TMT Turkmenistani Manat
UGX Ugandan Shilling
UAH Ukrainian Hryvnia
CLF Unidad de Fomento
UNI Uniswap
UYU Uruguayan Peso
UZS Uzbekistan Som
VUV Vanuatu Vatu
VEF Venezuelan Bolívar
VES Venezuelan Bolívar Soberano
VND Vietnamese Đồng
XOF West African Cfa Franc
YER Yemeni Rial
ZMK Zambian Kwacha
ZMW Zambian Kwacha
ZWL Zimbabwean Dollar

What this API receives and what your API provides (input/output)?

This API will allow you to query for live and historical prices based on the metal of your choice. Check our supported symbols and start making your queries.  

What are the most common use cases of this API?

  1. Metal trading: Use the API to access real-time and historical data on metal prices to inform trading decisions and execute trades.

  2. Risk management: Use the API to access historical data on metal prices to analyze market trends and identify potential risks, allowing for proactive risk management.

  3. Price forecasting: Use the API to access historical data on metal prices to create models for forecasting future prices, which can be used for financial planning and investment decisions.

  4. Market analysis: Use the API to access real-time and historical data on metal prices to analyze market conditions and identify opportunities for investment.

  5. Supply chain management: Use the API to access real-time and historical data on metal prices to inform purchasing decisions and manage inventory.

  6. Research: Use the API to access historical data on metal prices for academic research or business intelligence purpose.

 

Are there any limitations to your plans?

Besides API call limitations per month, there are no other limitations.

API Documentation

Endpoints


The API comes with a constantly updated endpoint returning all available symbols.



                                                                            
GET https://zylalabs.com/api/6/live+and+historical+metals+rates+api/23/supported+symbols
                                                                            
                                                                        

Supported Symbols - Endpoint Features
Object Description
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"ADA":"Cardano","AED":"United Arab Emirates Dirham","AFN":"Afghan Afghani","ALL":"Albanian Lek","ALU":"Aluminum","AMD":"Armenian Dram","ANG":"Netherlands Antillean Gulden","ANTIMONY":"Antimony","AOA":"Angolan Kwanza","ARS":"Argentine Peso","AUD":"Australian Dollar","AWG":"Aruban Florin","AZN":"Azerbaijani Manat","BAM":"Bosnia and Herzegovina Convertible Mark","BBD":"Barbadian Dollar","BCH":"Bitcoin Cash","BDT":"Bangladeshi Taka","BGN":"Bulgarian Lev","BHD":"Bahraini Dinar","BIF":"Burundian Franc","BMD":"Bermudian Dollar","BND":"Brunei Dollar","BOB":"Bolivian Boliviano","BRASS":"Brass","BRL":"Brazilian Real","BRONZE":"Bronze","BSD":"Bahamian Dollar","BTC":"Bitcoin","BTN":"Bhutanese Ngultrum","BWP":"Botswana Pula","BYN":"Belarusian Ruble","BYR":"Belarusian Ruble","BZD":"Belize Dollar","CAD":"Canadian Dollar","CDF":"Congolese Franc","CHF":"Swiss Franc","CLF":"Unidad de Fomento","CLP":"Chilean Peso","CNH":"Chinese Renminbi Yuan Offshore","CNY":"Chinese Renminbi Yuan","COP":"Colombian Peso","CRC":"Costa Rican Col\u00f3n","CUC":"Cuban Convertible Peso","CVE":"Cape Verdean Escudo","CZK":"Czech Koruna","DJF":"Djiboutian Franc","DKK":"Danish Krone","DOP":"Dominican Peso","DZD":"Algerian Dinar","EEK":"Estonian Kroon","EGP":"Egyptian Pound","ERN":"Eritrean Nakfa","ETB":"Ethiopian Birr","ETH":"Ethereum","EUR":"Euro","FJD":"Fijian Dollar","FKP":"Falkland Pound","GBP":"British Pound","GEL":"Georgian Lari","GGP":"Guernsey Pound","GHS":"Ghanaian Cedi","GIP":"Gibraltar Pound","GMD":"Gambian Dalasi","GNF":"Guinean Franc","GTQ":"Guatemalan Quetzal","GYD":"Guyanese Dollar","HKD":"Hong Kong Dollar","HNL":"Honduran Lempira","HRK":"Croatian Kuna","HTG":"Haitian Gourde","HUF":"Hungarian Forint","IDR":"Indonesian Rupiah","ILS":"Israeli New Sheqel","IMP":"Isle of Man Pound","INDIUM":"Indium","INR":"Indian Rupee","IQD":"Iraqi Dinar","IRD":"Iridium (Troy Ounce)","IRON":"Iron Ore","ISK":"Icelandic Kr\u00f3na","JEP":"Jersey Pound","JMD":"Jamaican Dollar","JOD":"Jordanian Dinar","JPY":"Japanese Yen","KES":"Kenyan Shilling","KGS":"Kyrgyzstani Som","KHR":"Cambodian Riel","KMF":"Comorian Franc","KRW":"South Korean Won","KWD":"Kuwaiti Dinar","KYD":"Cayman Islands Dollar","KZT":"Kazakhstani Tenge","LAK":"Lao Kip","LBP":"Lebanese Pound","LBXAG":"LBMA Silver","LBXAUAM":"LBMA Gold Am","LBXAUPM":"LBMA Gold Pm","LBXPDAM":"LBMA Palladium Am","LBXPDPM":"LBMA Palladium Pm","LBXPTAM":"LBMA Platinum Am","LBXPTPM":"LBMA Platinum Pm","LCO":"Cobalt (Troy Ounce)","LEAD":"Lead","LINK":"Chainlink","LITHIUM":"Lithium","LKR":"Sri Lankan Rupee","LME-ALU":"LME Aluminium","LME-LEAD":"LME Lead","LME-NI":"LME Nickel","LME-TIN":"LME Tin","LME-XCU":"LME Copper","LME-ZNC":"LME Zinc","LRD":"Liberian Dollar","LSL":"Lesotho Loti","LTC":"Litecoin","LTL":"Lithuanian Litas","LVL":"Latvian Lats","LYD":"Libyan Dinar","MAD":"Moroccan Dirham","MDL":"Moldovan Leu","MG":"Magnesium","MGA":"Malagasy Ariary","MKD":"Macedonian Denar","MMK":"Myanmar Kyat","MNT":"Mongolian T\u00f6gr\u00f6g","MO":"Molybdenum","MOP":"Macanese Pataca","MRO":"Mauritanian Ouguiya","MTL":"Maltese Lira","MUR":"Mauritian Rupee","MVR":"Maldivian Rufiyaa","MWK":"Malawian Kwacha","MXN":"Mexican Peso","MYR":"Malaysian Ringgit","MZN":"Mozambican Metical","NAD":"Namibian Dollar","NGN":"Nigerian Naira","NI":"Nickel","NIO":"Nicaraguan C\u00f3rdoba","NOK":"Norwegian Krone","NPR":"Nepalese Rupee","NZD":"New Zealand Dollar","OMR":"Omani Rial","OSMIUM":"Osmium","PAB":"Panamanian Balboa","PEN":"Peruvian Sol","PGK":"Papua New Guinean Kina","PHP":"Philippine Peso","PKR":"Pakistani Rupee","PLN":"Polish Z\u0142oty","PYG":"Paraguayan Guaran\u00ed","QAR":"Qatari Riyal","RHENIUM":"Rhenium","RON":"Romanian Leu","RSD":"Serbian Dinar","RUB":"Russian Ruble","RUTH":"Ruthenium","RWF":"Rwandan Franc","SAR":"Saudi Riyal","SBD":"Solomon Islands Dollar","SCR":"Seychellois Rupee","SEK":"Swedish Krona","SGD":"Singapore Dollar","SHP":"Saint Helenian Pound","SLL":"Sierra Leonean Leone","SOS":"Somali Shilling","SRD":"Surinamese Dollar","SSP":"South Sudanese Pound","STD":"S\u00e3o Tom\u00e9 and Pr\u00edncipe Dobra","STEEL-HR":"LME Steel HRC FOB China","STEEL-RE":"LME Steel Rebar FOB Turkey","STEEL-SC":"LME Steel Scrap CFR Turkey","SVC":"Salvadoran Col\u00f3n","SZL":"Swazi Lilangeni","THB":"Thai Baht","TIN":"Tin","TJS":"Tajikistani Somoni","TMT":"Turkmenistani Manat","TND":"Tunisian Dinar","TOP":"Tongan Pa\u02bbanga","TRY":"Turkish Lira","TTD":"Trinidad and Tobago Dollar","TUNGSTEN":"Tungsten","TWD":"New Taiwan Dollar","TZS":"Tanzanian Shilling","UAH":"Ukrainian Hryvnia","UGX":"Ugandan Shilling","UNI":"Uniswap","URANIUM":"Uranium","USD":"United States Dollar","UYU":"Uruguayan Peso","UZS":"Uzbekistan Som","VEF":"Venezuelan Bol\u00edvar","VES":"Venezuelan Bol\u00edvar Soberano","VND":"Vietnamese \u0110\u1ed3ng","VUV":"Vanuatu Vatu","WST":"Samoan Tala","XAF":"Central African Cfa Franc","XAG":"Silver (Troy Ounce)","XAU":"Gold (Troy Ounce)","XAU-AHME":"Ahmedabad Gold","XAU-BANG":"Bangalore Gold","XAU-CHEN":"Chennai Gold","XAU-COIM":"Coimbatore Gold","XAU-DELH":"Delhi Gold","XAU-HYDE":"Hyderabad Gold","XAU-KOCH":"Kochi Gold","XAU-KOLK":"Kolkata Gold","XAU-MUMB":"Mumbai Gold","XAU-SURA":"Surat Gold","XCD":"East Caribbean Dollar","XCU":"Copper","XDR":"Special Drawing Rights","XLM":"Stellar","XOF":"West African Cfa Franc","XPD":"Palladium (Troy Ounce)","XPF":"Cfp Franc","XPT":"Platinum (Troy Ounce)","XRH":"Rhodium (Troy Ounce)","XRP":"Ripple","XRP2":"Ripple","YER":"Yemeni Rial","ZAR":"South African Rand","ZMK":"Zambian Kwacha","ZMW":"Zambian Kwacha","ZNC":"Zinc","ZWL":"Zimbabwean Dollar"}
                                                                                                                                                                                                                    
                                                                                                    

Supported Symbols - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/6/live+and+historical+metals+rates+api/23/supported+symbols' --header 'Authorization: Bearer YOUR_API_KEY' 

    

The latest API endpoint will return real-time exchange rate data updated every 60 seconds.



                                                                            
GET https://zylalabs.com/api/6/live+and+historical+metals+rates+api/24/latest+rates
                                                                            
                                                                        

Latest Rates - Endpoint Features
Object Description
base [Required] Enter the three-letter currency code or metal code of your preferred base currency.
symbols [Required] Enter a list of comma-separated currency codes or metal codes to limit output codes.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"timestamp":1654779480,"date":"2022-06-09","base":"USD","rates":{"USD":1,"XAU":0.00054128673},"unit":"per ounce"}
                                                                                                                                                                                                                    
                                                                                                    

Latest Rates - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/6/live+and+historical+metals+rates+api/24/latest+rates?base=USD&symbols=XAU,XAG,XPD' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Historical rates are available for most symbols all the way back to the year of 2019. You can query the API for historical rates by appending a date (format YYYY-MM-DD) to the base URL.



                                                                            
GET https://zylalabs.com/api/6/live+and+historical+metals+rates+api/25/historical+rates
                                                                            
                                                                        

Historical Rates - Endpoint Features
Object Description
base [Required] Enter the three-letter currency code or metal code of your preferred base currency.
symbols [Required] Enter a list of comma-separated currency codes or metal codes to limit output codes.
date [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"historical":true,"date":"2022-06-01","base":"USD","rates":{"USD":1,"XAU":0.0005410541},"unit":"per ounce"}
                                                                                                                                                                                                                    
                                                                                                    

Historical Rates - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/6/live+and+historical+metals+rates+api/25/historical+rates?base=USD&symbols=XAU&date=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Timeseries endpoint lets you query the API for daily historical rates between two dates of your choice.
This endpoint has a limitation of 365 days and only one symbol per request.



                                                                            
GET https://zylalabs.com/api/6/live+and+historical+metals+rates+api/26/time-series
                                                                            
                                                                        

Time-Series - Endpoint Features
Object Description
start_date [Required] The start date of your preferred timeframe.
end_date [Required] The end date of your preferred timeframe.
base [Required] Enter the three-letter currency code or metal code of your preferred base currency.
symbols [Required] Enter the three-letter currency code or metal code of your preferred base currency.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"timeseries":true,"start_date":"2022-05-01","end_date":"2022-06-01","base":"USD","rates":{"2022-05-01":{"XAU":0.0005271842561694,"USD":1},"2022-05-02":{"XAU":0.00052742747226689,"USD":1},"2022-05-03":{"XAU":0.00053745645,"USD":1},"2022-05-04":{"XAU":0.0005351391,"USD":1},"2022-05-05":{"XAU":0.00052846854837863,"USD":1},"2022-05-06":{"XAU":0.00053430972,"USD":1},"2022-05-07":{"XAU":0.0005307911973588,"USD":1},"2022-05-08":{"XAU":0.0005307911973588,"USD":1},"2022-05-09":{"XAU":0.00053209576,"USD":1},"2022-05-10":{"XAU":0.00053918865,"USD":1},"2022-05-11":{"XAU":0.0005450872,"USD":1},"2022-05-12":{"XAU":0.00053944737,"USD":1},"2022-05-13":{"XAU":0.00054930335203509,"USD":1},"2022-05-14":{"XAU":0.000552,"USD":1},"2022-05-15":{"XAU":0.000552,"USD":1},"2022-05-17":{"XAU":0.00054748136,"USD":1},"2022-05-18":{"XAU":0.00055134162,"USD":1},"2022-05-19":{"XAU":0.0005510551,"USD":1},"2022-05-20":{"XAU":0.00054312731378442,"USD":1},"2022-05-21":{"XAU":0.0005415357955161,"USD":1},"2022-05-22":{"XAU":0.0005415357955161,"USD":1},"2022-05-23":{"XAU":0.00054227454209574,"USD":1},"2022-05-24":{"XAU":0.00053966233345921,"USD":1},"2022-05-25":{"XAU":0.0005363752,"USD":1},"2022-05-26":{"XAU":0.0005403456,"USD":1},"2022-05-27":{"XAU":0.00054008591380556,"USD":1},"2022-05-28":{"XAU":0.0005394470667566,"USD":1},"2022-05-29":{"XAU":0.0005394470667566,"USD":1},"2022-05-30":{"XAU":0.00054067466753161,"USD":1},"2022-05-31":{"XAU":0.0005400702,"USD":1},"2022-06-01":{"XAU":0.00054486942127156,"USD":1}},"unit":"per ounce"}
                                                                                                                                                                                                                    
                                                                                                    

Time-Series - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/6/live+and+historical+metals+rates+api/26/time-series?start_date=2023-08-10&end_date=2023-09-10&base=USD&symbols=XAU' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Using the fluctuation API endpoint, you will be able to retrieve information about how prices fluctuate from day to day.
This endpoint has a limitation of 365 days and only one symbol per request



                                                                            
GET https://zylalabs.com/api/6/live+and+historical+metals+rates+api/27/fluctuation
                                                                            
                                                                        

Fluctuation - Endpoint Features
Object Description
start_date [Required]
end_date [Required]
base [Required] Enter the three-letter currency code or metal code of your preferred base currency.
symbols [Required] Enter the three-letter currency code or metal code of your preferred base currency.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"fluctuation":true,"start_date":"2022-05-01","end_date":"2022-06-01","base":"USD","rates":{"USD":{"start_rate":1,"end_rate":1,"change":0,"change_pct":0},"XAU":{"start_rate":0.0005271842561694,"end_rate":0.0005410541,"change":1.3869843830600025e-5,"change_pct":2.630929066694896}},"unit":"per ounce"}
                                                                                                                                                                                                                    
                                                                                                    

Fluctuation - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/6/live+and+historical+metals+rates+api/27/fluctuation?start_date=2023-08-10&end_date=2023-08-20&base=USD&symbols=XAU' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Allows you to query the API to get the open, high, low, and close price.
This endpoint has a limitation of one symbol per request.

 

Date YYYY-MM-DD



                                                                            
GET https://zylalabs.com/api/6/live+and+historical+metals+rates+api/28/ohlc
                                                                            
                                                                        

OHLC - Endpoint Features
Object Description
base [Required]
symbols [Required]
date [Required]
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"timestamp":1654780861,"date":"2022-06-01","base":"EUR","symbol":"XAU","rates":{"open":1709.1985045272895,"high":1741.3443840801106,"low":1693.2510878748512,"close":1735.0390654095404},"unit":"per ounce"}
                                                                                                                                                                                                                    
                                                                                                    

OHLC - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/6/live+and+historical+metals+rates+api/28/ohlc?base=USD&symbols=XAU&date=Required' --header 'Authorization: Bearer YOUR_API_KEY' 

    

Using the API karat endpoint, you will be able to retrieve information about gold rates per karat.



                                                                            
GET https://zylalabs.com/api/6/live+and+historical+metals+rates+api/29/carat
                                                                            
                                                                        

Carat - Endpoint Features
Object Description
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            {"success":true,"timestamp":1654778639,"base":"USD","rates":{"Carat 24K":11.902,"Carat 23K":11.406,"Carat 22K":10.911,"Carat 21K":10.415,"Carat 18K":8.927,"Carat 16K":7.935,"Carat 14K":6.943,"Carat 12K":5.951,"Carat 10K":4.959,"Carat 9K":4.463,"Carat 8K":3.967,"Carat 6K":2.976},"unit":"per Carat"}
                                                                                                                                                                                                                    
                                                                                                    

Carat - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/6/live+and+historical+metals+rates+api/29/carat' --header 'Authorization: Bearer YOUR_API_KEY' 

    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Live and Historical Metals Rates API REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $ 10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

The API covers a wide range of metals, including gold, silver, copper, platinum, palladium, nickel, LME, and LBMA metals, and more. These metals are commonly traded and invested in, making the API valuable for businesses and individuals in the metal trading and investing space.

The API can be easily integrated into applications, such as websites, mobile apps, or server-side applications, through a simple API call. This allows developers of all skill levels to access real-time and historical metal price data.

Yes, the API provides real-time data on metal prices. This is essential for businesses and investors who need up-to-date information to make quick decisions based on market conditions.

Yes, the API provides historical data on metal prices. This data can be used for analysis, research, and backtesting of trading strategies. It enables businesses and individuals to gain insights into past market trends and make informed decisions.

The API is beneficial for businesses and individuals in the metal trading and investing space. This includes metal traders, investment firms, financial institutions, and research organizations. The API can be used for various purposes, such as risk management, price forecasting, and market analysis, to support their operations and decision-making processes.

The API provides data from all the way back to 2021.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
375ms

Category:


Related APIs