# Eurostat EU trade by product and partner

EU member states' imports and exports by product (HS2, HS4, HS6 or CN8 code) and partner country from Eurostat Comext (DS-045409): value in euros and quantity. Needs reporter, partner and product.

EU member states' imports and exports by product (HS2, HS4, HS6 or CN8 code) and partner country from Eurostat Comext (DS-045409): value in euros and quantity in 100 kg, monthly or annual, several codes joined with '+'. Austrian CN8 data is excluded from commercial reuse.

- Tool ID: `eurostat/comext-trade`
- Provider: [Eurostat](/providers/eurostat.md)
- Capability: [Knowledge & research](/tools/knowledge.md)
- Price: no charge per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

No charge per call. A workspace is still needed so your agent can call it.


```json
{
  "model": "per_call",
  "amountUsd": 0
}
```

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "freq": {
      "type": "string",
      "enum": [
        "A",
        "M"
      ],
      "default": "A",
      "description": "'A' annual or 'M' monthly"
    },
    "reporter": {
      "type": "string",
      "pattern": "^[A-Z0-9_]{2,12}(\\+[A-Z0-9_]{2,12}){0,9}$",
      "description": "Reporting EU member state(s), e.g. 'FR' or 'DE+IT'"
    },
    "partner": {
      "type": "string",
      "pattern": "^[A-Z0-9_]{2,16}(\\+[A-Z0-9_]{2,16}){0,19}$",
      "description": "Partner country code(s), e.g. 'US', 'CN+JP', or 'EXT_EU27_2020' (extra-EU)"
    },
    "product": {
      "type": "string",
      "pattern": "^[A-Z0-9]{2,8}(\\+[A-Z0-9]{2,8}){0,19}$",
      "description": "HS2/HS4/HS6 or CN8 code(s), e.g. '8703' (cars) or '300490+300420'; 'TOTAL' for all products"
    },
    "flow": {
      "type": "string",
      "enum": [
        "1",
        "2",
        "1+2"
      ],
      "default": "1+2",
      "description": "'1' imports, '2' exports, '1+2' both"
    },
    "indicators": {
      "type": "string",
      "enum": [
        "VALUE_IN_EUROS",
        "QUANTITY_IN_100KG",
        "VALUE_IN_EUROS+QUANTITY_IN_100KG"
      ],
      "default": "VALUE_IN_EUROS",
      "description": "Measure(s) to return, e.g. 'VALUE_IN_EUROS'"
    },
    "startPeriod": {
      "type": "string",
      "pattern": "^[0-9]{4}(-[0-9]{2})?$",
      "description": "First period, e.g. '2022' or '2024-01'"
    },
    "endPeriod": {
      "type": "string",
      "pattern": "^[0-9]{4}(-[0-9]{2})?$",
      "description": "Last period, e.g. '2024' or '2024-06'"
    }
  },
  "required": [
    "reporter",
    "partner",
    "product"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "eurostat/comext-trade",
  "input": {
    "freq": "A",
    "reporter": "FR",
    "partner": "US",
    "product": "8703",
    "flow": "2",
    "startPeriod": "2022",
    "endPeriod": "2024"
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

Licence: Eurostat copyright notice (Commission Decision 2011/833/EU): commercial reuse authorised with source acknowledgement (Austrian CN8 trade data excluded).

Attribution: Source: Eurostat Comext (DS-045409).

[Provider documentation](https://ec.europa.eu/eurostat/web/user-guides/data-browser/api-data-access/api-getting-started/api)

[REST inspection](https://api.agentik.cc/v1/tools/eurostat/comext-trade) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/eurostat/comext-trade) · [Agent index](/llms.txt)
