跳转至

获取指定股票的历史业绩报表数据,包括每股收益、营收、净利润等关键财务指标

基本信息

项目
爬虫名称 eastmoney_stock_performance_report
平台 东方财富
版本 1.0.0
作者 noimank

请求参数

参数名 类型 必填 默认值 说明
stock_code str - 股票代码,如 688313(仕佳光子)、000001(平安银行)
page_size int 50 每页数据条数,最大500
page int 1 页码,从1开始

使用示例

API 调用

curl -X POST http://localhost:8380/api/v1/spiders/run   -H "Content-Type: application/json"   -d '{
    "spider_name": "eastmoney_stock_performance_report",
    "params": { ... }
  }'

Python SDK

import httpx

async with httpx.AsyncClient() as client:
    resp = await client.post(
        "http://localhost:8380/api/v1/spiders/run",
        json={
            "spider_name": "eastmoney_stock_performance_report",
            "params": { ... }
        }
    )
    result = resp.json()

返回格式

{
  "success": true,
  "message": "执行成功",
  "data": { ... },
  "execution_time": 1.23
}