Get Latest Quote
Get the latest quote for an instrument. You can use this information to estimate the
next price to buy (via ask
) or sell (via bid
) assets.
Path parameters
-
instrument
string(isin) Required An instrument's ISIN. This is the instrument you query the latest quote for.
GET
/instruments/{instrument}/latest-quote
curl \
-X GET https://api.melon.markets/markets/beta/instruments/IE000CNSFAR2/latest-quote \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"instrument": "IE000CNSFAR2",
"updatedAt": "2024-01-05T17:02:16.709000000Z",
"ask": {
"size": "4800",
"price": "10.7000"
},
"bid": {
"size": "4800",
"price": "10.6620"
}
}
Response examples (401)
{
"error": true,
"reason": "Unauthorized"
}
Response examples (403)
{
"error": true,
"reason": "Forbidden"
}
Response examples (429)
# Headers
Retry-After: 60
# Payload
{
"error": true,
"reason": "Too Many Requests"
}