{
  "template": "T3",
  "templateName": "Product Exporter Position Profile",
  "source": "api",
  "publisher": {
    "name": "Yugalinks",
    "url": "https://www.yugalinks.com"
  },
  "canonical": "https://www.yugalinks.com/trade/exporter/esp/071220",
  "links": {
    "product": "https://www.yugalinks.com/trade/product/071220",
    "exporter": "https://www.yugalinks.com/trade/exporter/esp/071220",
    "methodology": "https://www.yugalinks.com/methodology"
  },
  "methodology": {
    "summary": "Reported exporter totals are combined with destination, price, history, and country-context observations. Growth, concentration, weighted share, volatility, drawdown, and price-position values are calculated indicators rather than additional reported trade.",
    "reportedValues": "Merchandise trade observations for an exporter, HS6 product, destination market, and available year.",
    "destinations": "Destination rows are ranked by latest observed exporter-lane value.",
    "prices": "Unit values are reported trade value divided by reported quantity where quantity is positive.",
    "missingData": "Missing values are shown as Not reported and are not imputed."
  },
  "exporter": {
    "hs_code": "071220",
    "exporter_iso3": "ESP",
    "first_data_year": 1995,
    "latest_data_year": 2024,
    "observed_lane_count": 126,
    "current_lane_count": 75,
    "active_market_count": 75,
    "exports_latest_observed_lanes_usd": 24056906.219883513,
    "exports_current_2024_usd": 23580140.389584847,
    "exports_avg_3y_usd": 21179355.325569842,
    "exports_avg_5y_usd": 21512291.46711808,
    "exports_avg_10y_usd": 18345066.25537349,
    "exports_cagr_3y_pct": -0.11117662808851625,
    "exports_cagr_5y_pct": 6.232730890358762,
    "exports_cagr_10y_pct": 4.2898545187621595,
    "exports_all_year_lane_avg_usd": 14329534.295440195,
    "exports_historical_lane_peak_usd": 44809764.79762195,
    "historical_peak_year": 2021,
    "positive_growth_year_share_pct": 72.41379310344827,
    "trend_acceleration_pct": -4.401031146850675,
    "trend_label": "Stable",
    "top_market_iso3": "GBR",
    "top_market_exports_usd": 4636173.562308859,
    "top_market_share_pct": 19.27169487187413,
    "destination_hhi": 867.8169639456946,
    "weighted_share_latest_pct": 15.868172486382432,
    "weighted_share_change_1y_pp": -0.4259618924977791,
    "weighted_volatility_cv": 0.8561318668468374,
    "weighted_max_drawdown_pct": 93.46424571013397,
    "limited_history_lane_share_pct": 26.984126984126984,
    "data_freshness_years": 0,
    "coverage_score": 100,
    "confidence_label": "High",
    "refreshed_at": "2026-07-20 09:28:41",
    "source": "api",
    "product": {
      "hs_code": 71220,
      "hs_description": "Vegetables: onions, whole, cut, sliced, broken or in powder but not further prepared, dried",
      "hs_chapter": 7,
      "hs_heading": 712,
      "substitution_elasticity": -6.4982247,
      "price_range_label": "Unclassified",
      "trade_type_label": "One-way trade"
    },
    "hs_description": "Vegetables: onions, whole, cut, sliced, broken or in powder but not further prepared, dried",
    "hs_chapter": 7,
    "hs_heading": 712,
    "destinations": [
      {
        "hs_code": 71220,
        "corridor_rank": 31,
        "exporter_iso3": "ESP",
        "importer_iso3": "GBR",
        "latest_data_year": 2024,
        "lane_data_years": 30,
        "exports_latest_observed_usd": 4636173.562308859,
        "exports_all_year_avg_usd": 1929527.0317459255,
        "exports_avg_3y_usd": 3630787.975491322,
        "exports_avg_5y_usd": 3698622.437733504,
        "exports_avg_10y_usd": 3227893.145475834,
        "exports_cagr_3y_pct": 10.214339443131148,
        "exports_cagr_5y_pct": 2.9209078247212084,
        "exports_cagr_10y_pct": 9.255007515000457,
        "exports_historical_peak_usd": 4636173.562308859,
        "buyer_imports_latest_observed_usd": 37193109.29919485,
        "historical_peak_year": 2024,
        "positive_growth_year_share_pct": 72.41379310344827,
        "trend_acceleration_pct": 0.9593319281306911,
        "trend_label": "Rapid growth",
        "buyer_yoy_latest_pct": 23.9652,
        "buyer_yoy_all_avg_pct": 3.4693,
        "buyer_trend_consistency_pct": 58.6207,
        "market_share_latest_pct": 12.465141123356474,
        "market_share_change_1y_pp": -0.5995526305824033,
        "peer_best_share_pct": 35.81592344600353,
        "peer_top_exporter": "IND",
        "supplier_count_latest": 37,
        "buyer_market_hhi": 2089.37,
        "distance_km": 1263.3787841796875,
        "has_reported_fta": 1,
        "applied_tariff_pct": 0,
        "tariff_advantage_pp": 0,
        "volatility_cv": 0.6719541819264253,
        "max_drawdown_pct": 94.90427476098552,
        "attention_level": "Stable",
        "primary_risk_reason": "No material risk condition is currently identified",
        "risk_driver_labels": "[]",
        "signal_flag": "Accelerating",
        "confidence_label": "High",
        "refreshed_at": "2026-07-20 09:30:25"
      },
      {
        "hs_code": 71220,
        "corridor_rank": 36,
        "exporter_iso3": "ESP",
        "importer_iso3": "FRA",
        "latest_data_year": 2024,
        "lane_data_years": 30,
        "exports_latest_observed_usd": 2910158.1983386553,
        "exports_all_year_avg_usd": 1496247.3880971281,
        "exports_avg_3y_usd": 2773295.678292273,
        "exports_avg_5y_usd": 2501558.1114144446,
        "exports_avg_10y_usd": 2324388.0462347,
        "exports_cagr_3y_pct": 8.99791970067887,
        "exports_cagr_5y_pct": 5.200077591301477,
        "exports_cagr_10y_pct": 4.619137198245737,
        "exports_historical_peak_usd": 2910158.1983386553,
        "buyer_imports_latest_observed_usd": 12681603.612005886,
        "historical_peak_year": 2024,
        "positive_growth_year_share_pct": 72.41379310344827,
        "trend_acceleration_pct": 4.378782502433132,
        "trend_label": "Growing",
        "buyer_yoy_latest_pct": 16.7139,
        "buyer_yoy_all_avg_pct": 5.2114,
        "buyer_trend_consistency_pct": 58.6207,
        "market_share_latest_pct": 22.947872267380763,
        "market_share_change_1y_pp": -3.32668563083244,
        "peer_best_share_pct": 22.94787226738076,
        "peer_top_exporter": "ESP",
        "supplier_count_latest": 51,
        "buyer_market_hhi": 1469.05,
        "distance_km": 1054.6563720703125,
        "has_reported_fta": 1,
        "applied_tariff_pct": 0,
        "tariff_advantage_pp": 0,
        "volatility_cv": 0.5841846970973052,
        "max_drawdown_pct": 94.6794668271674,
        "attention_level": "Stable",
        "primary_risk_reason": "No material risk condition is currently identified",
        "risk_driver_labels": "[]",
        "signal_flag": "Accelerating",
        "confidence_label": "High",
        "refreshed_at": "2026-07-20 09:30:25"
      },
      {
        "hs_code": 71220,
        "corridor_rank": 44,
        "exporter_iso3": "ESP",
        "importer_iso3": "DEU",
        "latest_data_year": 2024,
        "lane_data_years": 30,
        "exports_latest_observed_usd": 2174466.489647218,
        "exports_all_year_avg_usd": 2195636.338124917,
        "exports_avg_3y_usd": 2468391.974588744,
        "exports_avg_5y_usd": 2655740.708009406,
        "exports_avg_10y_usd": 2254558.031641604,
        "exports_cagr_3y_pct": -15.661262359020778,
        "exports_cagr_5y_pct": -1.0176410485980836,
        "exports_cagr_10y_pct": 2.3495041212193257,
        "exports_historical_peak_usd": 5553920.465230063,
        "buyer_imports_latest_observed_usd": 66258383.45987518,
        "historical_peak_year": 2008,
        "positive_growth_year_share_pct": 62.06896551724138,
        "trend_acceleration_pct": -18.010766480240104,
        "trend_label": "Rapid decline",
        "buyer_yoy_latest_pct": 24.2734,
        "buyer_yoy_all_avg_pct": 3.7587,
        "buyer_trend_consistency_pct": 51.7241,
        "market_share_latest_pct": 3.281798281366212,
        "market_share_change_1y_pp": -1.6760190352563078,
        "peer_best_share_pct": 33.8516215054878,
        "peer_top_exporter": "IND",
        "supplier_count_latest": 51,
        "buyer_market_hhi": 2032.55,
        "distance_km": 1479.33154296875,
        "has_reported_fta": 1,
        "applied_tariff_pct": 0,
        "tariff_advantage_pp": 0,
        "volatility_cv": 0.6962209382178113,
        "max_drawdown_pct": 99.76176026851594,
        "attention_level": "Watch",
        "primary_risk_reason": "Current trade remains more than 50% below its historical peak",
        "risk_driver_labels": "['unrecovered_drawdown']",
        "signal_flag": "Growing",
        "confidence_label": "High",
        "refreshed_at": "2026-07-20 09:30:25"
      },
      {
        "hs_code": 71220,
        "corridor_rank": 53,
        "exporter_iso3": "ESP",
        "importer_iso3": "BEL",
        "latest_data_year": 2024,
        "lane_data_years": 25,
        "exports_latest_observed_usd": 1618236.7632193503,
        "exports_all_year_avg_usd": 672824.3790628321,
        "exports_avg_3y_usd": 1490946.8918387897,
        "exports_avg_5y_usd": 1791180.3139694512,
        "exports_avg_10y_usd": 1393645.0528292574,
        "exports_cagr_3y_pct": -7.181346257760978,
        "exports_cagr_5y_pct": 2.8638144523376097,
        "exports_cagr_10y_pct": 16.038544633684126,
        "exports_historical_peak_usd": 2459406.8553685583,
        "buyer_imports_latest_observed_usd": 18787093.38332885,
        "historical_peak_year": 2020,
        "positive_growth_year_share_pct": 66.66666666666667,
        "trend_acceleration_pct": -23.219890891445104,
        "trend_label": "Declining",
        "buyer_yoy_latest_pct": 23.5129,
        "buyer_yoy_all_avg_pct": 9.2311,
        "buyer_trend_consistency_pct": 60,
        "market_share_latest_pct": 8.613555754480515,
        "market_share_change_1y_pp": -0.914937199810316,
        "peer_best_share_pct": 53.080801689753635,
        "peer_top_exporter": "IND",
        "supplier_count_latest": 29,
        "buyer_market_hhi": 3255.71,
        "distance_km": 1316.64013671875,
        "has_reported_fta": 1,
        "applied_tariff_pct": 0,
        "tariff_advantage_pp": 0,
        "volatility_cv": 1.023561924615032,
        "max_drawdown_pct": 96.52668762069248,
        "attention_level": "High attention",
        "primary_risk_reason": "Trade has varied substantially across reported years",
        "risk_driver_labels": "['high_volatility','concentrated_buyer_market','dominant_supplier']",
        "signal_flag": "Accelerating",
        "confidence_label": "High",
        "refreshed_at": "2026-07-20 09:30:25"
      },
      {
        "hs_code": 71220,
        "corridor_rank": 56,
        "exporter_iso3": "ESP",
        "importer_iso3": "HUN",
        "latest_data_year": 2024,
        "lane_data_years": 17,
        "exports_latest_observed_usd": 1519509.9222176785,
        "exports_all_year_avg_usd": 718775.5973025942,
        "exports_avg_3y_usd": 950225.4383125663,
        "exports_avg_5y_usd": 965406.7239386257,
        "exports_avg_10y_usd": 913357.8657251296,
        "exports_cagr_3y_pct": 8.620579429674269,
        "exports_cagr_5y_pct": 25.181801422700477,
        "exports_cagr_10y_pct": -0.061620457556610386,
        "exports_historical_peak_usd": 1528905.0236190897,
        "buyer_imports_latest_observed_usd": 10117759.066974757,
        "historical_peak_year": 2014,
        "positive_growth_year_share_pct": 68.75,
        "trend_acceleration_pct": 8.68219988723088,
        "trend_label": "Growing",
        "buyer_yoy_latest_pct": 41.2127,
        "buyer_yoy_all_avg_pct": 45.9411,
        "buyer_trend_consistency_pct": 58.6207,
        "market_share_latest_pct": 15.018245761331581,
        "market_share_change_1y_pp": 4.210451294409793,
        "peer_best_share_pct": 30.813285973716475,
        "peer_top_exporter": "CHN",
        "supplier_count_latest": 25,
        "buyer_market_hhi": 1786.6,
        "distance_km": 1977.7049560546875,
        "has_reported_fta": 1,
        "applied_tariff_pct": 0.08352117814343435,
        "tariff_advantage_pp": 0.08352117814343435,
        "volatility_cv": 0.7925068927529597,
        "max_drawdown_pct": 99.99999999999999,
        "attention_level": "Stable",
        "primary_risk_reason": "No material risk condition is currently identified",
        "risk_driver_labels": "[]",
        "signal_flag": "Accelerating",
        "confidence_label": "High",
        "refreshed_at": "2026-07-20 09:30:25"
      },
      {
        "hs_code": 71220,
        "corridor_rank": 68,
        "exporter_iso3": "ESP",
        "importer_iso3": "NLD",
        "latest_data_year": 2024,
        "lane_data_years": 27,
        "exports_latest_observed_usd": 960799.6713024967,
        "exports_all_year_avg_usd": 1036005.9460769519,
        "exports_avg_3y_usd": 993692.9012143165,
        "exports_avg_5y_usd": 1169221.4576714823,
        "exports_avg_10y_usd": 1200986.980058325,
        "exports_cagr_3y_pct": -15.726760020136254,
        "exports_cagr_5y_pct": 5.41339014832023,
        "exports_cagr_10y_pct": -8.365002327891414,
        "exports_historical_peak_usd": 2301543.111232593,
        "buyer_imports_latest_observed_usd": 28152968.994660296,
        "historical_peak_year": 2014,
        "positive_growth_year_share_pct": 57.69230769230769,
        "trend_acceleration_pct": -7.36175769224484,
        "trend_label": "Rapid decline",
        "buyer_yoy_latest_pct": 10.972,
        "buyer_yoy_all_avg_pct": 4.1998,
        "buyer_trend_consistency_pct": 62.069,
        "market_share_latest_pct": 3.412782756535303,
        "market_share_change_1y_pp": -1.0249186912130526,
        "peer_best_share_pct": 28.095026036145914,
        "peer_top_exporter": "IND",
        "supplier_count_latest": 53,
        "buyer_market_hhi": 2110.08,
        "distance_km": 1481.3658447265625,
        "has_reported_fta": 1,
        "applied_tariff_pct": 0,
        "tariff_advantage_pp": 0,
        "volatility_cv": 0.5942546023626585,
        "max_drawdown_pct": 90.4349214786577,
        "attention_level": "Watch",
        "primary_risk_reason": "Current trade remains more than 50% below its historical peak",
        "risk_driver_labels": "['unrecovered_drawdown']",
        "signal_flag": "Growing",
        "confidence_label": "High",
        "refreshed_at": "2026-07-20 09:30:25"
      },
      {
        "hs_code": 71220,
        "corridor_rank": 73,
        "exporter_iso3": "ESP",
        "importer_iso3": "JPN",
        "latest_data_year": 2024,
        "lane_data_years": 18,
        "exports_latest_observed_usd": 780138.3182959409,
        "exports_all_year_avg_usd": 369436.11715964414,
        "exports_avg_3y_usd": 643922.8024011202,
        "exports_avg_5y_usd": 546247.1879726052,
        "exports_avg_10y_usd": 501306.8677944749,
        "exports_cagr_3y_pct": 29.872344115859505,
        "exports_cagr_5y_pct": 14.22990767368253,
        "exports_cagr_10y_pct": 11.205996923927497,
        "exports_historical_peak_usd": 780138.3182959409,
        "buyer_imports_latest_observed_usd": 31550008.567808352,
        "historical_peak_year": 2024,
        "positive_growth_year_share_pct": 70.58823529411765,
        "trend_acceleration_pct": 18.666347191932008,
        "trend_label": "Rapid growth",
        "buyer_yoy_latest_pct": 2.6375,
        "buyer_yoy_all_avg_pct": 3.2507,
        "buyer_trend_consistency_pct": 62.069,
        "market_share_latest_pct": 2.4727039823752848,
        "market_share_change_1y_pp": 0.5718121327946002,
        "peer_best_share_pct": 51.898405102570145,
        "peer_top_exporter": "USA",
        "supplier_count_latest": 18,
        "buyer_market_hhi": 3434.89,
        "distance_km": 10777.423828125,
        "has_reported_fta": 1,
        "applied_tariff_pct": 0.039966357792484856,
        "tariff_advantage_pp": 0.030413669105984857,
        "volatility_cv": 0.4832223671401922,
        "max_drawdown_pct": 54.66949429869462,
        "attention_level": "Watch",
        "primary_risk_reason": "The buyer market is concentrated among relatively few suppliers",
        "risk_driver_labels": "['concentrated_buyer_market','dominant_supplier','buyer_macro_weakness']",
        "signal_flag": "Accelerating",
        "confidence_label": "High",
        "refreshed_at": "2026-07-20 09:30:25"
      }
    ],
    "priceSummary": {
      "exporter_iso3": "ESP",
      "hs_code": 71220,
      "num_markets": 97,
      "highest_price_importer_iso3": "ARE",
      "highest_price_usd_per_ton": 349708.3333333333,
      "lowest_price_importer_iso3": "CPV",
      "lowest_price_usd_per_ton": 248.66666666666666,
      "median_price_across_markets": 3288.3546088182316,
      "price_spread_pct": 10627.189224955742,
      "avg_quantity_metric_tons": 107.49856090651558,
      "total_trade_value_usd": 96275688
    },
    "history": [
      {
        "year": 2010,
        "export_value_usd": 12098161.65511396,
        "active_destinations": 52,
        "yoy_growth_pct": -11.573643880242745
      },
      {
        "year": 2011,
        "export_value_usd": 16375306.342506386,
        "active_destinations": 59,
        "yoy_growth_pct": 35.35367446164396
      },
      {
        "year": 2012,
        "export_value_usd": 13354401.051176237,
        "active_destinations": 60,
        "yoy_growth_pct": -18.447931465493262
      },
      {
        "year": 2013,
        "export_value_usd": 16211210.751749167,
        "active_destinations": 63,
        "yoy_growth_pct": 21.392271279147383
      },
      {
        "year": 2014,
        "export_value_usd": 15492652.1562458,
        "active_destinations": 66,
        "yoy_growth_pct": -4.4324795137577
      },
      {
        "year": 2015,
        "export_value_usd": 12988559.388490025,
        "active_destinations": 60,
        "yoy_growth_pct": -16.163099400293834
      },
      {
        "year": 2016,
        "export_value_usd": 14070404.48286558,
        "active_destinations": 65,
        "yoy_growth_pct": 8.329215442739901
      },
      {
        "year": 2017,
        "export_value_usd": 14836014.284853347,
        "active_destinations": 66,
        "yoy_growth_pct": 5.441277846135117
      },
      {
        "year": 2018,
        "export_value_usd": 16565941.910623327,
        "active_destinations": 72,
        "yoy_growth_pct": 11.660325964609845
      },
      {
        "year": 2019,
        "export_value_usd": 17428285.151312165,
        "active_destinations": 74,
        "yoy_growth_pct": 5.205518921540095
      },
      {
        "year": 2020,
        "export_value_usd": 20364428.956018627,
        "active_destinations": 71,
        "yoy_growth_pct": 16.847003472888446
      },
      {
        "year": 2021,
        "export_value_usd": 23658962.402862273,
        "active_destinations": 74,
        "yoy_growth_pct": 16.17788278747664
      },
      {
        "year": 2022,
        "export_value_usd": 17654651.50276089,
        "active_destinations": 77,
        "yoy_growth_pct": -25.37858929677735
      },
      {
        "year": 2023,
        "export_value_usd": 22303274.08436379,
        "active_destinations": 76,
        "yoy_growth_pct": 26.33086572610018
      },
      {
        "year": 2024,
        "export_value_usd": 23580140.389584858,
        "active_destinations": 75,
        "yoy_growth_pct": 5.725017324323003
      }
    ],
    "economy": {
      "year": 2024,
      "country_iso3": "ESP",
      "exports_usd": 389951601153.8226,
      "imports_usd": 440055603176.9493,
      "trade_balance_usd": -50104002023.12671,
      "yoy_exports_growth_pct": -3.8987656816749983,
      "yoy_imports_growth_pct": -1.8348334157975543,
      "exports_cagr_3y_pct": 1.5602192255318448,
      "imports_cagr_3y_pct": 2.9666580306946244,
      "export_partner_hhi": 604.5825828475407,
      "export_product_hhi": 52.5584557740159,
      "momentum_score": -2.2610702095129454,
      "risk_score": 3.285705193107783,
      "gdp_million_usd": 1725671.6527421873,
      "gdp_per_capita_usd": 35326.76830692781,
      "population": 48848840,
      "labor_force": 22392.15,
      "investment_rate_pct": 24.25,
      "savings_rate_pct": 21.99,
      "secondary_education_pct": 88.05,
      "tertiary_education_pct": 30.02,
      "total_factor_productivity": 1788.25,
      "trade_openness_pct": 51.047299403937664,
      "exports_gdp_pct": 23.9828956101581,
      "num_active_partners": 270,
      "num_fta_partners": 108,
      "num_wto_partners": 169,
      "num_eu_partners": 28,
      "num_shared_border_partners": 5,
      "num_shared_language_partners": 24,
      "avg_partner_distance_km": 6746.572016460906,
      "avg_partner_gdp_million_usd": 533678518.3258193,
      "avg_partner_gdp_per_capita_usd": 15.774186170212769,
      "avg_buyer_biz_entry_days": null,
      "avg_buyer_biz_entry_cost_pct": null,
      "pct_partners_with_fta": 40,
      "pct_partners_shared_language": 8.88888888888889,
      "pct_partners_shared_border": 1.8518518518518516,
      "avg_applied_tariff_pct": 0.12805616369601883,
      "avg_mfn_tariff_pct": 0.13052375531925525,
      "avg_preferential_tariff_pct": 0.02478492349129115,
      "tariff_advantage_pp": 0.1057388318279641,
      "avg_distance_all_partners_km": 6704.091347253092,
      "num_border_partners": 75,
      "num_colonial_partners": 605,
      "avg_substitution_elasticity": -10.891699057348575,
      "pct_products_high_elasticity": 75.94907407407408,
      "pct_products_low_elasticity": 2.662037037037037,
      "real_market_potential": 214756.4728280517,
      "foreign_market_potential": 15747.12902462019
    },
    "countryMap": {}
  },
  "product": {
    "hs_code": "071220",
    "hs_description": "Vegetables: onions, whole, cut, sliced, broken or in powder but not further prepared, dried",
    "hs_chapter": 7,
    "hs_heading": 712
  },
  "destinations": [
    {
      "hs_code": 71220,
      "corridor_rank": 31,
      "exporter_iso3": "ESP",
      "importer_iso3": "GBR",
      "latest_data_year": 2024,
      "lane_data_years": 30,
      "exports_latest_observed_usd": 4636173.562308859,
      "exports_all_year_avg_usd": 1929527.0317459255,
      "exports_avg_3y_usd": 3630787.975491322,
      "exports_avg_5y_usd": 3698622.437733504,
      "exports_avg_10y_usd": 3227893.145475834,
      "exports_cagr_3y_pct": 10.214339443131148,
      "exports_cagr_5y_pct": 2.9209078247212084,
      "exports_cagr_10y_pct": 9.255007515000457,
      "exports_historical_peak_usd": 4636173.562308859,
      "buyer_imports_latest_observed_usd": 37193109.29919485,
      "historical_peak_year": 2024,
      "positive_growth_year_share_pct": 72.41379310344827,
      "trend_acceleration_pct": 0.9593319281306911,
      "trend_label": "Rapid growth",
      "buyer_yoy_latest_pct": 23.9652,
      "buyer_yoy_all_avg_pct": 3.4693,
      "buyer_trend_consistency_pct": 58.6207,
      "market_share_latest_pct": 12.465141123356474,
      "market_share_change_1y_pp": -0.5995526305824033,
      "peer_best_share_pct": 35.81592344600353,
      "peer_top_exporter": "IND",
      "supplier_count_latest": 37,
      "buyer_market_hhi": 2089.37,
      "distance_km": 1263.3787841796875,
      "has_reported_fta": 1,
      "applied_tariff_pct": 0,
      "tariff_advantage_pp": 0,
      "volatility_cv": 0.6719541819264253,
      "max_drawdown_pct": 94.90427476098552,
      "attention_level": "Stable",
      "primary_risk_reason": "No material risk condition is currently identified",
      "risk_driver_labels": "[]",
      "signal_flag": "Accelerating",
      "confidence_label": "High",
      "refreshed_at": "2026-07-20 09:30:25"
    },
    {
      "hs_code": 71220,
      "corridor_rank": 36,
      "exporter_iso3": "ESP",
      "importer_iso3": "FRA",
      "latest_data_year": 2024,
      "lane_data_years": 30,
      "exports_latest_observed_usd": 2910158.1983386553,
      "exports_all_year_avg_usd": 1496247.3880971281,
      "exports_avg_3y_usd": 2773295.678292273,
      "exports_avg_5y_usd": 2501558.1114144446,
      "exports_avg_10y_usd": 2324388.0462347,
      "exports_cagr_3y_pct": 8.99791970067887,
      "exports_cagr_5y_pct": 5.200077591301477,
      "exports_cagr_10y_pct": 4.619137198245737,
      "exports_historical_peak_usd": 2910158.1983386553,
      "buyer_imports_latest_observed_usd": 12681603.612005886,
      "historical_peak_year": 2024,
      "positive_growth_year_share_pct": 72.41379310344827,
      "trend_acceleration_pct": 4.378782502433132,
      "trend_label": "Growing",
      "buyer_yoy_latest_pct": 16.7139,
      "buyer_yoy_all_avg_pct": 5.2114,
      "buyer_trend_consistency_pct": 58.6207,
      "market_share_latest_pct": 22.947872267380763,
      "market_share_change_1y_pp": -3.32668563083244,
      "peer_best_share_pct": 22.94787226738076,
      "peer_top_exporter": "ESP",
      "supplier_count_latest": 51,
      "buyer_market_hhi": 1469.05,
      "distance_km": 1054.6563720703125,
      "has_reported_fta": 1,
      "applied_tariff_pct": 0,
      "tariff_advantage_pp": 0,
      "volatility_cv": 0.5841846970973052,
      "max_drawdown_pct": 94.6794668271674,
      "attention_level": "Stable",
      "primary_risk_reason": "No material risk condition is currently identified",
      "risk_driver_labels": "[]",
      "signal_flag": "Accelerating",
      "confidence_label": "High",
      "refreshed_at": "2026-07-20 09:30:25"
    },
    {
      "hs_code": 71220,
      "corridor_rank": 44,
      "exporter_iso3": "ESP",
      "importer_iso3": "DEU",
      "latest_data_year": 2024,
      "lane_data_years": 30,
      "exports_latest_observed_usd": 2174466.489647218,
      "exports_all_year_avg_usd": 2195636.338124917,
      "exports_avg_3y_usd": 2468391.974588744,
      "exports_avg_5y_usd": 2655740.708009406,
      "exports_avg_10y_usd": 2254558.031641604,
      "exports_cagr_3y_pct": -15.661262359020778,
      "exports_cagr_5y_pct": -1.0176410485980836,
      "exports_cagr_10y_pct": 2.3495041212193257,
      "exports_historical_peak_usd": 5553920.465230063,
      "buyer_imports_latest_observed_usd": 66258383.45987518,
      "historical_peak_year": 2008,
      "positive_growth_year_share_pct": 62.06896551724138,
      "trend_acceleration_pct": -18.010766480240104,
      "trend_label": "Rapid decline",
      "buyer_yoy_latest_pct": 24.2734,
      "buyer_yoy_all_avg_pct": 3.7587,
      "buyer_trend_consistency_pct": 51.7241,
      "market_share_latest_pct": 3.281798281366212,
      "market_share_change_1y_pp": -1.6760190352563078,
      "peer_best_share_pct": 33.8516215054878,
      "peer_top_exporter": "IND",
      "supplier_count_latest": 51,
      "buyer_market_hhi": 2032.55,
      "distance_km": 1479.33154296875,
      "has_reported_fta": 1,
      "applied_tariff_pct": 0,
      "tariff_advantage_pp": 0,
      "volatility_cv": 0.6962209382178113,
      "max_drawdown_pct": 99.76176026851594,
      "attention_level": "Watch",
      "primary_risk_reason": "Current trade remains more than 50% below its historical peak",
      "risk_driver_labels": "['unrecovered_drawdown']",
      "signal_flag": "Growing",
      "confidence_label": "High",
      "refreshed_at": "2026-07-20 09:30:25"
    },
    {
      "hs_code": 71220,
      "corridor_rank": 53,
      "exporter_iso3": "ESP",
      "importer_iso3": "BEL",
      "latest_data_year": 2024,
      "lane_data_years": 25,
      "exports_latest_observed_usd": 1618236.7632193503,
      "exports_all_year_avg_usd": 672824.3790628321,
      "exports_avg_3y_usd": 1490946.8918387897,
      "exports_avg_5y_usd": 1791180.3139694512,
      "exports_avg_10y_usd": 1393645.0528292574,
      "exports_cagr_3y_pct": -7.181346257760978,
      "exports_cagr_5y_pct": 2.8638144523376097,
      "exports_cagr_10y_pct": 16.038544633684126,
      "exports_historical_peak_usd": 2459406.8553685583,
      "buyer_imports_latest_observed_usd": 18787093.38332885,
      "historical_peak_year": 2020,
      "positive_growth_year_share_pct": 66.66666666666667,
      "trend_acceleration_pct": -23.219890891445104,
      "trend_label": "Declining",
      "buyer_yoy_latest_pct": 23.5129,
      "buyer_yoy_all_avg_pct": 9.2311,
      "buyer_trend_consistency_pct": 60,
      "market_share_latest_pct": 8.613555754480515,
      "market_share_change_1y_pp": -0.914937199810316,
      "peer_best_share_pct": 53.080801689753635,
      "peer_top_exporter": "IND",
      "supplier_count_latest": 29,
      "buyer_market_hhi": 3255.71,
      "distance_km": 1316.64013671875,
      "has_reported_fta": 1,
      "applied_tariff_pct": 0,
      "tariff_advantage_pp": 0,
      "volatility_cv": 1.023561924615032,
      "max_drawdown_pct": 96.52668762069248,
      "attention_level": "High attention",
      "primary_risk_reason": "Trade has varied substantially across reported years",
      "risk_driver_labels": "['high_volatility','concentrated_buyer_market','dominant_supplier']",
      "signal_flag": "Accelerating",
      "confidence_label": "High",
      "refreshed_at": "2026-07-20 09:30:25"
    },
    {
      "hs_code": 71220,
      "corridor_rank": 56,
      "exporter_iso3": "ESP",
      "importer_iso3": "HUN",
      "latest_data_year": 2024,
      "lane_data_years": 17,
      "exports_latest_observed_usd": 1519509.9222176785,
      "exports_all_year_avg_usd": 718775.5973025942,
      "exports_avg_3y_usd": 950225.4383125663,
      "exports_avg_5y_usd": 965406.7239386257,
      "exports_avg_10y_usd": 913357.8657251296,
      "exports_cagr_3y_pct": 8.620579429674269,
      "exports_cagr_5y_pct": 25.181801422700477,
      "exports_cagr_10y_pct": -0.061620457556610386,
      "exports_historical_peak_usd": 1528905.0236190897,
      "buyer_imports_latest_observed_usd": 10117759.066974757,
      "historical_peak_year": 2014,
      "positive_growth_year_share_pct": 68.75,
      "trend_acceleration_pct": 8.68219988723088,
      "trend_label": "Growing",
      "buyer_yoy_latest_pct": 41.2127,
      "buyer_yoy_all_avg_pct": 45.9411,
      "buyer_trend_consistency_pct": 58.6207,
      "market_share_latest_pct": 15.018245761331581,
      "market_share_change_1y_pp": 4.210451294409793,
      "peer_best_share_pct": 30.813285973716475,
      "peer_top_exporter": "CHN",
      "supplier_count_latest": 25,
      "buyer_market_hhi": 1786.6,
      "distance_km": 1977.7049560546875,
      "has_reported_fta": 1,
      "applied_tariff_pct": 0.08352117814343435,
      "tariff_advantage_pp": 0.08352117814343435,
      "volatility_cv": 0.7925068927529597,
      "max_drawdown_pct": 99.99999999999999,
      "attention_level": "Stable",
      "primary_risk_reason": "No material risk condition is currently identified",
      "risk_driver_labels": "[]",
      "signal_flag": "Accelerating",
      "confidence_label": "High",
      "refreshed_at": "2026-07-20 09:30:25"
    },
    {
      "hs_code": 71220,
      "corridor_rank": 68,
      "exporter_iso3": "ESP",
      "importer_iso3": "NLD",
      "latest_data_year": 2024,
      "lane_data_years": 27,
      "exports_latest_observed_usd": 960799.6713024967,
      "exports_all_year_avg_usd": 1036005.9460769519,
      "exports_avg_3y_usd": 993692.9012143165,
      "exports_avg_5y_usd": 1169221.4576714823,
      "exports_avg_10y_usd": 1200986.980058325,
      "exports_cagr_3y_pct": -15.726760020136254,
      "exports_cagr_5y_pct": 5.41339014832023,
      "exports_cagr_10y_pct": -8.365002327891414,
      "exports_historical_peak_usd": 2301543.111232593,
      "buyer_imports_latest_observed_usd": 28152968.994660296,
      "historical_peak_year": 2014,
      "positive_growth_year_share_pct": 57.69230769230769,
      "trend_acceleration_pct": -7.36175769224484,
      "trend_label": "Rapid decline",
      "buyer_yoy_latest_pct": 10.972,
      "buyer_yoy_all_avg_pct": 4.1998,
      "buyer_trend_consistency_pct": 62.069,
      "market_share_latest_pct": 3.412782756535303,
      "market_share_change_1y_pp": -1.0249186912130526,
      "peer_best_share_pct": 28.095026036145914,
      "peer_top_exporter": "IND",
      "supplier_count_latest": 53,
      "buyer_market_hhi": 2110.08,
      "distance_km": 1481.3658447265625,
      "has_reported_fta": 1,
      "applied_tariff_pct": 0,
      "tariff_advantage_pp": 0,
      "volatility_cv": 0.5942546023626585,
      "max_drawdown_pct": 90.4349214786577,
      "attention_level": "Watch",
      "primary_risk_reason": "Current trade remains more than 50% below its historical peak",
      "risk_driver_labels": "['unrecovered_drawdown']",
      "signal_flag": "Growing",
      "confidence_label": "High",
      "refreshed_at": "2026-07-20 09:30:25"
    },
    {
      "hs_code": 71220,
      "corridor_rank": 73,
      "exporter_iso3": "ESP",
      "importer_iso3": "JPN",
      "latest_data_year": 2024,
      "lane_data_years": 18,
      "exports_latest_observed_usd": 780138.3182959409,
      "exports_all_year_avg_usd": 369436.11715964414,
      "exports_avg_3y_usd": 643922.8024011202,
      "exports_avg_5y_usd": 546247.1879726052,
      "exports_avg_10y_usd": 501306.8677944749,
      "exports_cagr_3y_pct": 29.872344115859505,
      "exports_cagr_5y_pct": 14.22990767368253,
      "exports_cagr_10y_pct": 11.205996923927497,
      "exports_historical_peak_usd": 780138.3182959409,
      "buyer_imports_latest_observed_usd": 31550008.567808352,
      "historical_peak_year": 2024,
      "positive_growth_year_share_pct": 70.58823529411765,
      "trend_acceleration_pct": 18.666347191932008,
      "trend_label": "Rapid growth",
      "buyer_yoy_latest_pct": 2.6375,
      "buyer_yoy_all_avg_pct": 3.2507,
      "buyer_trend_consistency_pct": 62.069,
      "market_share_latest_pct": 2.4727039823752848,
      "market_share_change_1y_pp": 0.5718121327946002,
      "peer_best_share_pct": 51.898405102570145,
      "peer_top_exporter": "USA",
      "supplier_count_latest": 18,
      "buyer_market_hhi": 3434.89,
      "distance_km": 10777.423828125,
      "has_reported_fta": 1,
      "applied_tariff_pct": 0.039966357792484856,
      "tariff_advantage_pp": 0.030413669105984857,
      "volatility_cv": 0.4832223671401922,
      "max_drawdown_pct": 54.66949429869462,
      "attention_level": "Watch",
      "primary_risk_reason": "The buyer market is concentrated among relatively few suppliers",
      "risk_driver_labels": "['concentrated_buyer_market','dominant_supplier','buyer_macro_weakness']",
      "signal_flag": "Accelerating",
      "confidence_label": "High",
      "refreshed_at": "2026-07-20 09:30:25"
    }
  ],
  "prices": [],
  "priceSummary": {
    "exporter_iso3": "ESP",
    "hs_code": 71220,
    "num_markets": 97,
    "highest_price_importer_iso3": "ARE",
    "highest_price_usd_per_ton": 349708.3333333333,
    "lowest_price_importer_iso3": "CPV",
    "lowest_price_usd_per_ton": 248.66666666666666,
    "median_price_across_markets": 3288.3546088182316,
    "price_spread_pct": 10627.189224955742,
    "avg_quantity_metric_tons": 107.49856090651558,
    "total_trade_value_usd": 96275688
  },
  "history": [
    {
      "year": 2010,
      "export_value_usd": 12098161.65511396,
      "active_destinations": 52,
      "yoy_growth_pct": -11.573643880242745
    },
    {
      "year": 2011,
      "export_value_usd": 16375306.342506386,
      "active_destinations": 59,
      "yoy_growth_pct": 35.35367446164396
    },
    {
      "year": 2012,
      "export_value_usd": 13354401.051176237,
      "active_destinations": 60,
      "yoy_growth_pct": -18.447931465493262
    },
    {
      "year": 2013,
      "export_value_usd": 16211210.751749167,
      "active_destinations": 63,
      "yoy_growth_pct": 21.392271279147383
    },
    {
      "year": 2014,
      "export_value_usd": 15492652.1562458,
      "active_destinations": 66,
      "yoy_growth_pct": -4.4324795137577
    },
    {
      "year": 2015,
      "export_value_usd": 12988559.388490025,
      "active_destinations": 60,
      "yoy_growth_pct": -16.163099400293834
    },
    {
      "year": 2016,
      "export_value_usd": 14070404.48286558,
      "active_destinations": 65,
      "yoy_growth_pct": 8.329215442739901
    },
    {
      "year": 2017,
      "export_value_usd": 14836014.284853347,
      "active_destinations": 66,
      "yoy_growth_pct": 5.441277846135117
    },
    {
      "year": 2018,
      "export_value_usd": 16565941.910623327,
      "active_destinations": 72,
      "yoy_growth_pct": 11.660325964609845
    },
    {
      "year": 2019,
      "export_value_usd": 17428285.151312165,
      "active_destinations": 74,
      "yoy_growth_pct": 5.205518921540095
    },
    {
      "year": 2020,
      "export_value_usd": 20364428.956018627,
      "active_destinations": 71,
      "yoy_growth_pct": 16.847003472888446
    },
    {
      "year": 2021,
      "export_value_usd": 23658962.402862273,
      "active_destinations": 74,
      "yoy_growth_pct": 16.17788278747664
    },
    {
      "year": 2022,
      "export_value_usd": 17654651.50276089,
      "active_destinations": 77,
      "yoy_growth_pct": -25.37858929677735
    },
    {
      "year": 2023,
      "export_value_usd": 22303274.08436379,
      "active_destinations": 76,
      "yoy_growth_pct": 26.33086572610018
    },
    {
      "year": 2024,
      "export_value_usd": 23580140.389584858,
      "active_destinations": 75,
      "yoy_growth_pct": 5.725017324323003
    }
  ],
  "economy": {
    "year": 2024,
    "country_iso3": "ESP",
    "exports_usd": 389951601153.8226,
    "imports_usd": 440055603176.9493,
    "trade_balance_usd": -50104002023.12671,
    "yoy_exports_growth_pct": -3.8987656816749983,
    "yoy_imports_growth_pct": -1.8348334157975543,
    "exports_cagr_3y_pct": 1.5602192255318448,
    "imports_cagr_3y_pct": 2.9666580306946244,
    "export_partner_hhi": 604.5825828475407,
    "export_product_hhi": 52.5584557740159,
    "momentum_score": -2.2610702095129454,
    "risk_score": 3.285705193107783,
    "gdp_million_usd": 1725671.6527421873,
    "gdp_per_capita_usd": 35326.76830692781,
    "population": 48848840,
    "labor_force": 22392.15,
    "investment_rate_pct": 24.25,
    "savings_rate_pct": 21.99,
    "secondary_education_pct": 88.05,
    "tertiary_education_pct": 30.02,
    "total_factor_productivity": 1788.25,
    "trade_openness_pct": 51.047299403937664,
    "exports_gdp_pct": 23.9828956101581,
    "num_active_partners": 270,
    "num_fta_partners": 108,
    "num_wto_partners": 169,
    "num_eu_partners": 28,
    "num_shared_border_partners": 5,
    "num_shared_language_partners": 24,
    "avg_partner_distance_km": 6746.572016460906,
    "avg_partner_gdp_million_usd": 533678518.3258193,
    "avg_partner_gdp_per_capita_usd": 15.774186170212769,
    "avg_buyer_biz_entry_days": null,
    "avg_buyer_biz_entry_cost_pct": null,
    "pct_partners_with_fta": 40,
    "pct_partners_shared_language": 8.88888888888889,
    "pct_partners_shared_border": 1.8518518518518516,
    "avg_applied_tariff_pct": 0.12805616369601883,
    "avg_mfn_tariff_pct": 0.13052375531925525,
    "avg_preferential_tariff_pct": 0.02478492349129115,
    "tariff_advantage_pp": 0.1057388318279641,
    "avg_distance_all_partners_km": 6704.091347253092,
    "num_border_partners": 75,
    "num_colonial_partners": 605,
    "avg_substitution_elasticity": -10.891699057348575,
    "pct_products_high_elasticity": 75.94907407407408,
    "pct_products_low_elasticity": 2.662037037037037,
    "real_market_potential": 214756.4728280517,
    "foreign_market_potential": 15747.12902462019
  }
}