---
title: "Daily Open/Close"
method: GET
path: "/v1/open-close/crypto/{from}/{to}/{date}"
tags: ["crypto:open-close"]
---

# Daily Open/Close

`GET /v1/open-close/crypto/{from}/{to}/{date}`

Get the open, close prices of a cryptocurrency symbol on a certain day.

## Path parameters

- `from` string, required
- `to` string, required
- `date` string, date, required

## Query parameters

- `adjusted` boolean

## Response `200`

The open/close of this symbol.

- object
  - `close` number, double, required — The close price for the symbol in the given time period.
  - `closingTrades` object[], required — An array of results containing the requested data.
    - `c` integer[], required — A list of condition codes.
    - `i` string, required — The Trade ID which uniquely identifies a trade. These are unique per combination of ticker, exchange, and TRF. For example: A trade for AAPL executed on NYSE and a trade for AAPL executed on NASDAQ could potentially have the same Trade ID.
    - `p` number, double, required — The price of the trade. This is the actual dollar value per whole share of this trade. A trade of 100 shares with a price of $2.00 would be worth a total dollar value of $200.00.
    - `s` number, double, required — The size of a trade (also known as volume).
    - `t` integer, required — The Unix millisecond timestamp for the start of the aggregate window.
    - `x` integer, required — The exchange that this crypto trade happened on. See <a href="https://massive.com/docs/rest/crypto/market-operations/exchanges">Exchanges</a> for a mapping of exchanges to IDs.
  - `day` string, date, required — The date requested.
  - `isUTC` boolean, required — Whether or not the timestamps are in UTC timezone.
  - `open` number, double, required — The open price for the symbol in the given time period.
  - `openTrades` object[], required — An array of results containing the requested data.
    - `c` integer[], required — A list of condition codes.
    - `i` string, required — The Trade ID which uniquely identifies a trade. These are unique per combination of ticker, exchange, and TRF. For example: A trade for AAPL executed on NYSE and a trade for AAPL executed on NASDAQ could potentially have the same Trade ID.
    - `p` number, double, required — The price of the trade. This is the actual dollar value per whole share of this trade. A trade of 100 shares with a price of $2.00 would be worth a total dollar value of $200.00.
    - `s` number, double, required — The size of a trade (also known as volume).
    - `t` integer, required — The Unix millisecond timestamp for the start of the aggregate window.
    - `x` integer, required — The exchange that this crypto trade happened on. See <a href="https://massive.com/docs/rest/crypto/market-operations/exchanges">Exchanges</a> for a mapping of exchanges to IDs.
  - `symbol` string, required — The symbol pair that was evaluated from the request.

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/massive/apis/polygon-api.md) · [All operations](https://skmtc.net/massive/apis/polygon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/massive/polygon-api/revisions/ad6f143e43aa/schema)
