Skip to main content
GET
/
api
/
market-data
/
market
/
temperature
Get market temperature
curl --request GET \
  --url https://openapi.fcontext.com/api/market-data/market/temperature \
  --header 'x-api-key: <api-key>'
{
  "temperature": {
    "market": 123,
    "temperature": 123,
    "timestamp": "2023-11-07T05:31:56Z",
    "records": [
      {}
    ]
  }
}

Authorizations

x-api-key
string
header
required

Financial Context key generated from account settings. Send it as x-api-key: <key>.

Query Parameters

market
string
default:HK

Market code. Supports HK (default), US, CN/SH/SZ, and SG.

history
boolean
default:false

Whether to return a historical series.

start
string<date>

Historical start date YYYY-MM-DD. Defaults to 30 days before the end date when omitted.

end
string<date>

Historical end date YYYY-MM-DD. Defaults to the current date when omitted.

Response

Market temperature

temperature
object

Market temperature data. Snapshot and historical series fields follow the Financial Context market-data provider SDK response.