---
name: "markets_size"
area: "markets"
title: "Size an industry by country"
price: "$0.02"
method: "POST"
url: "https://api.conecto.chat/v1/tools/markets_size"
mcp_server: "https://api.conecto.chat/mcp/markets"
auth: "Authorization: Bearer <conecto_sk_ key>"
docs_url: "https://conecto.chat/tools/markets/markets_size"
---

# Size an industry by country (`markets_size`)

An industry's turnover, value added, enterprises and persons employed by country and year from Eurostat, and the US's from the 2022 Economic Census.

An industry's size by country and year from official statistics: net turnover, value added, enterprises and persons employed from Eurostat's structural business statistics (the EU, its member states and EEA countries, from 2021), and with naics the US's firms, establishments, employees, payroll and sales from the 2022 Economic Census. Each figure as published, with Eurostat's flags (estimated, confidential: never filled in), the units, sources and licenses. The UK publishes no such figures in a form that can be queried, and the reply says so. Nothing is charged when no figures come back.

Price: $0.02 a call. A call that fails costs nothing.

## Use it when

To size a market before an acquisition, a launch or a valuation.

- For one company's revenue from its headcount, use [companies_estimate](https://conecto.chat/tools/companies/companies_estimate.md).
- For one product rather than a whole industry, use [markets_products](https://conecto.chat/tools/markets/markets_products.md).

## Say this to your agent

> How big is the market for food and kitchen machinery in Germany and the EU, and how many companies make it?

## Inputs

| Name | Type | Required | Description | Allowed values | Default |
|---|---|---|---|---|---|
| `industry` | string | yes | A NACE Rev. 2 code: a section (C), division (28), group (28.9) or class (28.93). companies_get shows a company's. 1 to 12 characters. |  |  |
| `countries` | array of strings | no | Two-letter codes (DE, FR, NO...) and EU27_2020 for the whole EU; GB says what the UK publishes. EU27_2020 when left out. Up to 12 items. |  |  |
| `years` | integer | no | How many recent years. 1 to 10. |  | `5` |
| `naics` | string | no | A NAICS 2022 code for the US figures, e.g. 333310. Matches ^(\\d{2,6}\|31-33\|44-45\|48-49)$. |  |  |

## Example

Written for Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff.

MCP: call `markets_size` on the MCP server `https://api.conecto.chat/mcp/markets` with these arguments:

```json
{
  "industry": "28.93",
  "countries": [
    "DE",
    "EU27_2020"
  ],
  "years": 3,
  "naics": "333310"
}
```

REST:

```bash
curl https://api.conecto.chat/v1/tools/markets_size \
  -H "Authorization: Bearer $CONECTO_KEY" \
  -H "Content-Type: application/json" \
  -d '{"industry": "28.93", "countries": ["DE", "EU27_2020"], "years": 3, "naics": "333310"}'
```

## Response

```json
{
  "call_id": "5f0c8a2e-3b7d-4c1e-9a64-2d8e1f7b0c93",
  "tool": "markets_size",
  "status": "succeeded",
  "replayed": false,
  "cost_usd": "$0.02",
  "balance_usd": "$19.75",
  "result": {
    "industry": {
      "scheme": "NACE Rev. 2",
      "code": "28.93",
      "label": "Manufacture of machinery for food, beverage and tobacco processing"
    },
    "countries": [
      {
        "country": "DE",
        "name": "Germany",
        "years": [
          {
            "year": 2022,
            "turnover_million_eur": 7893.41,
            "value_added_million_eur": 2801.71,
            "enterprises": 489,
            "persons_employed": 32597
          },
          {
            "year": 2023,
            "turnover_million_eur": 8119.77,
            "value_added_million_eur": 2967.42,
            "enterprises": 476,
            "persons_employed": 32570
          }
        ]
      },
      {
        "country": "EU27_2020",
        "name": "European Union (27 countries)",
        "years": [
          {
            "year": 2022,
            "turnover_million_eur": 29963.88,
            "value_added_million_eur": 9900,
            "enterprises": 4920,
            "persons_employed": 129000,
            "flags": {
              "enterprises": "estimated",
              "persons_employed": "estimated",
              "value_added_million_eur": "estimated"
            }
          },
          {
            "year": 2023,
            "turnover_million_eur": 30930.6,
            "value_added_million_eur": 10468.78,
            "enterprises": 4900,
            "persons_employed": 130000,
            "flags": {
              "enterprises": "estimated",
              "persons_employed": "estimated"
            }
          }
        ]
      }
    ],
    "us": {
      "naics": "333310",
      "survey": "2022 Economic Census",
      "year": 2022,
      "label": "Commercial and service industry machinery manufacturing",
      "firms": 1630,
      "establishments": 1780,
      "employees": 82115,
      "payroll_million_usd": 6315.515,
      "sales_million_usd": 32058.682,
      "value_added_million_usd": 17165.298
    },
    "units": {
      "turnover_million_eur": "net turnover, millions of euros",
      "value_added_million_eur": "value added at factor cost, millions of euros",
      "enterprises": "number of enterprises",
      "persons_employed": "number of persons employed: employees plus working owners and unpaid family workers",
      "firms": "number of firms",
      "establishments": "number of establishments",
      "employees": "number of paid employees in the pay period including March 12",
      "payroll_million_usd": "annual payroll, millions of US dollars",
      "sales_million_usd": "sales, value of shipments or revenue, millions of US dollars",
      "value_added_million_usd": "value added, millions of US dollars (manufacturing only)"
    },
    "sources": [
      {
        "name": "Eurostat, structural business statistics: enterprises by detailed NACE Rev. 2 activity",
        "dataset": "sbs_ovw_act",
        "url": "https://ec.europa.eu/eurostat/databrowser/view/sbs_ovw_act/default/table?lang=en",
        "license": "Reuse allowed, commercial too, with Eurostat named as the source",
        "license_url": "https://ec.europa.eu/eurostat/help/copyright-notice"
      },
      {
        "name": "US Census Bureau, 2022 Economic Census: summary statistics for the US",
        "dataset": "2022/ecnbasic",
        "url": "https://api.census.gov/data/2022/ecnbasic.html",
        "license": "Public domain (US government work)",
        "license_url": "https://www.census.gov/data/developers/about/terms-of-service.html",
        "notice": "This product uses the Census Bureau Data API but is not endorsed or certified by the Census Bureau."
      }
    ],
    "notes": [
      "Eurostat's series start in 2021, under the European business statistics rules; earlier years were collected differently and aren't comparable."
    ]
  }
}
```

`result`: industry (scheme, code, label); countries (country, name, years: year, turnover_million_eur, value_added_million_eur, enterprises, persons_employed and flags such as estimated or confidential; a note when there are no figures, as for the UK); us with naics (naics, label, year, firms, establishments, employees, payroll_million_usd, sales_million_usd, value_added_million_usd, or a note); units; sources (name, dataset, url, license, license_url, and the Census's notice) and notes.

## Errors

| Code | Status | When | Fix |
|---|---|---|---|
| `invalid_input` | 400 | The industry isn't a NACE Rev. 2 code, or neither countries nor naics were given. | Send a code like 28.93 (companies_get shows a company's) and at least one country. |
| `unavailable` | 503 | Eurostat, or the only other office asked, didn't answer. | Try again in a minute. |

The refusals every tool can give (401 key, 402 balance, 429 limits) are on the errors page: https://conecto.chat/docs/errors.md

## Related

- [markets_products](https://conecto.chat/tools/markets/markets_products.md): A product's sold production from PRODCOM and its imports and exports by CN code, by country and year, with the EU27's apparent consumption. $0.02 a call.
- [markets_prices](https://conecto.chat/tools/markets/markets_prices.md): Producer, import, labour cost or electricity price indices for an industry by country and month, with the change on a year, and BLS series for the US. $0.02 a call.
