# Hourly price history

`GET /stable/historical-chart/1hour`

[FMP OpenAPI schema](https://api.quantset.dev/openapi/fmp.json)

## Example request

```bash
curl 'https://api.quantset.dev/stable/historical-chart/1hour?symbol=NVDA' -H 'apikey: YOUR_QUANTSET_API_KEY'
```

## Parameters

Authenticate with a QuantSet API key in the `apikey` header or query parameter.

| Name | Location | Type | Required | Default |
| --- | --- | --- | --- | --- |
| `symbol` | query | string | Yes | — |
| `from` | query | string (date) | No | — |
| `to` | query | string (date) | No | — |
| `nonadjusted` | query | boolean | No | false |
| `extended` | query | boolean | No | false |
| `limit` | query | integer, 1 to 20,000 | No | 5000 |
| `format` | query | json, csv | No | "json" |
| `snapshot_id` | query | string | No | — |

## Data coverage

Hourly US regular-session bars use the source's 60-minute alignment. Extended hours and a request for explicitly unadjusted bars return HTTP 501.

## JSON shape

Angle brackets indicate types. Arrays show one item. See the schema for all constraints.

```json
[
  {
    "date": "<string>",
    "open": "<number | null>",
    "high": "<number | null>",
    "low": "<number | null>",
    "close": "<number | null>",
    "volume": "<number | null>"
  }
]
```

## Response schema

```json
{
  "type": "array",
  "items": {
    "properties": {
      "date": {
        "type": "string",
        "title": "Date"
      },
      "open": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Open"
      },
      "high": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "High"
      },
      "low": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Low"
      },
      "close": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Close"
      },
      "volume": {
        "anyOf": [
          {
            "type": "number"
          },
          {
            "type": "null"
          }
        ],
        "title": "Volume"
      }
    },
    "type": "object",
    "required": [
      "date",
      "open",
      "high",
      "low",
      "close",
      "volume"
    ],
    "title": "ChartBar"
  },
  "title": "Response Stable Hourly Chart Stable Historical Chart 1Hour Get"
}
```
