Skip to main content
GET
/
v1
/
crypto
/
price
Price to beat
curl --request GET \
  --url https://api.polynode.dev/v1/crypto/price \
  --header 'x-api-key: <api-key>'
{
  "openPrice": 66285.01,
  "closePrice": 66238.61,
  "timestamp": 1774674466843,
  "completed": false,
  "incomplete": true,
  "cached": false
}
Returns the opening and current closing price for a crypto market window. This is the “price to beat” for short-form markets. The openPrice is the Chainlink oracle price at market open. The closePrice updates in real time until the window completes (completed: true).
{
  "openPrice": 66285.01,
  "closePrice": 66238.61,
  "timestamp": 1774674466843,
  "completed": false,
  "incomplete": true,
  "cached": false
}
Cached for 10 seconds. The window parameter is a Unix epoch timestamp. Get window timestamps from the /v1/crypto/active endpoint.

Authorizations

x-api-key
string
header
required

Query Parameters

symbol
enum<string>
required

Asset symbol

Available options:
BTC,
ETH,
SOL,
BNB,
XRP,
DOGE,
HYPE
window
string
required

Unix epoch timestamp of the market window start

interval
enum<string>

Market interval variant

Available options:
5m,
15m,
1h,
4h

Response

200 - application/json

Price data for the market window

The response is of type object.