> ## Documentation Index
> Fetch the complete documentation index at: https://docs.polynode.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Price to Beat

> Open and close price for a specific crypto market window.

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`).

<ResponseExample>
  ```json theme={null}
  {
    "openPrice": 66285.01,
    "closePrice": 66238.61,
    "timestamp": 1774674466843,
    "completed": false,
    "incomplete": true,
    "cached": false
  }
  ```
</ResponseExample>

<Note>
  Real-time. No cache. `closePrice` is locked in the instant a window ends — no waiting. The `window` parameter is a Unix epoch timestamp. Get window timestamps from the `/v1/crypto/active` endpoint.
</Note>


## OpenAPI

````yaml GET /v1/crypto/price
openapi: 3.1.0
info:
  title: PolyNode API
  description: >-
    Real-time Polymarket data API with decoded mempool settlements, OHLCV
    candles, and full Polygon JSON-RPC proxy.
  contact:
    name: PolyNode
    url: https://polynode.dev
  license:
    name: ''
  version: 2.0.0
servers:
  - url: https://api.polynode.dev
    description: Production
security:
  - api_key: []
paths:
  /v1/crypto/price:
    get:
      tags:
        - Crypto
      summary: Price to beat
      description: >-
        Open and close price for a specific crypto market window. The open price
        is the oracle price at market open; the close price updates in real time
        until the window completes.
      operationId: crypto_price
      parameters:
        - name: symbol
          in: query
          required: true
          schema:
            type: string
            enum:
              - BTC
              - ETH
              - SOL
              - BNB
              - XRP
              - DOGE
              - HYPE
          description: Asset symbol
        - name: window
          in: query
          required: true
          schema:
            type: string
          description: Unix epoch timestamp of the market window start
        - name: interval
          in: query
          required: false
          schema:
            type: string
            enum:
              - 5m
              - 15m
              - 1h
              - 4h
          description: Market interval variant
      responses:
        '200':
          description: Price data for the market window
          content:
            application/json:
              schema:
                type: object
      security:
        - api_key: []
components:
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: x-api-key

````