Last Quote
GET/crypto/symbols/:symbol
Get the last quote tick for the provided symbol.
Request
Path Parameters
symbol Symbolrequired
Query Parameters
precision Precision
Default value: 8
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
symbol One of the available symbols (see: /crypto/symbols?mode=full). (string)required
Symbol name
ask Value of a tick. (number)required
Possible values: > 0
The ask price.
bid Value of a tick. (number)required
Possible values: > 0
The bid price.
mid Value of a tick. (number)required
Possible values: > 0
The mid price.
timestamp Timestamp of a tick. (integer)required
Possible values: > 0
{
"symbol": "string",
"ask": 1.23456,
"bid": 1.23456,
"mid": 1.23456,
"timestamp": 1704882030
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...