| Schema |
|---|
spots objectxau object[]Array of spot records for Gold metalCode stringThe ISO-4271 Alphabetical Code of the Precious Metal (e.g. XAG, XAU, XPT) | asOfTime date-timeThe as-of time for the spot record. The time displayed is shared across different metals, and is reflected in SGT. | currency stringThe ISO-4271(alpha-3) Currency code of the currency for the spot record | spot doubleThe spot rate determined by Silver Bullion, which in-turn determines the sellback and purchase rate used. | sellback doubleThe rate that will be used when performing a sellback to Silver Bullion. | purchase doubleThe rate that will be used when performing a purchase from Silver Bullion. | fx doubleThe exchange rate of the currency to USD. (i.e. 1USD = $(fx)(current currency) |
| xag object[]Array of spot records for Silver metalCode stringThe ISO-4271 Alphabetical Code of the Precious Metal (e.g. XAG, XAU, XPT) | asOfTime date-timeThe as-of time for the spot record. The time displayed is shared across different metals, and is reflected in SGT. | currency stringThe ISO-4271(alpha-3) Currency code of the currency for the spot record | spot doubleThe spot rate determined by Silver Bullion, which in-turn determines the sellback and purchase rate used. | sellback doubleThe rate that will be used when performing a sellback to Silver Bullion. | purchase doubleThe rate that will be used when performing a purchase from Silver Bullion. | fx doubleThe exchange rate of the currency to USD. (i.e. 1USD = $(fx)(current currency) |
| xpt object[]Array of spot records for Platinum metalCode stringThe ISO-4271 Alphabetical Code of the Precious Metal (e.g. XAG, XAU, XPT) | asOfTime date-timeThe as-of time for the spot record. The time displayed is shared across different metals, and is reflected in SGT. | currency stringThe ISO-4271(alpha-3) Currency code of the currency for the spot record | spot doubleThe spot rate determined by Silver Bullion, which in-turn determines the sellback and purchase rate used. | sellback doubleThe rate that will be used when performing a sellback to Silver Bullion. | purchase doubleThe rate that will be used when performing a purchase from Silver Bullion. | fx doubleThe exchange rate of the currency to USD. (i.e. 1USD = $(fx)(current currency) |
|
| variables objectfxToBase doubleThe exchange rate as compared to the system's base currency (e.g. for $1 of the queried currency, how much of the base currency is needed for the same value) | lockTokenExpiry int32The maximum amount of time in seconds that a quotation remains \'Valid\'. | market stringThe market status, used to indicate whether the market is open or closed. |
|
|
400
Failed to retrieve spot records due to a validation error. | Schema |
|---|
errors object[]Provides specific details about the errors encountered and on which underlying records. Shown only for validation done on business levels. (invalid inputs are not reflected through this field/object) errorCode stringA brief set of characters that describe the error. Valid values include [UnsupportedCurrency],[IntervalQuantityOutOfValidRange] and [IntervalSizeOutOfValidRange] | errorMessage stringA human readable version of what went wrong during the validation process. | recordIdentifierName stringThe name of the identifier (known to the caller) which will be used to display the errorneous records relating to this error. | records undefined[]The list of transaction identifiers (mentioned in [recordIdentifierName] that had a hit with this error. |
| errorCount integerThe number of failing points which caused the call to be rejected. | type url | title stringShort, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence. | status numberThe advisory status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. This is the same status code returned from this API call. | detail stringBy convention, this should provide a human-readable explanation specific to this occurrence of the problem and ought to focus on helping the client correct the problem, rather than giving debugging information. In the event there are seveal errors, a reference to another field will be made. | instance stringA URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. | traceId stringUsed mainly for error tracing purposes. |
|