# Demand-Space Occasion Sizing (`fifthrow/market-demand-opportunity-prioritization`) Actor

Size every consumption occasion in a category bottom-up: people x share who have it x times per year x spend, with overlaps netted out and the total reconciled to the category. Delivers a ranked occasion map where each occasion has a size range... Returns HTML, Markdown, JSON, and dataset rows.

- **URL**: https://apify.com/fifthrow/market-demand-opportunity-prioritization.md
- **Developed by:** [FifthRow](https://apify.com/fifthrow) (community)
- **Categories:** AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$46.88 / demand-space occasion sizing report

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Size every consumption occasion in a category bottom-up: people x share who have it x times per year x spend, with overlaps netted out and the total reconciled to the category. Delivers a ranked occasion map where each occasion has a size range with its drivers and an action: design for now, research next, monitor or deprioritise.

It returns a decision report in HTML, Markdown, JSON, and dataset rows.

### Runtime

Typical runtime: about 1 hour 14 minutes.

### Summary

This analysis maps the distinct consumption occasions across {MARKET_AND_CATEGORY_BOUNDARY} and answers {DEMAND_QUESTION}. It estimates the size and growth of each occasion, shows the drivers and confidence behind the estimates, and identifies the value addressable by the buyer’s format. {OWN_DEMAND_DATA} provides buyer context for interpreting the opportunity and highlighting facts to confirm.

You will receive a sourced occasion map, a bottom-up sizing and reconciliation table, a ranked priority register, and an executive decision brief. Each occasion receives a clear action—design for now, research next, monitor, or deprioritise—along with the key question or evidence that could change its priority. These deliverables help category and brand owners focus investment on the consumption moments with the strongest combination of addressable value, growth, and product fit.

### Methodology

First, define the market boundary in {MARKET_AND_CATEGORY_BOUNDARY} and identify mutually exclusive consumption occasions relevant to {DEMAND_QUESTION}. Research and cite occasion definitions, category denominators, consumption splits, format-market anchors, growth trends, current offerings, and counter-evidence. Use {OWN_DEMAND_DATA} as buyer context, checking it against public evidence and noting material conflicts or internal facts to confirm.

Build sourced low, base, and high driver ranges for each occasion, including reach, frequency, spend, and buyer-format share and price. Derive occasion servings and values, account for overlap, add the unclassified remainder, and reconcile totals to the category and format markets. Assess confidence from assumed drivers, score and rank occasions using addressable value, growth, and fit, then assign actions using consistent thresholds and a three-occasion cap for design priorities. Carry the resulting figures and citations unchanged into the decision brief.

### Inputs

- `DEMAND_QUESTION` (text): Demand Question. The demand or occasion question to answer. Example: Which coffee occasions merit consumer research or product work for a premium ready-to-drink coffee brand?
- `MARKET_AND_CATEGORY_BOUNDARY` (text): Market And Category Boundary. Geography, consumers and category boundary, with what is in and out. Example: US adults 18+, coffee at home, on the go and in cafes incl. bottled RTD; excl. tea, energy drinks, instant.
- `OWN_DEMAND_DATA` (text): Own Demand Data. Your own incidence, spend or volume data, or earlier occasion definitions: a line or two, or 'not tracked'. The App researches the rest. Example: 'Panel: RTD buyers skew to weekday mornings.'

### Outputs

Finished runs write files to the Actor **key-value store**, plus tabular rows in the default dataset.

#### HTML report (`REPORT.html`)

A self-contained HTML brief for reading the result in a browser. Use this when you want the formatted decision output,
including headings, lists, and cited source links from the App run.

#### Markdown report (`REPORT.md`)

A portable markdown document with the same narrative as the HTML report. Use this when you want to paste the output
into docs, tickets, or another markdown editor without HTML chrome.

#### Structured JSON (`OUTPUT`)

Machine-readable JSON in the key-value store under the `OUTPUT` key. The object includes:

- `id`, `status`, `ready`: App run identity and completion state
- `title`, `catalog_url`: display title and FifthRow catalog URL
- `started_at`, `finished_at`, `duration_seconds`: run timing
- `summary`: executive summary text
- `company_impact`: implied impact narrative, when the App produced one
- `sections`: sectioned App results
- `answers`: visible answer objects (title, markdown, sources)
- `questions`: Q\&A objects produced by the run
- `sources`: deduplicated source URLs
- `dataset_items`: source rows for the default dataset (oversized dataset writes may omit markdown)
- `report_markdown`: full markdown body also stored as `REPORT.md`

#### Dataset rows

The default dataset stores rows (`run`, `summary`, `company_impact`, `answer`, `qna`)
with `title`, `markdown`, and `sources`. Rows that exceed the dataset item size limit are stored with empty markdown.

# Changelog

This Actor's version history is a separate document: https://apify.com/fifthrow/market-demand-opportunity-prioritization/changelog.md

# Actor input Schema

## `DEMAND_QUESTION` (type: `string`):

The demand or occasion question to answer. Example: Which coffee occasions merit consumer research or product work for a premium ready-to-drink coffee brand? Suggested examples: Coffee occasions for product research; Tea occasions worth exploring; Yogurt occasions for innovation. Other clear text values are also accepted.

## `MARKET_AND_CATEGORY_BOUNDARY` (type: `string`):

Geography, consumers and category boundary, with what is in and out. Example: US adults 18+, coffee at home, on the go and in cafes incl. bottled RTD; excl. tea, energy drinks, instant. Suggested examples: US adults, brewed coffee; UK households, tea; Canada adults, yogurt. Other clear text values are also accepted.

## `OWN_DEMAND_DATA` (type: `string`):

Your own incidence, spend or volume data, or earlier occasion definitions: a line or two, or 'not tracked'. The App researches the rest. Example: 'Panel: RTD buyers skew to weekday mornings.' Suggested examples: Not tracked; Weekday mornings lead; Higher spend on weekends. Other clear text values are also accepted.

## Actor input object example

```json
{
  "DEMAND_QUESTION": "Coffee occasions for product research",
  "MARKET_AND_CATEGORY_BOUNDARY": "US adults, brewed coffee",
  "OWN_DEMAND_DATA": "Not tracked"
}
```

# Actor output Schema

## `OUTPUT` (type: `string`):

Complete structured JSON result stored as KVS OUTPUT.

## `markdown` (type: `string`):

Portable markdown report stored as KVS REPORT.md.

## `overview` (type: `string`):

Run overview plus summary, company impact, answers, and Q\&A as default dataset items.

## `report` (type: `string`):

Self-contained HTML report stored as KVS REPORT.html.

# 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 = {
    "DEMAND_QUESTION": "Coffee occasions for product research",
    "MARKET_AND_CATEGORY_BOUNDARY": "US adults, brewed coffee",
    "OWN_DEMAND_DATA": "Not tracked"
};

// Run the Actor and wait for it to finish
const run = await client.actor("fifthrow/market-demand-opportunity-prioritization").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 = {
    "DEMAND_QUESTION": "Coffee occasions for product research",
    "MARKET_AND_CATEGORY_BOUNDARY": "US adults, brewed coffee",
    "OWN_DEMAND_DATA": "Not tracked",
}

# Run the Actor and wait for it to finish
run = client.actor("fifthrow/market-demand-opportunity-prioritization").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 '{
  "DEMAND_QUESTION": "Coffee occasions for product research",
  "MARKET_AND_CATEGORY_BOUNDARY": "US adults, brewed coffee",
  "OWN_DEMAND_DATA": "Not tracked"
}' |
apify call fifthrow/market-demand-opportunity-prioritization --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fifthrow/market-demand-opportunity-prioritization"
        }
    }
}
```

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/Ax0aPtWpbIBQmexYr/builds/ZsSB75BYEjcKi8OMB/openapi.json
