Quote

Quote the current bid and ask for a currency pair and size.

Paste this query to the GraphQL Playground

Query
Response
Query
{
quote(
input: { fromCurrency: AUD, toCurrency: XRP, size: 10000, currency: AUD }
) {
bid
ask
symbol
timestamp
inverted
}
}
Response
{
"data": {
"quote": {
"bid": 0.41104,
"ask": 0.42077,
"symbol": "XRPAUD",
"timestamp": "2018-08-13T07:54:54.993Z",
"inverted": true
}
}
}

‚Äč