### GET /hsstock/instrument/{stock_code}/{license_key} Source: https://mairui.club/hsdata/index Retrieves basic information for a given stock. ```APIDOC ## GET /hsstock/instrument/{stock_code}/{license_key} ### Description Fetches fundamental information about a specific stock, such as its name, listing date, and trading parameters. ### Method GET ### Endpoint `https://api.mairuiapi.com/hsstock/instrument/{stock_code}/{license_key}` ### Parameters #### Path Parameters - **stock_code** (string) - Required - The stock code (e.g., `000001.SZ`). - **license_key** (string) - Required - Your Mairui API license key. ### Request Example ``` GET https://api.mairuiapi.com/hsstock/instrument/000001.SZ/LICENCE-66D8-9F96-0C7F0FBCD073 ``` ### Response #### Success Response (200) - **ei** (string) - Exchange identifier. - **ii** (string) - Instrument identifier (stock code). - **name** (string) - Stock name. - **od** (string) - Listing date (IPO date). - **pc** (float) - Previous closing price. - **up** (float) - Daily upper limit price. - **dp** (float) - Daily lower limit price. - **fv** (float) - Circulating shares. - **tv** (float) - Total shares. - **pk** (float) - Minimum price fluctuation unit. - **is** (int) - Stock suspension status (<=0: trading normally, >=1: number of days suspended). #### Response Example ```json { "ei": "SZ", "ii": "000001", "name": "平安银行", "od": "19910412", "pc": 10.50, "up": 11.55, "dp": 9.45, "fv": 8576000000.0, "tv": 9433000000.0, "pk": 0.01, "is": 0 } ``` ``` -------------------------------- ### GET /hsstock/indicators/{stock_code}/{license_key} Source: https://mairui.club/hsdata/index Retrieves various market indicators for a given stock. ```APIDOC ## GET /hsstock/indicators/{stock_code}/{license_key} ### Description Fetches key market indicators for a specified stock. Data can be filtered by date range. ### Method GET ### Endpoint `https://api.mairuiapi.com/hsstock/indicators/{stock_code}/{license_key}` ### Parameters #### Path Parameters - **stock_code** (string) - Required - The stock code (e.g., `600519.SH`). - **license_key** (string) - Required - Your Mairui API license key. #### Query Parameters - **st** (string) - Optional - Start date in `YYYYMMDD` format. - **et** (string) - Optional - End date in `YYYYMMDD` format. ### Request Example ``` GET https://api.mairuiapi.com/hsstock/indicators/600519.SH/LICENCE-66D8-9F96-0C7F0FBCD073 ``` ### Response #### Success Response (200) - **time** (string) - Update time. - **lb** (float) - Volume ratio. - **om** (float) - 1-minute price change (%). - **fm** (float) - 5-minute price change (%). - **3d** (float) - 3-day return (%). - **5d** (float) - 5-day return (%). - **10d** (float) - 10-day return (%). - **3t** (float) - 3-day turnover (%). - **5t** (float) - 5-day turnover (%). - **10t** (float) - 10-day turnover (%). #### Response Example ```json [ { "time": "20240614163000", "lb": 1.2, "om": 0.5, "fm": 1.1, "3d": 2.5, "5d": 4.0, "10d": 8.0, "3t": 1.5, "5t": 2.5, "10t": 4.5 } ] ``` ``` -------------------------------- ### GET /hsrl/ssjy_more/{license} Source: https://mairui.club/hsdata/index Retrieves real-time trading data for up to 20 stocks specified by their codes. ```APIDOC ## GET /hsrl/ssjy_more/{license} ### Description Retrieves real-time trading data for up to 20 stocks specified by their codes. ### Method GET ### Endpoint `/hsrl/ssjy_more/{license}` ### Parameters #### Path Parameters - **license** (string) - Required - Your API license key. #### Query Parameters - **stock_codes** (string) - Required - A comma-separated list of stock codes (up to 20). #### Request Body None ### Request Example `GET /hsrl/ssjy_more/LICENCE-66D8-9F96-0C7F0FBCD073?stock_codes=000001,000002,000004` ### Response #### Success Response (200) - **p** (number) - Latest price. - **o** (number) - Opening price. - **h** (number) - Highest price. - **l** (number) - Lowest price. - **yc** (number) - Previous closing price. - **cje** (number) - Total transaction amount. - **v** (number) - Total transaction volume. - **pv** (number) - Original total transaction volume. - **ud** (float) - Amount of change. - **pc** (float) - Change percentage. - **zf** (float) - Amplitude. - **t** (string) - Update time. - **pe** (number) - Price-to-earnings ratio. - **tr** (number) - Turnover rate. - **pb_ratio** (number) - Price-to-book ratio. - **tv** (number) - Transaction volume. #### Response Example ```json [ { "p": 149.50, "o": 148.00, "h": 150.00, "l": 145.00, "yc": 147.70, "cje": 1000000000, "v": 5000000, "pv": 5000000, "ud": 1.80, "pc": 1.21, "zf": 3.47, "t": "2023-10-27 14:30:00", "pe": 25.5, "tr": 2.1, "pb_ratio": 3.5, "tv": 5000000 } ] ``` ``` -------------------------------- ### GET /hsstock/real/five/{stock_code}/{license} Source: https://mairui.club/hsdata/index Retrieves real-time bid and ask five-level quote data for a specific stock. ```APIDOC ## GET /hsstock/real/five/{stock_code}/{license} ### Description Retrieves real-time bid and ask five-level quote data for a specific stock. ### Method GET ### Endpoint `/hsstock/real/five/{stock_code}/{license}` ### Parameters #### Path Parameters - **stock_code** (string) - Required - The stock code for which to retrieve five-level quote data. - **license** (string) - Required - Your API license key. #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **ps** (number) - Ask price. - **pb** (number) - Bid price. - **vs** (number) - Ask volume. - **vb** (number) - Bid volume. - **t** (string) - Update time. #### Response Example ```json { "ps": 149.60, "pb": 149.50, "vs": 500, "vb": 1000, "t": "2023-10-27 14:30:00" } ``` ``` -------------------------------- ### GET /{subdomain}.mairuiapi.com/hsstock/vip/{stock_code}/{time_level}/{delisting_method}/{license_key} Source: https://mairui.club/hsdata/index Retrieves historical 1-minute level trading data for enterprise users. ```APIDOC ## GET /{subdomain}.mairuiapi.com/hsstock/vip/{stock_code}/{time_level}/{delisting_method}/{license_key} ### Description Retrieves historical 1-minute level trading data. This is an enterprise-exclusive API and requires a dedicated subdomain. ### Method GET ### Endpoint `https://{subdomain}.mairuiapi.com/hsstock/vip/{stock_code}/{time_level}/{delisting_method}/{license_key}` ### Parameters #### Path Parameters - **subdomain** (string) - Required - Your enterprise subdomain. - **stock_code** (string) - Required - The stock code (e.g., `000001.SZ`). - **time_level** (string) - Required - The time level for the data. Supports `1` (1-minute), `5`, `15`, `30`, `60`, `d`, `w`, `m`, `y`. - **delisting_method** (string) - Required - Delisting adjustment method. For daily and above: `n`, `f`, `b`, `fr`, `br`. For minute level, only `n` is supported. - **license_key** (string) - Required - Your Mairui API license key. #### Query Parameters - **st** (string) - Optional - Start time in `YYYYMMDD` or `YYYYMMDDhhmmss` format. - **et** (string) - Optional - End time in `YYYYMMDD` or `YYYYMMDDhhmmss` format. - **lt** (integer) - Optional - Number of latest records to retrieve. ### Request Example *No public demo URL available for this enterprise-exclusive API.* ### Response #### Success Response (200) - **t** (string) - Trading time. - **o** (float) - Opening price. - **h** (float) - Highest price. - **l** (float) - Lowest price. - **c** (float) - Closing price. - **v** (float) - Trading volume. - **a** (float) - Transaction amount. - **pc** (float) - Previous closing price. - **sf** (int) - Suspension status (1 for suspended, 0 for active). #### Response Example ```json [ { "t": "20240614093100", "o": 10.50, "h": 10.52, "l": 10.49, "c": 10.51, "v": 5000.0, "a": 52550.0, "pc": 10.50, "sf": 0 } ] ``` ``` -------------------------------- ### GET /hscp/ljgg/{stock_code}/{licence} Source: https://mairui.club/hsdata/index Fetches historical executive members for a given company stock code. ```APIDOC ## GET /hscp/ljgg/{stock_code}/{licence} ### Description Fetches the list of historical executive members for a given company stock code. This data is updated daily. ### Method GET ### Endpoint /hscp/ljgg/{stock_code}/{licence} #### Path Parameters - **stock_code** (string) - Required - The stock code of the company (e.g., 000001). - **licence** (string) - Required - Your API license key. ### Response #### Success Response (200) - **name** (string) - Name of the executive. - **title** (string) - Position of the executive. - **sdate** (string) - Start date of their tenure (yyyy-MM-dd). - **edate** (string) - End date of their tenure (yyyy-MM-dd). #### Response Example ```json [ { "name": "John Doe", "title": "CEO", "sdate": "2020-01-01", "edate": "2023-12-31" } ] ``` ``` -------------------------------- ### GET /hsstock/stopprice/history/{stock_code}/{license_key} Source: https://mairui.club/hsdata/index Retrieves historical daily upper and lower limit prices for a given stock. ```APIDOC ## GET /hsstock/stopprice/history/{stock_code}/{license_key} ### Description Fetches historical daily upper and lower limit prices for a specified stock. Data can be filtered by date range. ### Method GET ### Endpoint `https://api.mairuiapi.com/hsstock/stopprice/history/{stock_code}/{license_key}` ### Parameters #### Path Parameters - **stock_code** (string) - Required - The stock code (e.g., `000001.SZ`). - **license_key** (string) - Required - Your Mairui API license key. #### Query Parameters - **st** (string) - Optional - Start date in `YYYYMMDD` format. - **et** (string) - Optional - End date in `YYYYMMDD` format. ### Request Example ``` GET https://api.mairuiapi.com/hsstock/stopprice/history/000001.SZ/LICENCE-66D8-9F96-0C7F0FBCD073?st=20240501&et=20240601 ``` ### Response #### Success Response (200) - **t** (string) - Trading date. - **h** (float) - Upper limit price. - **l** (float) - Lower limit price. #### Response Example ```json [ { "t": "20240501", "h": 11.50, "l": 9.50 } ] ``` ``` -------------------------------- ### GET /hscp/sdgd/{stock_code}/{license} Source: https://mairui.club/hsdata/index Retrieves the top ten shareholders for a listed company, sorted by the cut-off date in descending order. ```APIDOC ## GET /hscp/sdgd/{stock_code}/{license} ### Description This endpoint retrieves the top ten shareholders of a listed company. The data is sorted in descending order based on the cut-off date. ### Method GET ### Endpoint https://api.mairuiapi.com/hscp/sdgd/{stock_code}/{license} ### Parameters #### Path Parameters - **stock_code** (string) - Required - The stock code of the company (e.g., 000001). - **license** (string) - Required - Your unique API license key. ### Request Example ``` https://api.mairuiapi.com/hscp/sdgd/000001/LICENCE-66D8-9F96-0C7F0FBCD073 ``` ### Response #### Success Response (200) - **jzrq** (string) - Cut-off date in yyyy-MM-dd format. - **ggrq** (string) - Announcement date in yyyy-MM-dd format. - **gdsm** (string) - Shareholder description. - **gdzs** (number) - Total number of shareholders. - **pjcg** (number) - Average shares held (calculated based on total shares, in shares). - **sdgd** (array) - Top ten shareholders. The ZygdSdgd object contains details about each shareholder. #### Response Example ```json { "jzrq": "2023-09-30", "ggrq": "2023-10-20", "gdsm": "截至2023年9月30日", "gdzs": 150000, "pjcg": 250000, "sdgd": [ { "shareholder_name": "Shareholder A", "shares_held": 50000000, "percentage": "10.0%" }, { "shareholder_name": "Shareholder B", "shares_held": 40000000, "percentage": "8.0%" } ] } ``` ``` -------------------------------- ### GET /hscp/jdlr/{stock_code}/{licence} Source: https://mairui.club/hsdata/index Fetches quarterly profit data for the past year for a company stock code, ordered by cutoff date. ```APIDOC ## GET /hscp/jdlr/{stock_code}/{licence} ### Description Fetches the quarterly profit data for the past year for a given company stock code, ordered by the cutoff date in descending order. This data is updated daily. ### Method GET ### Endpoint /hscp/jdlr/{stock_code}/{licence} #### Path Parameters - **stock_code** (string) - Required - The stock code of the company (e.g., 000001). - **licence** (string) - Required - Your API license key. ### Response #### Success Response (200) - **date** (string) - Cutoff date (yyyy-MM-dd). - **income** (string) - Operating income (in 10,000 CNY). - **expend** (string) - Operating expenses (in 10,000 CNY). - **profit** (string) - Operating profit (in 10,000 CNY). - **totalp** (string) - Total profit (in 10,000 CNY). - **reprofit** (string) - Net profit (in 10,000 CNY). - **basege** (string) - Basic earnings per share (CNY/share). - **ettege** (string) - Diluted earnings per share (CNY/share). - **otherp** (string) - Other comprehensive income (in 10,000 CNY). - **totalcp** (string) - Total comprehensive income (in 10,000 CNY). #### Response Example ```json [ { "date": "2023-09-30", "income": "1500000.00", "expend": "1200000.00", "profit": "300000.00", "totalp": "320000.00", "reprofit": "250000.00", "basege": "1.25", "ettege": "1.20", "otherp": "10000.00", "totalcp": "260000.00" } ] ``` ``` -------------------------------- ### GET /hsstock/financial/income/{stock_code}/{license} Source: https://mairui.club/hsdata/index Fetches the income statement for a given stock code within a specified date range. The date format is YYYYMMDD. ```APIDOC ## GET /hsstock/financial/income/{stock_code}/{license} ### Description Retrieves the financial income statement for a specified stock. You can filter the results by providing a start date (st) and an end date (et). ### Method GET ### Endpoint https://api.mairuiapi.com/hsstock/financial/income/{stock_code}/{license} ### Parameters #### Path Parameters - **stock_code** (string) - Required - The stock code (e.g., 000001.SZ). - **license** (string) - Required - Your API license key. #### Query Parameters - **st** (string) - Optional - Start date in YYYYMMDD format (e.g., '20230330'). - **et** (string) - Optional - End date in YYYYMMDD format (e.g., '20230630'). ### Request Example ```json GET https://api.mairuiapi.com/hsstock/financial/income/600519.SH/LICENCE-66D8-9F96-0C7F0FBCD073?st=20230330&et=20230630 ``` ### Response #### Success Response (200) - **jzrq** (string) - Closing date. - **plrq** (string) - Disclosure date. - **yysr** (float) - Operating revenue. - **yzbf** (float) - Underwriting income. - **fdczssr** (float) - Real estate sales revenue. - **yyzcb** (float) - Total operating cost. - **fdczscb** (float) - Real estate sales cost. - **yffy** (float) - R&D expenses. - **tbj** (float) - Surrender value. - **pczjje** (float) - Net claim payment. - **tqbxhtzbjje** (float) - Net amount of insurance contract reserve provision. - **bdhlzc** (float) - Policyholder dividend payout. - **fbfy** (float) - Reinsurance premium expenses. - **gyjzbdsy** (float) - Fair value change gains. - **qhsy** (float) - Futures gains or losses. - **tgsy** (float) - Custody income. - **btsr** (float) - Subsidy income. - **qtywlr** (float) - Other business profit. - **bhbfzhbqsljlr** (float) - Net profit realized by the merged entity before acquisition. - **lxsr** (float) - Interest income. - **sxfjyjsr** (float) - Fee and commission income. - **sxfjyjzc** (float) - Fee and commission expenses. - **qtywcb** (float) - Other business costs. - **hdsy** (float) - Exchange gains or losses. - **fldzcczsy** (float) - Non-current asset disposal gain. - **sdsfy** (float) - Income tax expense. - **wqrtzss** (float) - Unrealized investment loss. - **gsmgsyzzdjlr** (float) - Net profit attributable to parent company owners. - **lxzc** (float) - Interest expense. - **qtywsr** (float) - Other business revenue. - **yyzsr** (float) - Total operating revenue. - **yycb** (float) - Operating cost. - **yysjjfj** (float) - Taxes and surcharges on operating revenue. - **xsfy** (float) - Selling expenses. - **glfy** (float) - Administrative expenses. - **cwfy** (float) - Financial expenses. - **zcjzss** (float) - Asset impairment loss. - **tzsy** (float) - Investment income. - **lyqyhhhqydtzsy** (float) - Investment income from joint ventures and cooperative enterprises. - **yylr** (float) - Operating profit. - **ywsr** (float) - Non-operating income. - **ywzc** (float) - Non-operating expenses. - **lrze** (float) - Total profit. - **jlr** (float) - Net profit. - **jlrhfcjcx** (float) - Net profit (after deducting non-recurring items). - **ssgdsy** (float) - Minority interest profit or loss. - **jbmgsy** (float) - Basic earnings per share. - **xsmgsy** (float) - Diluted earnings per share. - **zhsyz** (float) - Total comprehensive income. - **gsssgdzhsyz** (float) - Comprehensive income attributable to minority shareholders. - **qtsy** (float) - Other income. #### Response Example ```json [ { "jzrq": "2023-06-30", "plrq": "2023-08-25", "yysr": 12000000000.0, "yzbf": 0.0, "fdczssr": 0.0, "yyzcb": 8000000000.0, "fdczscb": 0.0, "yffy": 500000000.0, "tbj": 0.0, "pczjje": 0.0, "tqbxhtzbjje": 0.0, "bdhlzc": 0.0, "fbfy": 0.0, "gyjzbdsy": 10000000.0, "qhsy": 0.0, "tgsy": 0.0, "btsr": 0.0, "qtywlr": 0.0, "bhbfzhbqsljlr": 0.0, "lxsr": 50000000.0, "sxfjyjsr": 0.0, "sxfjyjzc": 0.0, "qtywcb": 0.0, "hdsy": 0.0, "fldzcczsy": 0.0, "sdsfy": 800000000.0, "wqrtzss": 0.0, "gsmgsyzzdjlr": 3200000000.0, "lxzc": 20000000.0, "qtywsr": 0.0, "yyzsr": 12050000000.0, "yycb": 8000000000.0, "yysjjfj": 100000000.0, "xsfy": 400000000.0, "glfy": 300000000.0, "cwfy": 150000000.0, "zcjzss": 0.0, "tzsy": 10000000.0, "lyqyhhhqydtzsy": 0.0, "yylr": 3000000000.0, "ywsr": 0.0, "ywzc": 0.0, "lrze": 3000000000.0, "jlr": 3000000000.0, "jlrhfcjcx": 3000000000.0, "ssgdsy": 0.0, "jbmgsy": 1.5, "xsmgsy": 1.5, "zhsyz": 3100000000.0, "gsssgdzhsyz": 0.0, "qtsy": 0.0 } ] ``` ``` -------------------------------- ### Get Balance Sheet Data Source: https://mairui.club/hsdata/index Fetches the balance sheet for a specific stock. You can optionally provide start and end dates to filter the data. The dates should be in 'YYYYMMDD' format. If no dates are provided, all available data will be returned. ```APIDOC ## GET /hsstock/financial/balance/{stock_code}/{licence} ### Description Retrieves the balance sheet data for a given stock code. The `stock_code` should include the exchange suffix (e.g., '600519.SH' or '000001.SZ'). The `licence` is your API key. Optional query parameters `st` (start date) and `et` (end date) can be provided in 'YYYYMMDD' format to filter the results. If omitted, all data will be returned. ### Method GET ### Endpoint `/hsstock/financial/balance/{stock_code}/{licence}` ### Parameters #### Path Parameters - **stock_code** (string) - Required - The stock code with exchange suffix (e.g., `600519.SH`). - **licence** (string) - Required - Your unique API license key. #### Query Parameters - **st** (string) - Optional - The start date for the data in 'YYYYMMDD' format (e.g., '20230330'). - **et** (string) - Optional - The end date for the data in 'YYYYMMDD' format (e.g., '20230630'). ### Request Example ```http GET https://api.mairuiapi.com/hsstock/financial/balance/600519.SH/YOUR_LICENCE?st=20230330&et=20230630 ``` ### Response #### Success Response (200) Returns a JSON array of balance sheet objects, where each object represents a financial period and contains the following fields: - **jzrq** (string) - Closing Date - **plrq** (string) - Disclosure Date - **nbysk** (float) - Internal Receivables - **gdzcql** (float) - Fixed Assets Disposal - **yffbzk** (float) - Payable Reinsurance Deposit - **jsbfj** (float) - Settlement Reserve Fund - **ysbf** (float) - Receivable Insurance Premium - **ysfbzk** (float) - Receivable Reinsurance Deposit - **ysfbhtzbj** (float) - Receivable Reinsurance Contract Reserve - **ysgl** (float) - Receivable Dividends - **ysckts** (float) - Receivable Export Rebates - **ysbtk** (float) - Receivable Subsidies - **ysbzj** (float) - Receivable Margin - **dfy** (float) - Prepaid Expenses - **dclldzcsy** (float) - Pending Treatment of Liquid Assets Profit/Loss - **ynndqdfldzc** (float) - Non-current Assets Due Within One Year - **cqysk** (float) - Long-term Receivables - **qtcqtz** (float) - Other Long-term Investments - **gdzcyz** (float) - Original Value of Fixed Assets - **gdzcjz** (float) - Net Value of Fixed Assets - **gdzcjzzbj** (float) - Impairment Provision for Fixed Assets - **scxswzc** (float) - Productive Biological Assets - **gyxswzc** (float) - Non-profit Biological Assets - **yqzc** (float) - Oil and Gas Assets - **kfzc** (float) - Development Expenditure - **gqfzltq** (float) - Equity Restructuring Circulation Rights - **qtfldzc** (float) - Other Non-current Assets - **yfsxfyj** (float) - Payable Handling Fees and Commissions - **qtjyk** (float) - Other Payables - **yfbzj** (float) - Payable Margin - **nbyfk** (float) - Internal Payables - **ytfy** (float) - Accrued Expenses - **bxhtzbj** (float) - Insurance Contract Reserves - **dlmmzqk** (float) - Securities Held for Trading by Agents - **dlcxzqk** (float) - Securities Underwritten by Agents - **gjpjjs** (float) - International Securities Settlement - **gnpjjs** (float) - Domestic Securities Settlement - **dysr** (float) - Deferred Income - **yfdqzq** (float) - Short-term Bonds Payable - **cqdysr** (float) - Long-term Deferred Income - **wqddtzss** (float) - Undetermined Investment Losses - **nfpxjgl** (float) - Proposed Cash Dividends - **yjfz** (float) - Estimated Liabilities - **xsckjtycf** (float) - Deposits Received and Interbank Deposits - **yjldfz** (float) - Estimated Current Liabilities - **j_kcg** (float) - Less: Treasury Shares - **hbzj** (float) - Cash and Cash Equivalents - **cczj** (float) - Funds Lent Out - **jyxjrzc** (float) - Financial Assets Held for Trading - **ysjrzc** (float) - Derivative Financial Assets - **yspj** (float) - Notes Receivable - **yszk** (float) - Accounts Receivable - **yfkx** (float) - Prepaid Accounts - **yslx** (float) - Interest Receivable - **qtysk** (float) - Other Accounts Receivable - **mrfsjrzck** (float) - Funds from Repurchase Agreements - **gyjzjzbdqjsrdq** (float) - Financial Assets Measured at Fair Value Through Profit or Loss - **ch** (float) - Inventory - **qtldzc** (float) - Other Current Assets - **ldzchj** (float) - Total Current Assets - **ffdkjjd** (float) - Loans and Advances to Customers - **kkgsjrzc** (float) - Available-for-Sale Financial Assets - **cyzdqtz** (float) - Held-to-Maturity Investments - **cqgqtz** (float) - Long-term Equity Investments - **tzxfd** (float) - Investment Properties - **ljzj** (float) - Accumulated Depreciation - **gdzc** (float) - Fixed Assets - **zjgc** (float) - Construction in Progress - **gcwz** (float) - Construction Materials - **cqfz** (float) - Long-term Liabilities - **wxzc** (float) - Intangible Assets - **sy** (float) - Goodwill - **cqdtfy** (float) - Long-term Deferred Expenses - **dysdszc** (float) - Deferred Tax Assets - **fldzchj** (float) - Total Non-current Assets - **zczj** (float) - Total Assets - **dqjk** (float) - Short-term Borrowings - **xzyhyhk** (float) - Borrowings from Central Bank - **crzj** (float) - Funds Borrowed - **jyxjrfz** (float) - Financial Liabilities Held for Trading - **ysjrfz** (float) - Derivative Financial Liabilities - **yfpj** (float) - Notes Payable - **yfzk** (float) - Accounts Payable - **ysk** (float) - Advance Receipts - **mchgjrzck** (float) - Funds from Reverse Repurchase Agreements - **yfgzxc** (float) - Employee Benefits Payable - **yjsf** (float) - Taxes Payable - **yflx** (float) - Interest Payable - **yfgl** (float) - Dividends Payable - **qtfzk** (float) - Other Accounts Payable - **ynndqdfldfz** (float) - Non-current Liabilities Due Within One Year - **qtldfz** (float) - Other Current Liabilities - **ldfzhj** (float) - Total Current Liabilities - **cqjk** (float) - Long-term Borrowings - **yfzq** (float) - Bonds Payable - **cqyfk** (float) - Long-term Accounts Payable - **zxyfk** (float) - Special Accounts Payable - **dysdsfz** (float) - Deferred Tax Liabilities - **qtfldfz** (float) - Other Non-current Liabilities - **fldfzhj** (float) - Total Non-current Liabilities - **fzhj** (float) - Total Liabilities - **sszb** (float) - Paid-in Capital (or Share Capital) - **zbgj** (float) - Capital Reserve - **zxzb** (float) - Special Reserve - **ylgj** (float) - Surplus Reserve - **ybfxzb** (float) - General Risk Reserve - **wfplr** (float) - Undistributed Profits - **wbbzbzhc** (float) - Translation Differences on Foreign Currency Statements - **gsmgdqsyhj** (float) - Total Equity Attributable to Parent Company Shareholders - **ssgdqy** (float) - Minority Interest - **syzqyhj** (float) - Total Equity - **fzhgdqyzj** (float) - Total Liabilities and Equity #### Response Example ```json [ { "jzrq": "2023-03-31", "plrq": "2023-04-28", "nbysk": 1000000.0, "gdzcql": 0.0, "yffbzk": 0.0, "jsbfj": 500000.0, "ysbf": 0.0, "ysfbzk": 0.0, "ysfbhtzbj": 0.0, "ysgl": 0.0, "ysckts": 0.0, "ysbtk": 0.0, "ysbzj": 200000.0, "dfy": 0.0, "dclldzcsy": 0.0, "ynndqdfldzc": 0.0, "cqysk": 0.0, "qtcqtz": 0.0, "gdzcyz": 15000000.0, "gdzcjz": 12000000.0, "gdzcjzzbj": 300000.0, "scxswzc": 0.0, "gyxswzc": 0.0, "yqzc": 0.0, "kfzc": 0.0, "gqfzltq": 0.0, "qtfldzc": 0.0, "yfsxfyj": 0.0, "qtjyk": 0.0, "yfbzj": 0.0, "nbyfk": 0.0, "ytfy": 0.0, "bxhtzbj": 0.0, "dlmmzqk": 0.0, "dlcxzqk": 0.0, "gjpjjs": 0.0, "gnpjjs": 0.0, "dysr": 0.0, "yfdqzq": 0.0, "cqdysr": 0.0, "wqddtzss": 0.0, "nfpxjgl": 0.0, "yjfz": 0.0, "xsckjtycf": 0.0, "yjldfz": 0.0, "j_kcg": 0.0, "hbzj": 8000000.0, "cczj": 0.0, "jyxjrzc": 0.0, "ysjrzc": 0.0, "yspj": 500000.0, "yszk": 2000000.0, "yfkx": 100000.0, "yslx": 0.0, "qtysk": 300000.0, "mrfsjrzck": 0.0, "gyjzjzbdqjsrdq": 0.0, "ch": 700000.0, "qtldzc": 0.0, "ldzchj": 11600000.0, "ffdkjjd": 0.0, "kkgsjrzc": 0.0, "cyzdqtz": 0.0, "cqgqtz": 0.0, "tzxfd": 0.0, "ljzj": 0.0, "gdzc": 15000000.0, "zjgc": 0.0, "gcwz": 0.0, "cqfz": 0.0, "wxzc": 0.0, "sy": 0.0, "cqdtfy": 0.0, "dysdszc": 0.0, "fldzchj": 15000000.0, "zczj": 26600000.0, "dqjk": 0.0, "xzyhyhk": 0.0, "crzj": 0.0, "jyxjrfz": 0.0, "ysjrfz": 0.0, "yfpj": 0.0, "yfzk": 1500000.0, "ysk": 0.0, "mchgjrzck": 0.0, "yfgzxc": 400000.0, "yjsf": 200000.0, "yflx": 0.0, "yfgl": 0.0, "qtfzk": 100000.0, "ynndqdfldfz": 0.0, "qtldfz": 0.0, "ldfzhj": 2200000.0, "cqjk": 5000000.0, "yfzq": 0.0, "cqyfk": 0.0, "zxyfk": 0.0, "dysdsfz": 0.0, "qtfldfz": 0.0, "fldfzhj": 5000000.0, "fzhj": 7200000.0, "sszb": 10000000.0, "zbgj": 7000000.0, "zxzb": 0.0, "ylgj": 1000000.0, "ybfxzb": 0.0, "wfplr": 1200000.0, "wbbzbzhc": 0.0, "gsmgdqsyhj": 19200000.0, "ssgdqy": 200000.0, "syzqyhj": 19400000.0, "fzhgdqyzj": 26600000.0 } ] ``` ``` -------------------------------- ### GET /hsrl/ssjy/all/{license} Source: https://mairui.club/hsdata/index Retrieves real-time trading data for all stocks in the 'Stock List'. This endpoint is exclusively for Diamond and Annual plan licenses and is limited to one request per minute. ```APIDOC ## GET /hsrl/ssjy/all/{license} ### Description Retrieves real-time trading data for all stocks in the 'Stock List'. This endpoint is exclusively for Diamond and Annual plan licenses and is limited to one request per minute. ### Method GET ### Endpoint `/hsrl/ssjy/all/{license}` ### Parameters #### Path Parameters - **license** (string) - Required - Your API license key. #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) - **dm** (string) - Stock code. - **p** (number) - Latest price. - **o** (number) - Opening price. - **h** (number) - Highest price. - **l** (number) - Lowest price. - **yc** (number) - Previous closing price. - **cje** (number) - Total transaction amount. - **v** (number) - Total transaction volume. - **pv** (number) - Original total transaction volume. - **ud** (float) - Amount of change. - **pc** (float) - Change percentage. - **zf** (float) - Amplitude. - **t** (string) - Update time. - **pe** (number) - Price-to-earnings ratio. - **tr** (number) - Turnover rate. - **pb_ratio** (number) - Price-to-book ratio. - **tv** (number) - Transaction volume. #### Response Example ```json [ { "dm": "000001", "p": 149.50, "o": 148.00, "h": 150.00, "l": 145.00, "yc": 147.70, "cje": 1000000000, "v": 5000000, "pv": 5000000, "ud": 1.80, "pc": 1.21, "zf": 3.47, "t": "2023-10-27 14:30:00", "pe": 25.5, "tr": 2.1, "pb_ratio": 3.5, "tv": 5000000 } ] ``` ```