@api_url = http://api.tushare.pro @api_key = 64ebff4fa679167600b905ee45dd88e76f3963c0ff39157f3f085f0e ### Get Stock List POST {{api_url}} Content-Type: application/json { "api_name": "stock_basic", "token": "{{api_key}}", "params": { "list_status": "L", "market": "主板", "exchange": "SSE,SZSE" }, "fields": [ "ts_code", "name", "fullname", "exchange", "industry", "market", "list_date" ] } ### Get income list POST {{api_url}} Content-Type: application/json { "api_name": "income", "token": "{{api_key}}", "params": { "ts_code": "600000.SH" }, "fields": [ "ts_code", "ann_date", "fiscal_year", "report_type", "net_profit", "total_revenue", "total_cost", "gross_profit", "operating_profit", "net_profit_before_tax", "net_profit_to_parent", "total_revenue_to_parent" ] } ### Get daily list POST {{api_url}} Content-Type: application/json { "api_name": "daily", "token": "{{api_key}}", "params": { "ts_code": "000001.SZ", "trade_date": "20140715" }, "fields": [ "close", "pre_close" ] } ### Get trade date POST {{api_url}} Content-Type: application/json { "api_name": "trade_cal", "token": "{{api_key}}", "params": { "exchange": "BSE", "is_open": 1 }, "fields": [ "exchange", "cal_date", "is_open", "pretrade_date" ] } ### Get Factor POST {{api_url}} Content-Type: application/json { "api_name": "adj_factor", "token": "{{api_key}}", "params": { "trade_date": "20241231" }, "fields": [ "ts_code", "trade_date", "adj_factor" ] } ### Get daily factor POST {{api_url}} Content-Type: application/json { "api_name": "stk_factor_pro", "token": "{{api_key}}", "params": { "ts_code": "000001.SZ", "trade_date": "20250225" }, "fields": [ "ts_code", "trade_date", "close", "close_qfq", "close_hfq", "ema_hfq_5" ] } ### Get income POST {{api_url}} Content-Type: application/json { "api_name": "income", "token": "{{api_key}}", "params": { "ts_code": "000001.SZ", "period": "20241231" }, "fields": [ "ts_code", "ann_date", "total_revenue", "int_income" ] } ### Get cashflow POST {{api_url}} Content-Type: application/json { "api_name": "cashflow", "token": "{{api_key}}", "params": { "ts_code": "000002.SZ", "period": "20231231" }, "fields": [ "ann_date", "n_cashflow_act" ] } ### Get balancesheet POST {{api_url}} Content-Type: application/json { "api_name": "balancesheet", "token": "{{api_key}}", "params": { "ts_code": "000002.SZ", "period": "20231231" }, "fields": [ "ann_date", "total_cur_liab", "oth_cur_liab" ] } ### Get fina_indicator POST {{api_url}} Content-Type: application/json { "api_name": "fina_indicator", "token": "{{api_key}}", "params": { "ts_code": "000002.SZ", "period": "20231231" }, "fields": [ "ann_date", "ocf_to_shortdebt", "currentdebt_to_debt" ] } ### Get suspend POST {{api_url}} Content-Type: application/json { "api_name": "suspend", "token": "{{api_key}}", "params": { "ts_code": "000001.SZ", "suspend_type": "S" }, "fields": [ "suspend_date", "resume_date" ] }