Our Historical Gold Rates API provides comprehensive data on global gold prices, offering both real-time and historical information. It covers other metals like silver, copper, and platinum.
Tailored for individuals and entities engaged in metals trading and investing, this versatile API boasts an intuitive interface suitable for users of all skill levels. Its seamless integration allows for effortless adoption into websites, mobile apps, or server applications through a straightforward API call. It supports multiple programming languages to cater to diverse user preferences.
Users benefit from real-time metal price data for prompt decision-making in response to market fluctuations. Additionally, access to historical data facilitates in-depth analysis, research, and the testing of trading strategies.
Intended for traders, investment firms, financial institutions, and research organizations, the API serves various purposes including risk management, price forecasting, and market analysis. Ultimately, our Historical Gold Rates API empowers users to make informed decisions and gain deeper insights into market dynamics by providing a wealth of historical and up-to-date data on a wide range of metals.
It will receive a parameter and provide you with a JSON.
Besides the number of API calls, there is no other limitation.
{"AAAU":{"id":"AAAU","name":"Goldman Sachs Physical Gold ETF"},"ADA":{"id":"ADA","name":"Cardano"},"AED":{"id":"AED","name":"United Arab Emirates Dirham"},"AFN":{"id":"AFN","name":"Afghan Afghani"},"AHME-22k":{"id":"AHME-22k","name":"Ahmedabad Gold 22k","unit":"per ounce"},"AHME-24k":{"id":"AHME-24k","name":"Ahmedabad Gold 24k","unit":"per ounce"},"ALL":{"id":"ALL","name":"Albanian Lek"},"ALU":{"id":"ALU","name":"Aluminum","unit":"per ounce"},"ALU-ASK":{"id":"ALU-ASK","name":"Aluminum Ask","unit":"per ounce"},"ALU-BID":{"id":"ALU-BID","name":"Aluminum Bid","unit":"per ounce"},"ALU3M":{"id":"ALU3M","name":"Aluminum - LME 3-month","unit":"per troy ounce"},"AMD":{"id":"AMD","name":"Armenian Dram"},"ANG":{"id":"ANG","name":"Netherlands Antillean Gulden"},"ANTIMONY":{"id":"ANTIMONY","name":"Antimony","unit":"per ounce"},"AOA":{"id":"AOA","name":"Angolan Kwanza"},"ARS":{"id":"ARS","name":"Argentine Peso"},"AUD":{"id":"AUD","name":"Australian Dollar"},"AWG":{"id":"AWG","name":"Aruban Florin"},"AZN":{"id":"AZN","name":"Azerbaijani Manat"},"BAM":{"id":"BAM","name":"Bosnia and Herzegovina Convertible Mark"},"BANG-22k":{"id":"BANG-22k","name":"Bangalore Gold 22k","unit":"per ounce"},"BANG-24k":{"id":"BANG-24k","name":"Bangalore Gold 24k","unit":"per ounce"},"BAR":{"id":"BAR","name":"GraniteShares Gold Trust"},"BBD":{"id":"BBD","name":"Barbadian Dollar"},"BCH":{"id":"BCH","name":"Bitcoin Cash"},"BDT":{"id":"BDT","name":"Bangladeshi Taka"},"BGLD":{"id":"BGLD","name":"FT Cboe Vest Gold Strategy Quarterly Buffer ETF"},"BGN":{"id":"BGN","name":"Bulgarian Lev"},"BHD":{"id":"BHD","name":"Bahraini Dinar"},"BHOP-22k":{"id":"BHOP-22k","name":"Bhopal Gold 22k","unit":"per ounce"},"BHOP-24k":{"id":"BHOP-24k","name":"Bhopal Gold 24k","unit":"per ounce"},"BIF":{"id":"BIF","name":"Burundian Franc"},"BITUMEN":{"id":"BITUMEN","name":"Bitumen","unit":"per ounce"},"BMD":{"id":"BMD","name":"Bermudian Dollar"},"BND":{"id":"BND","name":"Brunei Dollar"},"BOB":{"id":"BOB","name":"Bolivian Boliviano"},"BRASS":{"id":"BRASS","name":"Brass","unit":"per troy ounce"},"BRL":{"id":"BRL","name":"Brazilian Real"},"BRONZE":{"id":"BRONZE","name":"Bronze","unit":"per troy ounce"},"BSD":{"id":"BSD","name":"Bahamian Dollar"},"BTC":{"id":"BTC","name":"Bitcoin"},"BTN":{"id":"BTN","name":"Bhutanese Ngultrum"},"BWP":{"id":"BWP","name":"Botswana Pula"},"BYN":{"id":"BYN","name":"Belarusian Ruble"},"BYR":{"id":"BYR","name":"Belarusian Ruble"},"BZD":{"id":"BZD","name":"Belize Dollar"},"CAD":{"id":"CAD","name":"Canadian Dollar"},"CDF":{"id":"CDF","name":"Congolese Franc"},"CHAN-22k":{"id":"CHAN-22k","name":"Chandigarh Gold 22k","unit":"per ounce"},"CHAN-24k":{"id":"CHAN-24k","name":"Chandigarh Gold 24k","unit":"per ounce"},"CHEN-22k":{"id":"CHEN-22k","name":"Chennai Gold 22k","unit":"per ounce"},"CHEN-24k":{"id":"CHEN-24k","name":"Chennai Gold 24k","unit":"per ounce"},"CHF":{"id":"CHF","name":"Swiss Franc"},"CLF":{"id":"CLF","name":"Unidad de Fomento"},"CLP":{"id":"CLP","name":"Chilean Peso"},"CNH":{"id":"CNH","name":"Chinese Renminbi Yuan Offshore"},"CNY":{"id":"CNY","name":"Chinese Renminbi Yuan"},"COIM-22k":{"id":"COIM-22k","name":"Coimbatore Gold 22k","unit":"per ounce"},"COIM-24k":{"id":"COIM-24k","name":"Coimbatore Gold 24k","unit":"per ounce"},"COP":{"id":"COP","name":"Colombian Peso"},"CRC":{"id":"CRC","name":"Costa Rican Col\u00f3n"},"CUC":{"id":"CUC","name":"Cuban Convertible Peso"},"CVE":{"id":"CVE","name":"Cape Verdean Escudo"},"CZK":{"id":"CZK","name":"Czech Koruna"},"DBP":{"id":"DBP","name":"Invesco DB Precious Metals Fund"},"DEHR-22k":{"id":"DEHR-22k","name":"Dehradun Gold 22k","unit":"per ounce"},"DEHR-24k":{"id":"DEHR-24k","name":"Dehradun Gold 24k","unit":"per ounce"},"DGP":{"id":"DGP","name":"DB Gold Double Long ETN"},"DGZ":{"id":"DGZ","name":"DB Gold Short ETN"},"DJF":{"id":"DJF","name":"Djiboutian Franc"},"DKK":{"id":"DKK","name":"Danish Krone"},"DOP":{"id":"DOP","name":"Dominican Peso"},"DY-ASK":{"id":"DY-ASK","name":"Dysprosium Oxide Ask","unit":"per ounce"},"DY-BID":{"id":"DY-BID","name":"Dysprosium Oxide Bid","unit":"per ounce"},"DZD":{"id":"DZD","name":"Algerian Dinar"},"DZZ":{"id":"DZZ","name":"DB Gold Double Short ETN"},"EEK":{"id":"EEK","name":"Estonian Kroon"},"EGP":{"id":"EGP","name":"Egyptian Pound"},"ERN":{"id":"ERN","name":"Eritrean Nakfa"},"ETB":{"id":"ETB","name":"Ethiopian Birr"},"ETH":{"id":"ETH","name":"Ethereum"},"EUR":{"id":"EUR","name":"Euro"},"FARI-22k":{"id":"FARI-22k","name":"Faridabad Gold 22k","unit":"per ounce"},"FARI-24k":{"id":"FARI-24k","name":"Faridabad Gold 24k","unit":"per ounce"},"FGDL":{"id":"FGDL","name":"Franklin Responsibly Sourced Gold ETF"},"FJD":{"id":"FJD","name":"Fijian Dollar"},"FKP":{"id":"FKP","name":"Falkland Pound"},"GA-ASK":{"id":"GA-ASK","name":"Gallium Ask","unit":"per ounce"},"GA-BID":{"id":"GA-BID","name":"Gallium Bid","unit":"per ounce"},"GALLIUM":{"id":"GALLIUM","name":"Gallium","unit":"per ounce"},"GBP":{"id":"GBP","name":"British Pound"},"GC00":{"id":"GC00","name":"Gold Continuous Contract","unit":"per troy ounce"},"GC1":{"id":"GC1","name":"Gold (NYM $\/ozt) Front Month","unit":"per troy ounce"},"GE-ASK":{"id":"GE-ASK","name":"Germanium Ask","unit":"per ounce"},"GE-BID":{"id":"GE-BID","name":"Germanium Bid","unit":"per ounce"},"GEL":{"id":"GEL","name":"Georgian Lari"},"GGP":{"id":"GGP","name":"Guernsey Pound"},"GHS":{"id":"GHS","name":"Ghanaian Cedi"},"GIP":{"id":"GIP","name":"Gibraltar Pound"},"GLD":{"id":"GLD","name":"SPDR Gold Shares"},"GLDM":{"id":"GLDM","name":"SPDR Gold MiniShares"},"GLDX":{"id":"GLDX","name":"USCF Gold Strategy Plus Income Fund"},"GLL":{"id":"GLL","name":"ProShares UltraShort Gold"},"GMD":{"id":"GMD","name":"Gambian Dalasi"},"GNF":{"id":"GNF","name":"Guinean Franc"},"GTQ":{"id":"GTQ","name":"Guatemalan Quetzal"},"GURG-22k":{"id":"GURG-22k","name":"Gurgaon Gold 22k","unit":"per ounce"},"GURG-24k":{"id":"GURG-24k","name":"Gurgaon Gold 24k","unit":"per ounce"},"GUWA-22k":{"id":"GUWA-22k","name":"Guwahati Gold 22k","unit":"per ounce"},"GUWA-24k":{"id":"GUWA-24k","name":"Guwahati Gold 24k","unit":"per ounce"},"GYD":{"id":"GYD","name":"Guyanese Dollar"},"HF-ASK":{"id":"HF-ASK","name":"Hafnium Ask","unit":"per ounce"},"HF-BID":{"id":"HF-BID","name":"Hafnium Bid","unit":"per ounce"},"HG00":{"id":"HG00","name":"Copper Continuous Contract","unit":"Per Pound"},"HG1":{"id":"HG1","name":"Copper (NYM $\/lbs) Front Month","unit":"Per Pound"},"HKD":{"id":"HKD","name":"Hong Kong Dollar"},"HNL":{"id":"HNL","name":"Honduran Lempira"},"HRK":{"id":"HRK","name":"Croatian Kuna"},"HRN00":{"id":"HRN00","name":"HRC Steel Futures Continuous Contract","unit":"per troy ounce"},"HTG":{"id":"HTG","name":"Haitian Gourde"},"HUF":{"id":"HUF","name":"Hungarian Forint"},"HYDE-22k":{"id":"HYDE-22k","name":"Hyderabad Gold 22k","unit":"per ounce"},"HYDE-24k":{"id":"HYDE-24k","name":"Hyderabad Gold 24k","unit":"per ounce"},"IAU":{"id":"IAU","name":"iShares Gold Trust"},"IAUF":{"id":"IAUF","name":"iShares Gold Strategy ETF"},"IAUM":{"id":"IAUM","name":"iShares Gold Trust Micro"},"IDR":{"id":"IDR","name":"Indonesian Rupiah"},"IGLD":{"id":"IGLD","name":"FT Cboe Vest Gold Target Income ETF"},"ILS":{"id":"ILS","name":"Israeli New Sheqel"},"IMP":{"id":"IMP","name":"Isle of Man Pound"},"IN-ASK":{"id":"IN-ASK","name":"Indium Ask","unit":"per ounce"},"IN-BID":{"id":"IN-BID","name":"Indium Bid","unit":"per ounce"},"INDIUM":{"id":"INDIUM","name":"Indium","unit":"per troy ounce"},"INDO-22k":{"id":"INDO-22k","name":"Indore Gold 22k","unit":"per ounce"},"INDO-24k":{"id":"INDO-24k","name":"Indore Gold 24k","unit":"per ounce"},"INR":{"id":"INR","name":"Indian Rupee"},"IQD":{"id":"IQD","name":"Iraqi Dinar"},"IRD":{"id":"IRD","name":"Iridium","unit":"per ounce"},"IRON":{"id":"IRON","name":"Iron Ore","unit":"per ounce"},"ISK":{"id":"ISK","name":"Icelandic Kr\u00f3na"},"JAIP-22k":{"id":"JAIP-22k","name":"Jaipur Gold 22k","unit":"per ounce"},"JAIP-24k":{"id":"JAIP-24k","name":"Jaipur Gold 24k","unit":"per ounce"},"JEP":{"id":"JEP","name":"Jersey Pound"},"JMD":{"id":"JMD","name":"Jamaican Dollar"},"JOD":{"id":"JOD","name":"Jordanian Dinar"},"JPY":{"id":"JPY","name":"Japanese Yen"},"KANP-22k":{"id":"KANP-22k","name":"Kanpur Gold 22k","unit":"per ounce"},"KANP-24k":{"id":"KANP-24k","name":"Kanpur Gold 24k","unit":"per ounce"},"KES":{"id":"KES","name":"Kenyan Shilling"},"KGS":{"id":"KGS","name":"Kyrgyzstani Som"},"KHR":{"id":"KHR","name":"Cambodian Riel"},"KMF":{"id":"KMF","name":"Comorian Franc"},"KOCH-22k":{"id":"KOCH-22k","name":"Kochi Gold 22k","unit":"per ounce"},"KOCH-24k":{"id":"KOCH-24k","name":"Kochi Gold 24k","unit":"per ounce"},"KOLH-22k":{"id":"KOLH-22k","name":"Kolhapur Gold 22k","unit":"per ounce"},"KOLH-24k":{"id":"KOLH-24k","name":"Kolhapur Gold 24k","unit":"per ounce"},"KOLK-22k":{"id":"KOLK-22k","name":"Kolkata Gold 22k","unit":"per ounce"},"KOLK-24k":{"id":"KOLK-24k","name":"Kolkata Gold 24k","unit":"per ounce"},"KRW":{"id":"KRW","name":"South Korean Won"},"KWD":{"id":"KWD","name":"Kuwaiti Dinar"},"KYD":{"id":"KYD","name":"Cayman Islands Dollar"},"KZT":{"id":"KZT","name":"Kazakhstani Tenge"},"LAK":{"id":"LAK","name":"Lao Kip"},"LBP":{"id":"LBP","name":"Lebanese Pound"},"LBXAG":{"id":"LBXAG","name":"LBMA Silver","unit":"per ounce"},"LBXAUAM":{"id":"LBXAUAM","name":"LBMA Gold Am","unit":"per ounce"},"LBXAUPM":{"id":"LBXAUPM","name":"LBMA Gold Pm","unit":"per ounce"},"LBXPDAM":{"id":"LBXPDAM","name":"LBMA Palladium Am","unit":"per ounce"},"LBXPDPM":{"id":"LBXPDPM","name":"LBMA Palladium Pm","unit":"per ounce"},"LBXPTAM":{"id":"LBXPTAM","name":"LBMA Platinum Am","unit":"per ounce"},"LBXPTPM":{"id":"LBXPTPM","name":"LBMA Platinum Pm","unit":"per ounce"},"LCO":{"id":"LCO","name":"Cobalt","unit":"per troy ounce"},"LEAD":{"id":"LEAD","name":"Lead","unit":"per ounce"},"LEAD-ASK":{"id":"LEAD-ASK","name":"Lead Ask","unit":"per ounce"},"LEAD-BID":{"id":"LEAD-BID","name":"Lead Bid","unit":"per ounce"},"LEAD3M":{"id":"LEAD3M","name":"Lead - LME 3-month","unit":"per troy ounce"},"LINK":{"id":"LINK","name":"Chainlink"},"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/3744/historical+gold+rates+api/4274/supported+symbols' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":true,"timestamp":1712158440,"date":"2024-04-03","base":"USD","rates":{"USD":1,"XAU":0.00043735,"USDXAU":2286.4982279638734}}
curl --location --request GET 'https://zylalabs.com/api/3744/historical+gold+rates+api/4275/latest+rates?base=USD&symbols=XAU' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":true,"historical":true,"date":"2023-08-15","base":"INR","rates":{"XAU":158226.42879879454}}
curl --location --request GET 'https://zylalabs.com/api/3744/historical+gold+rates+api/4276/historical+rates?base=USD&symbols=XAU' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":true,"timeseries":true,"start_date":"2023-08-15","end_date":"2023-08-20","base":"USD","rates":{"2023-08-15":{"USD":1,"XAU":0.00052408100571521},"2023-08-16":{"USD":1,"XAU":0.00052589579105272},"2023-08-17":{"USD":1,"XAU":0.00052816415611979},"2023-08-18":{"USD":1,"XAU":0.00052880548563625},"2023-08-19":{"USD":1,"XAU":0.00052913280470177},"2023-08-20":{"USD":1,"XAU":0.00052913280472303}}}
curl --location --request GET 'https://zylalabs.com/api/3744/historical+gold+rates+api/4277/time-series?start_date=2024-03-03&end_date=2024-03-04&base=USD&symbols=XAU' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":true,"fluctuation":true,"start_date":"2023-08-15","end_date":"2023-08-20","base":"USD","rates":{"USD":{"start_rate":1,"end_rate":1,"change":0,"change_pct":0},"XAU":{"start_rate":0.00052408100571521,"end_rate":0.00052917290247958,"change":5.091896764369938e-6,"change_pct":0.9715858252525407}}}
curl --location --request GET 'https://zylalabs.com/api/3744/historical+gold+rates+api/4278/fluctuation?start_date=2023-08-15&end_date=2023-08-20&base=USD&symbols=XAU' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":true,"timestamp":1711551568,"date":"2022-06-01","base":"USD","symbol":"XAU","rates":{"open":0.00054486942127156,"high":0.000550528,"low":0.000540054,"close":0.0005410541},"unit":"per ounce"}
curl --location --request GET 'https://zylalabs.com/api/3744/historical+gold+rates+api/4279/open+high+low+close+ohlc+price?base=USD&symbols=XAU' --header 'Authorization: Bearer YOUR_API_KEY'
{"success":true,"timestamp":1711551576,"base":"USD","rates":{"24K":70.04,"23K":67.11,"22K":64.23,"21K":61.29,"18k":52.54,"14K":40.84,"12K":35.02,"10K":29.21,"9K":26.27,"8K":23.33},"unit":"per Gram"}
curl --location --request GET 'https://zylalabs.com/api/3744/historical+gold+rates+api/4280/carat' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
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.
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 p
The API provides data from all the way back to 2021.
Each endpoint returns specific data types: "Supported Symbols" provides a list of available symbols, "Latest Rates" gives real-time exchange rates, "Historical Rates" offers past rates for specified dates, "Time-Series" delivers daily rates over a date range, "Fluctuation" shows price changes over time, "OHLC Price" presents open, high, low, and close prices, and "Carat" details gold rates per karat.
Key fields include "success" (indicating request success), "timestamp" (request time), "date" (specific date for rates), "base" (currency base), and "rates" (object containing metal prices). For example, in "Latest Rates," "rates" shows current values for metals like XAU (gold).
Response data is structured in JSON format, with a top-level object containing fields like "success," "timestamp," and "rates." The "rates" field is an object mapping symbols to their respective values, making it easy to parse and utilize in applications.
Parameters vary by endpoint; for "Historical Rates," you append a date (YYYY-MM-DD) to the URL. For "Time-Series" and "Fluctuation," you specify start and end dates. Each endpoint typically accepts a "base" currency parameter to define the reference for rates.
Each endpoint provides distinct information: "Supported Symbols" lists tradable symbols, "Latest Rates" shows current prices, "Historical Rates" offers past prices, "Time-Series" gives daily rates over a range, "Fluctuation" details price changes, "OHLC Price" presents daily trading ranges, and "Carat" shows gold prices per karat.
Users can customize requests by specifying parameters like date for historical data, date ranges for time-series and fluctuation data, and the base currency for rates. This flexibility allows tailored queries to meet specific analysis needs.
Typical use cases include risk management through trend analysis, price forecasting for investment strategies, market analysis for identifying opportunities, and academic research utilizing historical data for insights into market behavior.
Data accuracy is maintained through regular updates and quality checks from reliable sources. The API aggregates data from trusted financial markets and institutions, ensuring users receive accurate and timely information for their analyses.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
3,817ms
Service Level:
100%
Response Time:
4,377ms
Service Level:
100%
Response Time:
1,151ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
498ms
Service Level:
100%
Response Time:
728ms
Service Level:
100%
Response Time:
491ms
Service Level:
90%
Response Time:
1,321ms
Service Level:
100%
Response Time:
296ms
Service Level:
100%
Response Time:
2,597ms
Service Level:
100%
Response Time:
9,975ms
Service Level:
100%
Response Time:
9,881ms
Service Level:
100%
Response Time:
1,189ms
Service Level:
100%
Response Time:
10,496ms
Service Level:
100%
Response Time:
349ms
Service Level:
100%
Response Time:
4,827ms
Service Level:
100%
Response Time:
2,602ms
Service Level:
100%
Response Time:
1,151ms
Service Level:
100%
Response Time:
1,188ms
Service Level:
100%
Response Time:
173ms