Get a product's production and trade
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
From your agent’s balance. A call that fails costs nothing.
An example
How much commercial cooking equipment is made in the EU and in Germany, how much comes in from outside, and what does the UK import?
Your agent callsmarkets_products$0.02 a call
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"prodcom": "28931580",
"cn": "84198180",
"countries": [
"EU27_2020",
"DE",
"GB"
],
"years": 3
}Use it when
To see how much of a product is made, bought abroad and sold abroad, before entering or buying into its market.
- For a whole industry rather than one product, use
markets_size.
What it does
A product's sold production (value and quantity) from PRODCOM by its 8-digit code, and its imports and exports from Eurostat's trade figures by its 8-digit CN code, by country and year; for the EU27, trade with countries outside the EU and the apparent consumption (production + imports - exports) with each figure's source. The UK's imports and exports by CN code from HMRC. Confidential figures are left out, never filled in. Nothing is charged when no figures come back.
What comes back
product (prodcom, cn and their labels); countries (country, name, trade_with, years: year, production_eur, production_quantity, quantity_unit, imports_eur, exports_eur, imports_tonnes, exports_tonnes, apparent_consumption_eur for the EU27, and flags such as rounded or confidential; for the UK imports_gbp and exports_gbp, so_far for the year under way, and a note); apparent_consumption (how it is worked out); units; sources (name, dataset, url, license, license_url, and the figures each one gave) and notes. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
prodcom | string | The product's 8-digit PRODCOM code, e.g. 28931580. Matches ^\d{2}\.?\d{2}\.?\d{2}\.?\d{2}$. |
cn | string | Its 8-digit Combined Nomenclature code, e.g. 84198180, for trade. Matches ^\d{4} ?\d{2} ?\d{2}$. |
countries | array of strings | 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 | How many recent years. 1 to 10. Default: 5. |
The call
Over MCP, call markets_products on https://api.conecto.chat/mcp/markets. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/markets_products \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"prodcom":"28931580","cn":"84198180","countries":["EU27_2020","DE","GB"],"years":3}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
invalid_input400 | Neither prodcom nor cn was given, or a code isn't 8 digits. | Send the 8-digit PRODCOM code, the 8-digit CN code, or both. |
unavailable503 | Eurostat or HMRC didn't answer. | Try again in a minute. |
More Market data tools
All 3 tools- Size an industry by country
markets_sizeAn industry's turnover, value added, enterprises and persons employed by country and year from Eurostat, and the US's from the 2022 Economic Census.$0.02 a call - Track an industry's prices and costs
markets_pricesProducer, 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
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md