> ## Documentation Index
> Fetch the complete documentation index at: https://docs.forestreet.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Publish a market

## Overview

This endpoint publishes your discovered companies and triggers comprehensive analysis including financial data, ESG
metrics, news analysis, and competitive insights.

<Note>
  **Workflow Step**: This is Step 4 of the [Discovery
  Workflow](/api-reference/guides/platform-discovery#phase-4-market-analysis--publishing).
</Note>

<Warning>
  Important: This is an asynchronous process that can take 45-60 minutes to complete. Use the status endpoint to monitor
  progress
</Warning>

## Usage

The endpoint accepts pipeline configuration options to control which analysis steps are performed:

* **Pipeline Choices**: Configure which analysis steps to run
* **Response**: Job IDs for monitoring the publishing process

<Tip>
  **Pipeline Configuration**: Choose analysis steps based on your research goals. Each step adds valuable insights but
  increases processing time.
</Tip>

## Pipeline Steps

The publishing process includes several analysis steps:

* **Reverse Geocoding**: Convert company addresses to geographic coordinates
* **DUNS Mapper**: Map companies to DUNS numbers for enhanced data
* **People**: Extract and analyse key personnel information
* **News**: Gather and analyse recent news and media coverage
* **ESG**: Collect Environmental, Social, and Governance data
* **Momentum Score**: Calculate market momentum and sentiment scores
* **Market Radar**: Generate competitive landscape analysis
* **Topic Analysis**: Identify key themes and topics in the market
* **Phrase Explorer**: Analyse market terminology and language patterns
* **Feature Map**: Generate visual feature maps for market insights
* **Publish Email**: Send notification emails upon completion

## Monitoring Progress

After starting the publishing process, you can monitor progress using the same status endpoint:

```bash theme={null}
GET /v2/markets/{marketId}/services/publish/status
```

## Accessing Published Data

Once publishing is complete, you can access your market data through various endpoints:

```bash theme={null}
  # Get companies in the market
  GET /v2/markets/12345/companies

  # Get ESG data
  GET /v2/markets/12345/esg
```

## Best Practices

<Tip>
  **For Better Results**: - Ensure discovery is fully completed before publishing - Choose pipeline steps relevant to
  your research goals - Consider the review step for quality control
</Tip>

<Warning>
  **Important Notes**: - Only one publishing process can run per market at a time - The process cannot be interrupted
  once started
</Warning>
