image

Filter insider trades down to buys by keeping every row whose transactionType is Buy.

The published sample is a mixed page. The first row is a Sell and the next row is a Buy, so the list is the rows the script keeps.

To access this endpoint, you must obtain an API key: Get your API key

Ask for Buy on page 1

GET /v1/markets/insider-trades accepts type values Buy, Sell, and Transfer. This request sends Buy and page 1, and leaves ticker off, so more than one symbol can appear. The published sample's meta.page is the string 2.

Method: GET

URL: https://api.mboum.com/v1/markets/insider-trades

Documentation: insider trades

Keep rows marked Buy

The script asks for Buy, then prints symbol, transactionType, usdValue, and transactionDate only when transactionType is Buy. A sell list is the same loop with Sell.

import requests

url = "https://api.mboum.com/v1/markets/insider-trades"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
params = {"type": "Buy", "page": "1"}

response = requests.get(url, headers=headers, params=params)
response.raise_for_status()
payload = response.json()
for row in payload["body"]:
    if row["transactionType"] != "Buy":
        continue
    print(row["symbol"], row["transactionType"], row["usdValue"], row["transactionDate"])

The sample page is mixed

These are the Buy-row fields the script prints. The full sample row also includes the person's name, job title, and note. The row ahead of it is a Sell for LAD.

{
  "symbol": "CHRD",
  "transactionType": "Buy",
  "usdValue": "8,000",
  "transactionDate": "01/24/24"
}

meta.count is 50 and meta.total is 477. One limitation: that published page mixes Sell and Buy, so the buy list is the rows whose transactionType is Buy.

Learn more or explore other endpoints: insider trades

How to Read Financial Data for a Company with the Mboum API Oct 24, 2026

How to Read Financial Data for a Company with the Mboum API

A short company profile is tempting to treat as a set of accounts.

How to Read Key Statistics for a Company with the Mboum API Oct 24, 2026

How to Read Key Statistics for a Company with the Mboum API

Read a company's key statistics by requesting the statistics module and printing the keys that come back.

How to Read Institutional Holdings with the Mboum API Oct 22, 2026

How to Read Institutional Holdings with the Mboum API

Read institutional holdings for one ticker as owner name, date, and shares held on each row.

How to Read Short Interest with the Mboum API Oct 22, 2026

How to Read Short Interest with the Mboum API

Read short interest for one stock as a settlement-date series of shares short and days to cover.