vulnerability

Get Trade Intensity

Trade Intensity (TI): how exposed an EU sector is to international trade — TI = (Imports + Exports) / (Imports + Production). Near 1 = highly trade-exposed; near 0 = predominantly domestic (the Commission's CEEAG methodology, used for carbon-leakage / State-aid eligibility). Annual, joining PRODCOM production with Comext trade data.

Streams NDJSON progress lines, then one result frame.

PRODCOM (the intra-EU production-statistics database) has its own nomenclature, separate from customs codes, with only partial correspondence tables. The mapping from a CN code resolves to a direct single match, a confidentiality fallback to the nearest available higher level, or a multi-match whose codes are aggregated (pin one with the prodcom_code body field). The response's self block reports a notes array and, when no series can be produced, an unavailability_type:

  • 'no_mapping' — no PRODCOM correspondence; no production statistics.
  • 'selection_required' — several mapped codes, some suppressed; choose one.
  • 'suppressed' — Eurostat publishes nothing for the mapped codes nor their immediate parents.
  • 'no_data' — mapped, but Eurostat returns no data yet.
  • 'not_applicable' — the 'TOTAL' meta-aggregate has no PRODCOM equivalent.

The self block (single mode) and each children entry carry the full data[measure][basis] matrix (value/quantity × total/own/sub); the frontend selects which variant to plot.

post/api/vulnerability/trade-intensity

Request

  • Base URL: https://tradedashboard.eu (the document declares no server; this is the origin it was published from)
  • URL: https://tradedashboard.eu/api/vulnerability/trade-intensity
  • Auth: none declared

Request body

reporterstring

Declaring entity: an EU member state, an EU candidate country, Northern Ireland ('XI'), or one of the three aggregate presets ('European Union', 'Euro area', 'EU candidate countries'), or a predefined reporter group name.

reporter_membersstring[] nullable

Explicit member countries for a custom reporter group. Each entry must be an EU member state, EU candidate country, or Northern Ireland. When more than one member is supplied the frame is aggregated into a synthetic group named after 'reporter'.

partner_setstring

Named partner preset, e.g. 'non-EU countries', 'EU countries', 'all countries', or a predefined partner group.

partnersstring[] nullable

Explicit partner-country list that overrides 'partner_set' when present.

period_startstring

Inclusive start of the analysis window, ISO month 'YYYY-MM'.

period_endstring

Inclusive end of the analysis window, ISO month 'YYYY-MM'. Defaults to roughly three months ago — the latest period Eurostat typically has fully reported.

frequencystring

Resampling frequency for the series: 'month', 'quarter' or 'year'.

n_topinteger

Number of top entities (by volume/value) to break out individually in charts.

include_otherboolean

Bundle entities outside the top-N into a single 'Other' bucket.

remove_outliersboolean

Drop extreme unit-price outliers before computing weighted-average prices.

midpointstring nullable

Split point 'YYYY-MM' for the Pattern Shifts tab: the window is cut in two here and the before/after change per entity is reported. Defaults to the middle of the period when omitted.

langstring

Language for translated labels in the response (en, de, fr, es, it, ro).

prodcom_codestring nullable

Specific PRODCOM dataset code to pin for the Net Import Reliance and Trade Intensity tabs, when a single CN code maps to several. Ignored elsewhere.

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.