Get Market Summary
get_market_summaryReport-section helper ("General overview"): condensed, report-ready
digest of how a market has evolved over the chosen window -- one call
instead of separately fetching and cross-referencing get_overview +
get_reporter_detail + get_concentration + get_net_import_reliance
yourself. Set query.frequency = "year" for a multi-year evolution
summary (recommended over the model's default of "quarter").
Every figure reflects query exactly as given -- the same
product/reporter/partner_set/period slice a dashboard user would have
selected. Nothing here substitutes a different reporter or partner_set
(e.g. to contrast intra-EU against extra-EU trade): call this again
with a different query.partner_set for that, the same way a dashboard
user would switch the sidebar's selector.
Returns {narrative_facts, chart_data, available, reason}.
narrative_facts combines, for the flow selected by query.partner_set:
Headline trade: first/last/min/max/pct_change for export & import value, quantity and price, plus the trade-balance trend.
Partner concentration: first/last/pct_change of the value-based HHI for imports and exports.
Top partners and top EU reporters by value: each one's first/last/pct_change -- i.e. who is gaining or losing share.
Net import reliance: first/last/pct_change of the annual NIR % for
query's ownreporter/partner_set(onlyfrequencyis normalised to "year", since NIR is structurally annual and the upstream API always returns it that way regardless); omitted if the product has no PRODCOM mapping.chart_datacarries the full-fidelity headline trade and top-partner/ top-reporter series for charting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The product/reporter/partner-set/period/frequency slice to query -- the same request body every tradedashboard.eu analytical endpoint takes. See its own field descriptions (product, reporter, partner_set, period_start, period_end, frequency, n_top, ...) for details; only `product` is required, everything else has a sensible default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||