Discover/HKEXnews API
live

HKEXnews APIwww3.hkexnews.hk

Query CCASS participant shareholding data for any Hong Kong listed stock by stock code and date. Access participant IDs, names, share counts, and issued shares.

This API takes change requests — .
Endpoint health
verified 3h ago
get_ccass_shareholding
1/1 passing latest checkself-healing
Endpoints
1
Updated
3h ago

What is the HKEXnews API?

The HKEXnews CCASS Shareholding API provides access to Hong Kong Exchange clearing system data through a single endpoint, get_ccass_shareholding, returning up to hundreds of participant records per query. Each response includes participant IDs, participant names, individual shareholding quantities, total issued shares, and the exact record date — covering up to 12 months of historical CCASS data for any valid Hong Kong stock code.

This call costs1 credit / call— charged only on success
Try it
Hong Kong stock code, 4-5 digits with leading zeros preserved (e.g. 01592, 00001).
Shareholding date in YYYY/MM/DD format (e.g. 2026/08/11). Must be within the past 12 months.
api.parse.bot/scraper/8d426f3f-9484-4846-b374-01b624c660ab/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/8d426f3f-9484-4846-b374-01b624c660ab/get_ccass_shareholding?stock_code=01592&shareholding_date=2026%2F08%2F11' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace www3-hkexnews-hk-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: HKEX CCASS Shareholding API — look up participant holdings for a stock."""
from parse_apis.www3_hkexnews_hk_api import HkexCcass, InputFormatInvalid

client = HkexCcass()

# Fetch CCASS shareholding data for stock 01592 on a recent date.
try:
    report = client.shareholdings.get(stock_code="01592", shareholding_date="2026/08/11")
except InputFormatInvalid:
    print("Invalid stock code or date format.")
    raise

print(f"{report.stock_name} ({report.stock_code}) — {report.shareholding_date}")
print(f"Issued shares: {report.issued_shares:,}")
print(f"Total participants: {report.total_participants}")

# Show the top 5 participants by shareholding (already sorted descending).
for participant in report.participants[:5]:
    print(
        f"  {participant.participant_name} ({participant.participant_id}): "
        f"{participant.shareholding:,} shares ({participant.percent_of_issued_shares}%)"
    )

print("exercised: shareholdings.get / Shareholding fields / Participant fields")
All endpoints · 1 totalmissing one? ·

Returns all CCASS participants and their shareholding for a given Hong Kong stock on a specified date. Results are sorted by shareholding quantity in descending order. The data covers the past 12 months of CCASS records. If the specified date falls on a weekend or public holiday, the system returns the most recent preceding business day's records.

Input
ParamTypeDescription
stock_coderequiredstringHong Kong stock code, 4-5 digits with leading zeros preserved (e.g. 01592, 00001).
shareholding_daterequiredstringShareholding date in YYYY/MM/DD format (e.g. 2026/08/11). Must be within the past 12 months.
Response
{
  "type": "object",
  "fields": {
    "stock_code": "Stock code queried",
    "stock_name": "Chinese name of the stock",
    "participants": "Array of CCASS participant shareholding records, each containing participant_id, participant_name, shareholding (number of shares), and percent_of_issued_shares",
    "issued_shares": "Total issued shares/warrants/units (most recently updated figure)",
    "shareholding_date": "Date of the shareholding record",
    "total_participants": "Total number of participants returned"
  },
  "sample": {
    "data": {
      "stock_code": "01592",
      "stock_name": "基石控股",
      "participants": [
        {
          "shareholding": 554387582,
          "participant_id": "B01922",
          "participant_name": "華港證券有限公司",
          "percent_of_issued_shares": 38.29
        },
        {
          "shareholding": 114366170,
          "participant_id": "B01565",
          "participant_name": "國泰君安證券(香港)有限公司",
          "percent_of_issued_shares": 7.89
        }
      ],
      "issued_shares": 1447776405,
      "shareholding_date": "2026/08/11",
      "total_participants": 115
    },
    "status": "success"
  }
}

About the HKEXnews API

What the API Returns

The get_ccass_shareholding endpoint accepts two required parameters: stock_code (a 4–5 digit Hong Kong stock code with leading zeros preserved, e.g. 00001 or 01592) and shareholding_date in YYYY/MM/DD format. It returns a structured response containing stock_code, stock_name (the Chinese-language name of the listed entity), issued_shares (the most recently updated total issued share count), shareholding_date, total_participants, and a participants array sorted by shareholding quantity in descending order.

Participant Records

