Gold
Gold
Silver
Silver
Gold & Silver
View Charts
IMC-G
IMC-G
IMC-S
IMC-S
How this works?
Learn IMC Maths
Gold & Silver
View Charts
How this works?
Learn IMC Maths

Muslim Assayers Council
IMC APIs, Hash SDKs & Developer Tools

Please contact us to apply for membership which will entail the use of SDK private and app key creation..

Math Variables
(numbers are examples, correct are here)
Description
var gram = 1; Numeric integer for gram of silver or gold
var gram_ounce = 28.3495; The XAU (Gold) International and IMC standard weight of Ounce per gram
var gram_troy_ounce = 31.1035; The XAU (Gold) International and IMC standard weight of Troy Ounce per gram
var gold_imc_dollar_rate = 20; The IMC Gold USD rate difference Nominal value.
var gold_imc_gbp_rate = 20; The IMC Gold GBP rate difference Nominal value.
var silver_imc_dollar_rate = 10; The IMC Silver USD rate difference Nominal value.
var silver_imc_gbp_rate = 10; The IMC Silver GBP rate difference Nominal value.
URLs Service Description/Payload
https://api.islamicmonetary.org/XAG_USD.json
https://api.islamicmonetary.org/XAG_GBP.json
The Silver USD or GBP pricing API:
{
"timestamp":1652059934,
"metal":"XAG",
"currency":"USD",
"exchange":"FOREXCOM",
"symbol":"FOREXCOM:XAGUSD",
"prev_close_price":22.359,
"open_price":22.359,
"low_price":22.206,
"high_price":22.371,
"open_time":1652054400,
"price":22.24,
"ch":-0.119,
"chp":-0.53,
"ask":22.259,
"bid":22.219,
"price_gram_24k":0.715,
"price_gram_22k":0.6554,
"price_gram_21k":0.6257,
"price_gram_20k":0.5959,
"price_gram_18k":0.5363
}
https://api.islamicmonetary.org/XAU_USD.json
https://api.islamicmonetary.org/XAU_GBP.json
The Gold USD or GBP pricing API:
{
"timestamp":1652059936,
"metal":"XAU",
"currency":"GBP",
"exchange":"FOREXCOM",
"symbol":"FOREXCOM:XAUGBP",
"prev_close_price":1526.48,
"open_price":1526.48,
"low_price":1523.75,
"high_price":1529.39,
"open_time":1652054400,
"price":1526.94,
"ch":0.46,
"chp":0.03,
"ask":1527.36,
"bid":1526.51,
"price_gram_24k":49.0923,
"price_gram_22k":45.0012,
"price_gram_21k":42.9557,
"price_gram_20k":40.9102,
"price_gram_18k":36.8192
}
https://api.islamicmonetary.org/update The timestamp of the last updated of all pricing tables:
[{"msg":"Last updated: May 09 2022 01:32:15."}]
https://api.islamicmonetary.org/matrix
https://api.islamicmonetary.org/matrix?data=ALL-COLUMN-NAMES
https://api.islamicmonetary.org/matrix?data=ALL
https://api.islamicmonetary.org/matrix?data=ALL-DESC
https://api.islamicmonetary.org/matrix?data=XAU-GBP-IMC
https://api.islamicmonetary.org/matrix?data=XAU-GBP
https://api.islamicmonetary.org/matrix?data=XAU-USD-IMC
https://api.islamicmonetary.org/matrix?data=XAU-USD
https://api.islamicmonetary.org/matrix?data=XAG-GBP-IMC
https://api.islamicmonetary.org/matrix?data=XAG-GBP
https://api.islamicmonetary.org/matrix?data=XAG-USD-IMC
https://api.islamicmonetary.org/matrix?data=XAG-USD
Entire matrix tables of the IMC
[{
"mid" : "6",
"timestamp" : "1651220225",
"timestamp_js" : "1651220225000",
"timestamp_php" : "2022-04-29",
"timestamp_time" : "03:17:05",
"metal" : "XAG",
"currency" : "GBP",
"exchange" : "IDC",
"symbol" : "FX_IDC:XAGGBP",
"prev_close_price" : "18.558",
"open_price" : "18.569",
"low_price" : "18.569",
"high_price" : "18.725",
"open_time" : "1651190400",
"price" : "18.683",
"price_imc" : "22",
"ch" : "0.125",
"chp" : "0.67",
"ask" : "18.733",
"bid" : "18.683",
"price_gram_24k" : "0.6007",
"price_gram_22k" : "0.5506",
"price_gram_21k" : "0.5256",
"price_gram_20k" : "0.5006",
"price_gram_18k" : "0.4505"
}]