# Get Historical Market Temperature

`GET` `/v1/quote/history_market_temperature`

> **Quote Permission Required · Free**
> Included with OpenAPI activation — no extra purchase needed.
> _OpenAPI quote perms are separate from App/Web perms_

Get the historical market temperature time series for the specified market within a date range.
Each data point contains the daily temperature, valuation, and sentiment scores (all scored 0–100).

## Parameters

### Query Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `market` | string | Yes | Market code. One of `HK`, `US`, `CN`, `SG`. |
| `start_date` | string | Yes | Start date in `YYYYMMDD` format (e.g. `20250101`). |
| `end_date` | string | Yes | End date in `YYYYMMDD` format (e.g. `20250110`). |

## Request Example

```bash
curl --request GET \
  --url 'https://openapi.longbridge.com/v1/quote/history_market_temperature?market=<market>&start_date=<start_date>&end_date=<end_date>' \
  --header 'Authorization: Bearer <access_token>'
```

## Response

### Response Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `list` | object[] | No | Market-temperature time series. |
| `└ timestamp` | string | No | Unix timestamp of the data point. |
| `└ temperature` | integer | No | Market temperature (0–100). |
| `└ valuation` | integer | No | Valuation score. |
| `└ sentiment` | integer | No | Sentiment score. |
| `type` | string | No | Granularity of the series, e.g. `day`. |

### Response JSON Example

```json
{
  "code": 0,
  "message": "success",
  "data": {
    "list": [
      {
        "timestamp": "1735794000",
        "temperature": 58,
        "valuation": 54,
        "sentiment": 61
      },
      {
        "timestamp": "1735880400",
        "temperature": 59,
        "valuation": 56,
        "sentiment": 63
      }
    ],
    "type": "day"
  }
}
```
