基础数据
股票基础信息
查询 A 股标的代码、名称、交易所、上市状态、行业和地区。
GET/v1/stock/basic
请求参数
| 名称 | 必填 | 说明 |
|---|---|---|
| symbol | 否 | 标的代码,例如 000001.SZ。 |
| name | 否 | 证券名称,支持模糊匹配。 |
| market | 否 | 市场类别,例如 主板、创业板、科创板、北交所。 |
| status | 否 | 上市状态,例如 L、D、P。 |
| exchange | 否 | 交易所代码,例如 SSE、SZSE、BSE。 |
| industry | 否 | 所属行业,支持模糊匹配。 |
| area | 否 | 所在地区,支持模糊匹配。 |
| is_st | 否 | 是否 ST 股票,支持 1/0、true/false。 |
| limit | 否 | 返回条数,默认 500,最大 5000。 |
HTTP 示例
bash
curl "https://api.quantee.cn/v1/stock/basic?symbol=000001.SZ&name=平安&market=主板&status=L&exchange=SZSE"Python SDK 示例
python
import quantee as qt
qt.stock_basic(symbol="000001.SZ", name="平安", market="主板", status="L", exchange="SZSE")返回字段
data 数组中的常用字段如下。扩展数据集会保留一部分来源字段名,但响应中统一把 ts_code 映射为 symbol。
| 字段 | 字段类型 | 字段描述 |
|---|---|---|
| symbol | string | Quantee 统一证券代码,例如 000001.SZ。 |
| name | string | 证券名称或公司名称。 |
| exchange | string | 交易所代码,例如 SSE、SZSE。 |
| market | string | 市场类型或板块。 |
| asset_type | string | 资产类型,例如 stock。 |
| currency | string | 计价货币,例如 CNY。 |
| industry | string | 所属行业。 |
| area | string | 上市公司所在地区。 |
| list_date | string(date) | 上市日期,格式 YYYY-MM-DD。 |
| delist_date | string(date) | 退市日期,格式 YYYY-MM-DD。 |
| status | string | 上市状态,例如 L 表示上市。 |
| is_st | boolean | 是否 ST 股票。 |
响应结构
json
{
"code": 0,
"message": "ok",
"data": [
{
"symbol": "000001.SZ",
"name": "平安银行",
"exchange": "SSE",
"market": "主板",
"asset_type": "stock",
"currency": "sample",
"industry": "银行",
"area": "深圳",
"list_date": "1991-04-03",
"delist_date": "2026-07-17",
"status": "L",
"is_st": false
}
],
"page": {
"limit": 500,
"next_cursor": null,
"has_more": false
}
}