Cdn Mobile API

<back to all web services

PricingToolSpotPriceRequest

PricingToolSpotPriceResponse Parameters:
NameParameterData TypeRequiredDescription
GoldformstringNo
SilverformstringNo
PlatinumformstringNo
PalladiumformstringNo
BTCformstringNo
ETHformstringNo
ADAformstringNo
LTCformstringNo
EURformstringNo
CADformstringNo
AUDformstringNo
GoldChangeformstringNo
SilverChangeformstringNo
PlatinumChangeformstringNo
PalladiumChangeformstringNo
BTCChangeformstringNo
ETHChangeformstringNo
ADAChangeformstringNo
LTCChangeformstringNo
EURChangeformstringNo
CADChangeformstringNo
AUDChangeformstringNo
GoldPlusMinusformstringNo
SilverPlusMinusformstringNo
PlatinumPlusMinusformstringNo
PalladiumPlusMinusformstringNo
BTCPlusMinusformstringNo
ETHPlusMinusformstringNo
ADAPlusMinusformstringNo
LTCPlusMinusformstringNo
EURPlusMinusformstringNo
CADPlusMinusformstringNo
AUDPlusMinusformstringNo
SpotDateTimeformDateTimeNo
SpotDateTimeDisplayformstringNo
AccessRemainingformintNo
PermitAccessformboolNo
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
TotalformintNo
OpCodeformintNo
ErrorTextformstringNo
RequestTimeformstringNo
ResponseTimeformstringNo
TotalExecutionTimeformstringNo
CachedResponseformboolNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/PricingToolSpotPriceRequest HTTP/1.1 
Host: mobileapidevsw.greysheet.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Gold":"String","Silver":"String","Platinum":"String","Palladium":"String","BTC":"String","ETH":"String","ADA":"String","LTC":"String","EUR":"String","CAD":"String","AUD":"String","GoldChange":"String","SilverChange":"String","PlatinumChange":"String","PalladiumChange":"String","BTCChange":"String","ETHChange":"String","ADAChange":"String","LTCChange":"String","EURChange":"String","CADChange":"String","AUDChange":"String","GoldPlusMinus":"String","SilverPlusMinus":"String","PlatinumPlusMinus":"String","PalladiumPlusMinus":"String","BTCPlusMinus":"String","ETHPlusMinus":"String","ADAPlusMinus":"String","LTCPlusMinus":"String","EURPlusMinus":"String","CADPlusMinus":"String","AUDPlusMinus":"String","SpotDateTime":"\/Date(-62135596800000-0000)\/","SpotDateTimeDisplay":"String","AccessRemaining":0,"PermitAccess":false,"Total":0,"OpCode":0,"ErrorText":"String","RequestTime":"String","ResponseTime":"String","TotalExecutionTime":"String","CachedResponse":false}