mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
46 lines
1.2 KiB
JSON
46 lines
1.2 KiB
JSON
|
|
{
|
|
"price": [{
|
|
"title": "Get cryptocurrency price",
|
|
"description": "Returns the last traded price of a currency",
|
|
"request": {
|
|
"symbol": "BTCUSD"
|
|
},
|
|
"response": {
|
|
"symbol": "BTCUSD",
|
|
"price": 34682.74
|
|
}
|
|
}],
|
|
"quote": [{
|
|
"title": "Get a cryptocurrency quote",
|
|
"description": "Returns the last quote for a currency including bid and ask prices",
|
|
"request": {
|
|
"symbol": "BTCUSD"
|
|
},
|
|
"response": {
|
|
"symbol": "BTCUSD",
|
|
"ask_price": 34679.87,
|
|
"bid_price": 34679.86,
|
|
"ask_size": 0.595412,
|
|
"bid_size": 0.122235,
|
|
"timestamp": "2021-06-20T17:25:50.772Z"
|
|
}
|
|
}],
|
|
"history": [{
|
|
"title": "Get previous close",
|
|
"description": "Returns the history for the previous close",
|
|
"request": {
|
|
"symbol": "BTCUSD"
|
|
},
|
|
"response": {
|
|
"symbol": "btcusd",
|
|
"open": 35483.72,
|
|
"close": 34470.8,
|
|
"high": 35922,
|
|
"low": 33336,
|
|
"volume": 66202.264956,
|
|
"date": "2021-06-20"
|
|
}
|
|
}]
|
|
}
|