Endpoints
Get market
One window: its status, times, price to beat, top of book and, once settled, the result.
GET
/
markets
/
{ticker}
Get market
curl --request GET \
--url https://api.updown.fast/trade-api/v1/markets/{ticker}import requests
url = "https://api.updown.fast/trade-api/v1/markets/{ticker}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.updown.fast/trade-api/v1/markets/{ticker}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"market": {
"ticker": "<string>",
"series_ticker": "<string>",
"status": "scheduled",
"open_ts_ms": 4503599627370495,
"close_ts_ms": 4503599627370495,
"price_ranges": [
{
"start": "<string>",
"end": "<string>",
"step": "<string>"
}
],
"tick_size": "<string>",
"price_to_beat": "<string>",
"result": "up",
"settlement_price": "<string>",
"settled_ts_ms": 4503599627370495,
"up_bid": "<string>",
"up_bid_size": "<string>",
"up_ask": "<string>",
"up_ask_size": "<string>",
"last_price": "<string>"
}
}{
"code": "BAD_REQUEST",
"message": "<string>",
"details": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"details": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"details": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"details": "<string>"
}⌘I
Get market
curl --request GET \
--url https://api.updown.fast/trade-api/v1/markets/{ticker}import requests
url = "https://api.updown.fast/trade-api/v1/markets/{ticker}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.updown.fast/trade-api/v1/markets/{ticker}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"market": {
"ticker": "<string>",
"series_ticker": "<string>",
"status": "scheduled",
"open_ts_ms": 4503599627370495,
"close_ts_ms": 4503599627370495,
"price_ranges": [
{
"start": "<string>",
"end": "<string>",
"step": "<string>"
}
],
"tick_size": "<string>",
"price_to_beat": "<string>",
"result": "up",
"settlement_price": "<string>",
"settled_ts_ms": 4503599627370495,
"up_bid": "<string>",
"up_bid_size": "<string>",
"up_ask": "<string>",
"up_ask_size": "<string>",
"last_price": "<string>"
}
}{
"code": "BAD_REQUEST",
"message": "<string>",
"details": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"details": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"details": "<string>"
}{
"code": "BAD_REQUEST",
"message": "<string>",
"details": "<string>"
}