跳转到主要内容
GET
/
api
/
market-data
/
quote
获取实时行情
curl --request GET \
  --url https://openapi.fcontext.com/api/market-data/quote \
  --header 'x-api-key: <api-key>'
{
  "quote": [
    {
      "symbol": "AAPL.US",
      "lastDone": "<string>",
      "prevClose": "<string>",
      "open": "<string>",
      "high": "<string>",
      "low": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "volume": "<string>",
      "turnover": "<string>",
      "tradeStatus": 123
    }
  ]
}

授权

x-api-key
string
header
必填

在账户设置中生成的 Financial Context key。请以 x-api-key: <key> 形式发送。

查询参数

symbols
string
必填

逗号分隔的证券标的,例如 AAPL.US,MSFT.US

响应

实时行情

quote
object[]