文档
测试

(改)公司数据-股票信息列表

POST
baike.ybx.com/api/stock-list

请求参数

参数名
类型
描述
必填
type
0:A股 1:港股 2:美股
必填
page
1开始
必填
order
desc 倒序 asc 正序
必填
orderby
字段名
必填

响应参数

参数名
类型
描述
必填
code
int
示例:0
必填
message
string
示例:请求成功
必填
data
object
数据字典
必填
current_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:6
必填
company_id
string
股票代码
必填
now_price
string
当前价
必填
rise_falll
string
涨跌幅
必填
rise_fall
string
涨跌额
必填
turnover
string
成交量
必填
changeq
string
换手
必填
volume
string
成交额
必填
amplitude
string
振幅
必填
per
string
市盈率ttm
必填
dividend
string
股息ttm
必填
market
string
市值
必填
current_year_percent
string
年初至今
必填
update_time
string
更新时间
必填
companys
object
必填
id
int
示例:11
必填
type
int
示例:0
必填
code
string
股票编码
必填
name
string
股票名称
必填
updated_at
string
示例:2021-05-18 11:12:35
必填
first_page_url
string
示例:http://baike.ybx.com/api/stock-list?page=1
必填
from
int
示例:1
必填
last_page
int
示例:1
必填
last_page_url
string
示例:http://baike.ybx.com/api/stock-list?page=1
必填
links
array
数据列表
必填
url
object
示例:null
必填
label
string
示例:pagination.previous
必填
active
boolean
示例:false
必填
next_page_url
object
示例:null
必填
path
string
示例:http://baike.ybx.com/api/stock-list
必填
per_page
int
示例:15
必填
prev_page_url
object
示例:null
必填
to
int
示例:6
必填
total
int
示例:6
必填