Each entry in the participants array contains three fields: participant_id (the unique CCASS broker or custodian identifier), participant_name (the institution's registered name), and shareholding (the number of shares held through that participant on the queried date). This makes it straightforward to identify the largest clearing participants for a given stock on a given day, or to compare participant positions across dates.

Coverage and Date Handling

The API covers records up to 12 months in the past. Dates must fall within that window; queries outside the range will not return valid data. If the requested date falls on a weekend or Hong Kong public holiday, the API behavior reflects the underlying data availability for that date — no record may be available. Stock codes must include leading zeros (e.g. 00700, not 700) to match CCASS conventions.

Reliability & maintenanceVerified

The HKEXnews API is a managed, monitored endpoint for www3.hkexnews.hk — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when www3.hkexnews.hk changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official www3.hkexnews.hk API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Track changes in institutional custodian positions for a Hong Kong stock across multiple dates using participant_id and shareholding
  • Calculate the concentration of the top 10 CCASS participants relative to issued_shares for liquidity analysis
  • Monitor entry or exit of specific brokers or custodians in a stock by querying participant_name over time
  • Build a shareholding heatmap showing which CCASS participants hold the largest positions by shareholding quantity
  • Detect unusual accumulation events by comparing total_participants and individual shareholding values week over week
  • Cross-reference stock_code data across multiple listings to identify common large custodians across a sector
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does HKEX provide an official developer API for CCASS shareholding data?+
HKEX does not publish a documented public developer API for CCASS shareholding data. The CCASS search interface is available as a web tool at www3.hkexnews.hk, but there is no official REST or data API with documented endpoints, authentication flows, or SLA guarantees for programmatic access.
What does the `participants` array contain, and how is it ordered?+
Each element in participants contains participant_id (the CCASS identifier for the broker or custodian), participant_name (the registered institution name), and shareholding (share count held on the queried date). The array is sorted by shareholding in descending order, so the largest holders appear first.
Does the API return data for dates older than 12 months?+
No. The underlying CCASS search system retains records for the past 12 months only. Queries for dates outside that window will not return shareholding data. You can fork this API on Parse and revise it to add a data caching or archival layer if you need to retain historical records beyond the 12-month window.
Does the API cover shareholding data for warrants, REITs, or ETFs, or only ordinary shares?+
The issued_shares field reflects the total issued shares, warrants, or units as reported in CCASS, so the endpoint works for any instrument type listed in CCASS — including REITs, ETFs, and warrants — as long as a valid stock code is supplied. The stock_name returned is the Chinese-language name for that instrument.
Can I retrieve a full ownership history or time series for a stock in a single call?+
Not currently. Each call to get_ccass_shareholding returns data for a single stock_code and shareholding_date combination. Building a time series requires issuing one request per date. You can fork this API on Parse and revise it to add a batch or date-range endpoint that aggregates multiple dates in one response.
Page content last updated . Spec covers 1 endpoint from www3.hkexnews.hk.
Related APIs in FinanceSee all →
hkexnews.hk API
hkexnews.hk API
hkex.com.hk API
Access real-time stock quotes, track market indices, view historical charts, and search for securities listed on the Hong Kong Stock Exchange. Stay informed with live company announcements and daily quotation reports to make better trading decisions.
tdcc.com.tw API
Access Taiwan stock market data including shareholder distribution, custody statistics, and company metadata directly from the official Taiwan Depository & Clearing Corporation records. Search stocks by name, retrieve bulk shareholder information, and monitor individual securities custody trends to analyze market ownership patterns and investment positions.
sse.com.cn API
Monitor Shanghai Stock Exchange market activity with real-time equity quotes, index performance data, and daily trading statistics. Search for specific securities and view comprehensive market overviews to track stock prices and exchange trends.
asx.com.au API
Access Australian Securities Exchange (ASX) market data, including equity prices, index summaries, company details, market announcements, and company directory listings. Retrieve upcoming IPO and float information alongside comprehensive data on all ASX-listed companies.
hkab.org.hk API
Access real-time Hong Kong HIBOR interest rates and daily exchange rates to stay updated on key financial benchmarks. Get the latest market highlights and rate information directly from the Hong Kong Association of Banks to inform your financial decisions.
stockanalysis.com API
Access comprehensive stock market data including real-time financials, income statements, statistics, and IPO calendars to research individual stocks and identify market movers. Search stocks, view detailed overviews, and monitor premarket activity all in structured, easy-to-use format.
marketindex.com.au API
Track ASX stock market data including company information, stock prices, dividends, director transactions, and sector performance. Search for stocks, monitor upcoming dividends, view market announcements, and analyze investment opportunities across the Australian securities exchange.