Cdn API

<back to all web services

XSpotPriceRequest

Cdn.Api

The following routes are available for this service:
GET/XSpotPriceRequest
XSpotPriceResponse 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 .csv suffix or ?format=csv

HTTP + CSV

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

GET /XSpotPriceRequest HTTP/1.1 
Host: cdnapidev-cdnx.greysheet.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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}