Trade Flow Summary
get_trade_flow_summaryPurpose: aggregate the UN Comtrade carbon black (HS 280300) records for a period - per reporter totals forquantity and value, the weighted unit price, and the top-10 partner countries by quantity. Guidelines: passperiod (YYYY) or leave empty to aggregate all periods (2024-2025); weighted price equals total value divided bytotal quantity; pair with get_trade_partner_ranking to drill into a single reporter. Limits: customs-reportedtotals only - no commercial quote platform data; World aggregate rows are excluded from partner rankings; unitprices are not comparable across reporters where quantity reporting is incomplete. Ex:get_trade_flow_summary(period='2025'), get_trade_flow_summary(response_format='json').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | 期间 YYYY,如 2024;留空则汇总全部期间 | |
| response_format | No | Output format: 'markdown' (default, human-readable) or 'json' (machine-readable). | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Human-readable result (markdown, or a JSON string when response_format=json). |