image

Net share purchase activity for one company is a single object, and you store the keys that object prints once the module label matches.

Request module=net-share-purchase-activity from GET https://api.mboum.com/v1/markets/stock/modules. A Bearer token from Get your API key goes on the Authorization header. Parameter details are in the stock modules docs.

Request the activity summary

Send ticker=AAPL. symbol works in place of ticker. Leave timeframe off. The modules that read it are income-statement-v2, balance-sheet-v2, cashflow-statement-v2, and ratios.

Fill the object from a live body

The printed summary is the artifact: symbol, module label, and keys. The sample body is empty, so the key list stays empty until a live object supplies names.

import requests

url = "https://api.mboum.com/v1/markets/stock/modules"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
params = {"ticker": "AAPL", "module": "net-share-purchase-activity"}

response = requests.get(url, headers=headers, params=params)
response.raise_for_status()
payload = response.json()
if payload.get("success") is False:
    raise SystemExit(payload.get("message"))
meta = payload["meta"]
if meta.get("modules") != "net-share-purchase-activity":
    raise SystemExit(meta.get("modules"))
body = payload["body"]
if isinstance(body, dict):
    keys = sorted(body.keys())
elif isinstance(body, list) and body and isinstance(body[0], dict):
    keys = sorted(body[0].keys())
else:
    keys = []
summary = {"symbol": meta["symbol"], "module": meta["modules"], "keys": keys}
print(summary)
{
  "meta": {
    "symbol": "AAPL",
    "modules": "net-share-purchase-activity"
  },
  "body": {}
}
How to Read Earnings from Company Modules with the Mboum API Oct 27, 2026

How to Read Earnings from Company Modules with the Mboum API

A symbol page can carry the company's earnings record once you confirm the earnings label and save the keys that come back.

How to Read Net Share Purchase Activity with the Mboum API Oct 27, 2026

How to Read Net Share Purchase Activity with the Mboum API

Net share purchase activity for one company is a single object, and you store the keys that object prints once the module label matches.

How to Read Upgrade and Downgrade History with the Mboum API Oct 26, 2026

How to Read Upgrade and Downgrade History with the Mboum API

Read upgrade and downgrade history by requesting the upgrade-downgrade-history module and printing the keys that come back.

How to Read Company Calendar Events with the Mboum API Oct 25, 2026

How to Read Company Calendar Events with the Mboum API

Read a company's calendar events by requesting the calendar-events module and printing the keys that come back.