xml.dgcsc.org







Instructions - XML & JSON RESTful price feed subscription



Example Code:     JavaScript (jQuery/Ajax)         PHP         CFML


Access the functions of the XML or JSON REST api with a URL link like this:
https://xml.dgcsc.org/xml.cfm?password=[your_password]&action=[action]


Free Trial test API actions:
(GoldBE,GoldBAE,GoldBOE,GoldBAOE,LondonFixes,GoldJB,GoldJBA,GoldJBO,GoldJBAO,JLondonFixes)
https://xml.dgcsc.org/xml.cfm?password=trial&action=[action]


Log File - purged weekly at approximately midnight Saturday UCT):
https://xml.dgcsc.org/Logs/[your password].txt


Topping up your credit
To top up go to xml.dgcsc.org and click one of the "buy now" buttons. Use the same paypal account email as before. If you use a different payment email, a new subscription will be created. In either case your Paypal address will receive a confirmation email with the details of the transaction.


User information actions (doesn't use credits)
Action Result
status Returns a page showing useful information about the status of your subscription and is also used to make settings to let you know when you are running short of credit.
xmlstatus Returns a page showing useful information about the status of your subscription in XML format.
recover Used to recover your password if you lose it. In this case you use your paypal email address as the password. Your password wil be emailed to your paypal email address.


JSON actions - Gold, Silver, Platinum & Palladium (uses hit credits)
Action Result
GoldJB (grams)
GoldJBO (ounces)
Returns the Gold "bid" price JSON file (sample)
[Each time you use this action, you use one hit credit]
GoldJBA (grams)
GoldJBAO (ounces)
Returns the Gold "bid & ask" price JSON file (sample)
[Each time you use this action, you use one hit credit]
SilverJB (grams)
SilverJBO (ounces)
Returns the Silver "bid" price JSON file (sample)
[Each time you use this action, you use one hit credit]
SilverJBA (grams)
SilverJBAO (ounces)
Returns the Silver "bid & ask" price JSON file (sample)
[Each time you use this action, you use one hit credit]
PlatinumJB (grams)
PlatinumJBO (ounces)
Returns the Platinum "bid" price JSON file (sample)
[Each time you use this action, you use one hit credit]
PlatinumJBA (grams)
PlatinumJBAO (ounces)
Returns the Platinum "bid & ask" price JSON file (sample)
[Each time you use this action, you use one hit credit]
PalladiumJB (grams)
PalladiumJBO (ounces)
Returns the Palladium "bid" price JSON file (sample)
[Each time you use this action, you use one hit credit]
PalladiumJBA (grams)
PalladiumJBAO (ounces)
Returns the Palladium "bid & ask" price JSON file (sample)
[Each time you use this action, you use one hit credit]
JLondonFixes Returns the London Fix price JSON file (sample)
[Each time you use this action, you use one hit credit]


XML actions - Gold, Silver, Platinum & Palladium (uses hit credits)
Action Result
GoldBE (grams)
GoldBOE (ounces)
Returns the Gold "bid" price XML file (sample)
[Each time you use this action, you use one hit credit]
GoldBAE (grams)
GoldBAOE (ounces)
Returns the Gold "bid & ask" price XML file (sample)
[Each time you use this action, you use one hit credit]
SilverBE (grams)
SilverBOE (ounces)
Returns the Silver "bid" price XML file (sample)
[Each time you use this action, you use one hit credit]
SilverBAE (grams)
SilverBAOE (ounces)
Returns the Silver "bid & ask" price XML file (sample)
[Each time you use this action, you use one hit credit]
PlatinumBE (grams)
PlatinumBOE (ounces)
Returns the Platinum "bid" price XML file (sample)
[Each time you use this action, you use one hit credit]
PlatinumBAE (grams)
PlatinumBAOE (ounces)
Returns the Platinum "bid & ask" price XML file (sample)
[Each time you use this action, you use one hit credit]
PalladiumBE (grams)
PalladiumBOE (ounces)
Returns the Palladium "bid" price XML file (sample)
[Each time you use this action, you use one hit credit]
PalladiumBAE (grams)
PalladiumBAOE (ounces)
Returns the Palladium "bid & ask" price XML file (sample)
[Each time you use this action, you use one hit credit]
LondonFixes Returns the London Fix price XML file (sample)
[Each time you use this action, you use one hit credit]