Data APIs
Get a product cycle
Returns start and last traded prices for a specific product cycle.
GET
Returns start and last traded prices for a specific product cycle.
product_ptr*stringProduct pointer in hex format (0x prefix optional)
cycle*numberCycle number, 0-based from initial_cycle_ts
A product cycle with start and last traded prices
application/json- response
A product cycle with start and last traded prices
product_cycle*A product for a specific cycle
curl -X GET 'https://data.scalar.market/products/string/cycles/0'Example Response
{
"product_cycle": {
"product": {
"product_ptr": "string",
"name": "string",
"settler_id": "string",
"initial_cycle_ts": 0,
"cycle_duration_secs": 0,
"pyth_price_ids": [
0
],
"params_list": [
"string"
],
"created_at": 0
},
"cycle": 0,
"start_prices": [
"string"
],
"last_prices": [
"string"
],
"open_interest": [
"string"
]
}
}