# Market Attractiveness Comparison (`fifthrow/market-decision-gate-assessment`) Actor

Compares countries, regions or segments on market size, growth, price, economics, access and competition against the factors and limits the buyer names. It researches sourced figures for each market in EUR, applies must-pass limits first, scores... Returns HTML, Markdown, JSON, and dataset rows.

- **URL**: https://apify.com/fifthrow/market-decision-gate-assessment.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

$50.00 / market attractiveness comparison 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

Compares countries, regions or segments on market size, growth, price, economics, access and competition against the factors and limits the buyer names. It researches sourced figures for each market in EUR, applies must-pass limits first, scores against fixed thresholds and tests how firm the ranking is under other weightings and evidence gaps.
The result is a call-first scorecard that shows which markets enter the next decision gate within the slots available, and what to confirm before committing. It does not assess company fit, regulatory requirements or how to enter.

You receive:

- A call for every market: advance, advance if validated, hold or set aside
- A scorecard with weights, evidence coverage and sourced figures
- A ranking test under alternative weights and evidence gaps
- The checks to complete before the gate

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

### Runtime

Typical runtime: about 1 hour 50 minutes.

### Summary

This analysis compares {CANDIDATE_MARKETS} to support {COMPARISON_DECISION}, applying the buyer’s {PRIORITIES_AND_CONSTRAINTS}. It examines market size, growth, price, economics, access, competition, and other named factors, distinguishing must-pass limits from weighted priorities. Evidence coverage, source quality, ranges, and unresolved gaps make the basis for each comparison visible.

Decision-makers receive sourced evidence tables, a weighted market scorecard, calls for each market, and rankings tested under alternative weightings and evidence scenarios. The results show which markets merit a place in the next decision gate, how firm those calls are, and what to validate before committing. Company fit, regulatory diligence, and market-entry choices remain outside the comparison.

### Methodology

The analysis preserves the buyer-defined boundaries for {CANDIDATE_MARKETS} and uses {COMPARISON_DECISION} and {PRIORITIES_AND_CONSTRAINTS} to identify decision factors, available slots, weights, and must-pass limits. Evidence is gathered for each market across the relevant factors, prioritizing official and primary sources. Figures are recorded with their year, geography, source, and uncertainty range; monetary values are expressed in EUR using the applicable European Central Bank annual-average exchange rate.

Evidence is graded for fit and reliability, and missing or conflicting information is retained as a visible gap rather than replaced with an assumed value. Must-pass limits are assessed before scoring. Each named factor receives fixed, decision-relevant score bands and buyer-aligned weights; observed scores, coverage, and bounds are calculated consistently. Rankings and calls are then checked against coverage and available slots, and retested using alternative weightings and best- or worst-case assumptions for missing evidence.

### Inputs

- `CANDIDATE_MARKETS` (text): Candidate Markets. The countries, segments or sectors to compare, or the scope to find them in. Example: Poland, Czech Republic, Romania, Hungary, Turkey, Portugal, retail market for plant-based milk alternatives.
- `COMPARISON_DECISION` (text): Comparison Decision. The decision this comparison feeds, how many can go forward, and the factors that matter most. Example: Choose which 3 of these 6 countries enter the 2027 launch gate; size, growth, price and access matter.
- `PRIORITIES_AND_CONSTRAINTS` (text): Priorities And Constraints. Any weights, must-pass limits or context you hold; a line or two is enough, 'not tracked' is fine; the App researches the rest. Example: Margin counts double; exclude markets under EUR 100m.

### 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-decision-gate-assessment/changelog.md

# Actor input Schema

## `CANDIDATE_MARKETS` (type: `string`):

The countries, segments or sectors to compare, or the scope to find them in. Example: Poland, Czech Republic, Romania, Hungary, Turkey, Portugal, retail market for plant-based milk alternatives. Suggested examples: Poland, Czech Republic; Romania, Hungary; Turkey, Portugal. Other clear text values are also accepted.

## `COMPARISON_DECISION` (type: `string`):

The decision this comparison feeds, how many can go forward, and the factors that matter most. Example: Choose which 3 of these 6 countries enter the 2027 launch gate; size, growth, price and access matter. Suggested examples: Select three launch markets; Choose two expansion countries; Prioritize markets for entry. Other clear text values are also accepted.

## `PRIORITIES_AND_CONSTRAINTS` (type: `string`):

Any weights, must-pass limits or context you hold; a line or two is enough, 'not tracked' is fine; the App researches the rest. Example: Margin counts double; exclude markets under EUR 100m. Suggested examples: Margin counts double; Exclude markets under EUR 100m; Growth must exceed five percent. Other clear text values are also accepted.

## Actor input object example

```json
{
  "CANDIDATE_MARKETS": "Poland, Czech Republic",
  "COMPARISON_DECISION": "Select three launch markets",
  "PRIORITIES_AND_CONSTRAINTS": "Margin counts double"
}
```

# 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 = {
    "CANDIDATE_MARKETS": "Poland, Czech Republic",
    "COMPARISON_DECISION": "Select three launch markets",
    "PRIORITIES_AND_CONSTRAINTS": "Margin counts double"
};

// Run the Actor and wait for it to finish
const run = await client.actor("fifthrow/market-decision-gate-assessment").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 = {
    "CANDIDATE_MARKETS": "Poland, Czech Republic",
    "COMPARISON_DECISION": "Select three launch markets",
    "PRIORITIES_AND_CONSTRAINTS": "Margin counts double",
}

# Run the Actor and wait for it to finish
run = client.actor("fifthrow/market-decision-gate-assessment").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 '{
  "CANDIDATE_MARKETS": "Poland, Czech Republic",
  "COMPARISON_DECISION": "Select three launch markets",
  "PRIORITIES_AND_CONSTRAINTS": "Margin counts double"
}' |
apify call fifthrow/market-decision-gate-assessment --silent --output-dataset

```

## MCP server setup

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

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/bhcmf4lIRTpi3qLEk/builds/q4Xu0ai8D0wjQ55I5/openapi.json
