# Dataroma Portfolio & Financial Data Scraper (`entrepreneurial_lens_ehi/dataroma-com`) Actor

Extract portfolio holdings and positions from dataroma.com as clean structured JSON including Url, Title, Manager. Automatic pagination, deduplicated output and easy JSON/CSV/Excel export. Ideal for Financial research, monitoring and enrichment pipelines.

- **URL**: https://apify.com/entrepreneurial\_lens\_ehi/dataroma-com.md
- **Developed by:** [T T](https://apify.com/entrepreneurial_lens_ehi) (community)
- **Categories:** AI, Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.63 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Dataroma Portfolio & Financial Data Scraper

Extracts portfolio holdings and positions from [dataroma.com](https://www.dataroma.com/m/managers.php) and writes them to the dataset as structured JSON.

### Use cases

- Track portfolio holdings, weights and price moves
- Monitor what top investors are buying and selling
- Build valuation and market-research datasets

### What it does

The actor downloads each page, parses the holdings, and stores one record per holding. Each record contains **url**, **title**, **manager**, **description**, **price**, **weight**.

- Extraction runs over plain HTTP, so runs are fast
- JSON-LD and embedded page-state data are used when present; otherwise the actor falls back to DOM parsing
- Duplicate records are removed before the dataset is written
- Pagination is followed automatically up to the configured page limit

### Output

#### Sample output

Three example records from a real run:

```json
[
  {
    "url": "https://www.dataroma.com/m/stock.php?sym=SUNB",
    "title": "SUNB",
    "manager": "Abrams Bison Investments",
    "description": "Sunbelt Rentals Holdings Inc",
    "price": "$65.09",
    "weight": "35.38% of portfolio"
  },
  {
    "url": "https://www.dataroma.com/m/stock.php?sym=SNX",
    "title": "SNX",
    "manager": "Abrams Bison Investments",
    "description": "SYNNEX Corp.",
    "price": "$168.71",
    "weight": "18.20% of portfolio"
  },
  {
    "url": "https://www.dataroma.com/m/stock.php?sym=AMAT",
    "title": "AMAT",
    "manager": "Abrams Bison Investments",
    "description": "Applied Materials",
    "price": "$341.79",
    "weight": "10.41% of portfolio"
  }
]
```

Export the dataset as JSON, CSV or Excel from the **Dataset** tab after the run.

#### Output schema

```json
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "url": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "manager": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "price": {
      "type": "string"
    },
    "weight": {
      "type": "string"
    }
  }
}
```

### Input

| Field | Type | Description |
|---|---|---|
| `startUrls` | array | Pages to scrape (defaults to https://www.dataroma.com/m/managers.php) (default: `["https://www.dataroma.com/m/managers.php"]`) |
| `maxPages` | integer | Maximum number of pages to crawl before stopping. (default: `10`) |
| `maxItems` | integer | Maximum number of records to return. Leave empty for no limit. |

### Pricing

- **Pay-per-result:** $5.8333 per 1,000 results

- **Billed per result** — you only pay for the records that land in your dataset.

- **Volume discounts** apply automatically as monthly usage climbs; the "from" price on the store page is the discounted rate.

- **Run start:** $5e-05 per GB of memory (a 1 GB run starts for a fraction of a cent); results are billed separately.

- There is no subscription or minimum spend. A run is charged only for the records that land in your dataset.

### Integrations

The actor runs on the Apify platform: call it from the API or the Python and Node.js SDKs, trigger it on a schedule, send results to webhooks, and pipe the dataset into Zapier, Make, Slack or Google Sheets. The dataset is also LLM-ready -- point any tool that reads JSON at it.

### FAQ

**How much does a run cost?**
Pay-per-result only. You are charged for the records that land in your dataset ($5.8333 per 1,000 results), with no subscription or minimum. Volume discounts apply automatically on higher monthly usage.

**What fields do I get?**
Each record contains **url**, **title**, **manager**, **description**, **price**, **weight**. Fields the source page does not display are omitted -- nothing is fabricated.

**How fresh is the data?**
Extraction reads the live pages at run time. Schedule recurring runs from the platform to keep a monitoring dataset current.

**Can I scrape pages other than the default URL?**
Yes. Pass any URL that matches the site's page structure in `startUrls`; the actor crawls and extracts from it the same way.

**How many records can one run return?**
Control it with `maxPages` (crawling depth) and `maxItems` (a hard cap on returned records).

**Is it legal to scrape this data?**
The actor collects publicly available data only. Check the site's Terms of Service and applicable law (for example GDPR) before bulk collection, and review the platform's own data-collection policy.

**How do I export the results?**
JSON, CSV or Excel from the Dataset tab after the run, or pull the dataset programmatically via the API/SDKs.

**What happens if a run fails?**
The run reports per-record errors instead of failing silently. Retry the run, and open an issue on the Issues tab if a target site keeps blocking extraction.

### Limitations

- The actor extracts what the public pages expose. Fields the site does not display are omitted; nothing is fabricated.
- Some sites render content client-side. Extraction follows the live markup, so results can change if the site is redesigned.
- The actor collects publicly available data only. Check the site's Terms of Service and applicable law (for example GDPR) before bulk collection.

Found a problem or want a field added? Open an issue on the **Issues** tab -- the maintainer responds.

# Actor input Schema

## `startUrls` (type: `array`):

Pages to scrape (defaults to https://www.dataroma.com/m/managers.php)

## `maxPages` (type: `integer`):

Maximum number of pages to crawl before stopping.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.dataroma.com/m/managers.php"
  ],
  "maxPages": 10
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset items produced by the Actor.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://www.dataroma.com/m/managers.php"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("entrepreneurial_lens_ehi/dataroma-com").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": ["https://www.dataroma.com/m/managers.php"] }

# Run the Actor and wait for it to finish
run = client.actor("entrepreneurial_lens_ehi/dataroma-com").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.dataroma.com/m/managers.php"
  ]
}' |
apify call entrepreneurial_lens_ehi/dataroma-com --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,entrepreneurial_lens_ehi/dataroma-com"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zaKwwPDVkLoLYlNuN/builds/ivu5doCIiscZ5SeHb/openapi.json
