{
  "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/520645",
  "links": {
    "product": "https://www.yugalinks.com/trade/product/520645",
    "exporter": "https://www.yugalinks.com/trade/exporter/esp/520645",
    "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": "520645",
    "exporter_iso3": "ESP",
    "first_data_year": 1995,
    "latest_data_year": 2024,
    "observed_lane_count": 75,
    "current_lane_count": 8,
    "active_market_count": 8,
    "exports_latest_observed_lanes_usd": 753332.3838073493,
    "exports_current_2024_usd": 66476.41099225491,
    "exports_avg_3y_usd": 71199.96698099539,
    "exports_avg_5y_usd": 87735.64462886269,
    "exports_avg_10y_usd": 259044.97627017988,
    "exports_cagr_3y_pct": 3.423315320835152,
    "exports_cagr_5y_pct": -29.612767800542105,
    "exports_cagr_10y_pct": -16.493499455616323,
    "exports_all_year_lane_avg_usd": 1562840.6499843902,
    "exports_historical_lane_peak_usd": 4449108.338766118,
    "historical_peak_year": 1997,
    "positive_growth_year_share_pct": 34.48275862068966,
    "trend_acceleration_pct": 19.916814776451474,
    "trend_label": "Growing",
    "top_market_iso3": "BGD",
    "top_market_exports_usd": 132341.75714745655,
    "top_market_share_pct": 17.567512029497525,
    "destination_hhi": 860.1135626742864,
    "weighted_share_latest_pct": 46.864088276141985,
    "weighted_share_change_1y_pp": 20.127153930093584,
    "weighted_volatility_cv": 0.6472799295576355,
    "weighted_max_drawdown_pct": 58.385975671157155,
    "limited_history_lane_share_pct": 56,
    "data_freshness_years": 0,
    "coverage_score": 74,
    "confidence_label": "Medium",
    "refreshed_at": "2026-07-20 09:28:41",
    "source": "api",
    "product": {
      "hs_code": 520645,
      "hs_description": "Cotton yarn: (not sewing thread), multiple or cabled, of combed fibres, less than 85% by weight of cotton, less than 125 decitex (exceeding 80 metric number) per single yarn, not for retail sale",
      "hs_chapter": 52,
      "hs_heading": 5206,
      "substitution_elasticity": -16.970291,
      "price_range_label": "Medium price range",
      "trade_type_label": "One-way trade"
    },
    "hs_description": "Cotton yarn: (not sewing thread), multiple or cabled, of combed fibres, less than 85% by weight of cotton, less than 125 decitex (exceeding 80 metric number) per single yarn, not for retail sale",
    "hs_chapter": 52,
    "hs_heading": 5206,
    "destinations": [
      {
        "hs_code": 520645,
        "corridor_rank": 39,
        "exporter_iso3": "ESP",
        "importer_iso3": "BGD",
        "latest_data_year": 2018,
        "lane_data_years": 1,
        "exports_latest_observed_usd": 132341.75714745655,
        "exports_all_year_avg_usd": 132341.75714745655,
        "exports_avg_3y_usd": 132341.75714745655,
        "exports_avg_5y_usd": 132341.75714745655,
        "exports_avg_10y_usd": 132341.75714745655,
        "exports_cagr_3y_pct": null,
        "exports_cagr_5y_pct": null,
        "exports_cagr_10y_pct": null,
        "exports_historical_peak_usd": 132341.75714745655,
        "buyer_imports_latest_observed_usd": 387073.4802351119,
        "historical_peak_year": 2018,
        "positive_growth_year_share_pct": null,
        "trend_acceleration_pct": null,
        "trend_label": "Insufficient history",
        "buyer_yoy_latest_pct": 22.0516,
        "buyer_yoy_all_avg_pct": 844.0928,
        "buyer_trend_consistency_pct": 51.7241,
        "market_share_latest_pct": 15.805134246429075,
        "market_share_change_1y_pp": 15.805134246429075,
        "peer_best_share_pct": 76.11576381338313,
        "peer_top_exporter": "IND",
        "supplier_count_latest": 4,
        "buyer_market_hhi": 6042.64,
        "distance_km": 8661.470703125,
        "has_reported_fta": 0,
        "applied_tariff_pct": null,
        "tariff_advantage_pp": null,
        "volatility_cv": 0,
        "max_drawdown_pct": 0,
        "attention_level": "Not monitored",
        "primary_risk_reason": "The lane has limited historical coverage",
        "risk_driver_labels": "['limited_history']",
        "signal_flag": "Declining",
        "confidence_label": "Low",
        "refreshed_at": "2026-07-20 09:30:31"
      },
      {
        "hs_code": 520645,
        "corridor_rank": 43,
        "exporter_iso3": "ESP",
        "importer_iso3": "ROU",
        "latest_data_year": 2020,
        "lane_data_years": 12,
        "exports_latest_observed_usd": 113494.58916364316,
        "exports_all_year_avg_usd": 158505.0577836043,
        "exports_avg_3y_usd": 167351.84093955497,
        "exports_avg_5y_usd": 193166.2597279987,
        "exports_avg_10y_usd": 211084.59328253262,
        "exports_cagr_3y_pct": -19.648463768323175,
        "exports_cagr_5y_pct": -19.396760235364184,
        "exports_cagr_10y_pct": 163.67753894216253,
        "exports_historical_peak_usd": 346871.04125396203,
        "buyer_imports_latest_observed_usd": 277246.25916910486,
        "historical_peak_year": 2014,
        "positive_growth_year_share_pct": 36.36363636363637,
        "trend_acceleration_pct": -183.3260027104857,
        "trend_label": "Rapid decline",
        "buyer_yoy_latest_pct": -20.3206,
        "buyer_yoy_all_avg_pct": 20.6531,
        "buyer_trend_consistency_pct": 44.8276,
        "market_share_latest_pct": 38.07069618894809,
        "market_share_change_1y_pp": 11.787634127211252,
        "peer_best_share_pct": 85.12860033473976,
        "peer_top_exporter": "ITA",
        "supplier_count_latest": 5,
        "buyer_market_hhi": 7460.74,
        "distance_km": null,
        "has_reported_fta": null,
        "applied_tariff_pct": null,
        "tariff_advantage_pp": null,
        "volatility_cv": 0.7603929558719906,
        "max_drawdown_pct": 99.69219526978951,
        "attention_level": "Not monitored",
        "primary_risk_reason": "No detailed risk classification is available",
        "risk_driver_labels": "[]",
        "signal_flag": "Growing",
        "confidence_label": "Medium",
        "refreshed_at": "2026-07-20 09:30:31"
      },
      {
        "hs_code": 520645,
        "corridor_rank": 57,
        "exporter_iso3": "ESP",
        "importer_iso3": "GTM",
        "latest_data_year": 2006,
        "lane_data_years": 2,
        "exports_latest_observed_usd": 81207.046,
        "exports_all_year_avg_usd": 136367.957250816,
        "exports_avg_3y_usd": 136367.957250816,
        "exports_avg_5y_usd": 136367.957250816,
        "exports_avg_10y_usd": 136367.957250816,
        "exports_cagr_3y_pct": null,
        "exports_cagr_5y_pct": null,
        "exports_cagr_10y_pct": null,
        "exports_historical_peak_usd": 191528.868501632,
        "buyer_imports_latest_observed_usd": 105.67838910368049,
        "historical_peak_year": 2005,
        "positive_growth_year_share_pct": 0,
        "trend_acceleration_pct": null,
        "trend_label": "Insufficient history",
        "buyer_yoy_latest_pct": 18533.0896,
        "buyer_yoy_all_avg_pct": 2210.985,
        "buyer_trend_consistency_pct": 55.5556,
        "market_share_latest_pct": 88.20903893445949,
        "market_share_change_1y_pp": 17.25375918760311,
        "peer_best_share_pct": 89.54432481664725,
        "peer_top_exporter": "SWE",
        "supplier_count_latest": 2,
        "buyer_market_hhi": 8127.51,
        "distance_km": 8700.8798828125,
        "has_reported_fta": 1,
        "applied_tariff_pct": null,
        "tariff_advantage_pp": null,
        "volatility_cv": 0.40450053196412467,
        "max_drawdown_pct": 57.60062353247388,
        "attention_level": "Not monitored",
        "primary_risk_reason": "The lane has limited historical coverage",
        "risk_driver_labels": "['limited_history']",
        "signal_flag": "Declining",
        "confidence_label": "Low",
        "refreshed_at": "2026-07-20 09:30:31"
      },
      {
        "hs_code": 520645,
        "corridor_rank": 68,
        "exporter_iso3": "ESP",
        "importer_iso3": "FIN",
        "latest_data_year": 1999,
        "lane_data_years": 3,
        "exports_latest_observed_usd": 68701.3969600501,
        "exports_all_year_avg_usd": 37261.36908320215,
        "exports_avg_3y_usd": 36336.81378736827,
        "exports_avg_5y_usd": 37261.36908320215,
        "exports_avg_10y_usd": 37261.36908320215,
        "exports_cagr_3y_pct": 20.658375875064404,
        "exports_cagr_5y_pct": null,
        "exports_cagr_10y_pct": null,
        "exports_historical_peak_usd": 68701.3969600501,
        "buyer_imports_latest_observed_usd": 982.0215844944253,
        "historical_peak_year": 1999,
        "positive_growth_year_share_pct": 50,
        "trend_acceleration_pct": null,
        "trend_label": "Rapid growth",
        "buyer_yoy_latest_pct": 284.1328,
        "buyer_yoy_all_avg_pct": 281.1614,
        "buyer_trend_consistency_pct": 51.7241,
        "market_share_latest_pct": 36.23904599864723,
        "market_share_change_1y_pp": 31.76572598571132,
        "peer_best_share_pct": 84.43466851790417,
        "peer_top_exporter": "LTU",
        "supplier_count_latest": 2,
        "buyer_market_hhi": 7371.49,
        "distance_km": 2952.194580078125,
        "has_reported_fta": 1,
        "applied_tariff_pct": null,
        "tariff_advantage_pp": null,
        "volatility_cv": 0.7100624569222275,
        "max_drawdown_pct": 89.84356456962924,
        "attention_level": "Not monitored",
        "primary_risk_reason": "The lane has limited historical coverage",
        "risk_driver_labels": "['limited_history']",
        "signal_flag": "Accelerating",
        "confidence_label": "Low",
        "refreshed_at": "2026-07-20 09:30:31"
      }
    ],
    "priceSummary": {
      "exporter_iso3": "ESP",
      "hs_code": 520645,
      "num_markets": 18,
      "highest_price_importer_iso3": "CAN",
      "highest_price_usd_per_ton": 87500,
      "lowest_price_importer_iso3": "TUN",
      "lowest_price_usd_per_ton": 587.4545454545455,
      "median_price_across_markets": 6492.637215528782,
      "price_spread_pct": 1338.6324011246484,
      "avg_quantity_metric_tons": 21.865384615384617,
      "total_trade_value_usd": 1568107
    },
    "history": [
      {
        "year": 2010,
        "export_value_usd": 25219.51053817096,
        "active_destinations": 7,
        "yoy_growth_pct": -87.00262149931251
      },
      {
        "year": 2011,
        "export_value_usd": 231490.7460641056,
        "active_destinations": 10,
        "yoy_growth_pct": 817.9034054357758
      },
      {
        "year": 2012,
        "export_value_usd": 211997.63246735462,
        "active_destinations": 10,
        "yoy_growth_pct": -8.42068805262429
      },
      {
        "year": 2013,
        "export_value_usd": 203411.97589370524,
        "active_destinations": 9,
        "yoy_growth_pct": -4.049883233942001
      },
      {
        "year": 2014,
        "export_value_usd": 403148.19590241526,
        "active_destinations": 14,
        "yoy_growth_pct": 98.19295011080565
      },
      {
        "year": 2015,
        "export_value_usd": 431075.17984261154,
        "active_destinations": 13,
        "yoy_growth_pct": 6.927225329058944
      },
      {
        "year": 2016,
        "export_value_usd": 441353.8958162343,
        "active_destinations": 15,
        "yoy_growth_pct": 2.3844369739347036
      },
      {
        "year": 2017,
        "export_value_usd": 406598.7186208743,
        "active_destinations": 12,
        "yoy_growth_pct": -7.8746732553667
      },
      {
        "year": 2018,
        "export_value_usd": 487976.47328226827,
        "active_destinations": 14,
        "yoy_growth_pct": 20.014267368430453
      },
      {
        "year": 2019,
        "export_value_usd": 384767.27199549635,
        "active_destinations": 9,
        "yoy_growth_pct": -21.150446166504203
      },
      {
        "year": 2020,
        "export_value_usd": 164986.93936567786,
        "active_destinations": 6,
        "yoy_growth_pct": -57.12032925513244
      },
      {
        "year": 2021,
        "export_value_usd": 60091.382835649376,
        "active_destinations": 9,
        "yoy_growth_pct": -63.57809711078855
      },
      {
        "year": 2022,
        "export_value_usd": 18595.540848125354,
        "active_destinations": 9,
        "yoy_growth_pct": -69.05456328241875
      },
      {
        "year": 2023,
        "export_value_usd": 128527.94910260593,
        "active_destinations": 5,
        "yoy_growth_pct": 591.1761811733646
      },
      {
        "year": 2024,
        "export_value_usd": 66476.4109922549,
        "active_destinations": 8,
        "yoy_growth_pct": -48.27863398085835
      }
    ],
    "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": "520645",
    "hs_description": "Cotton yarn: (not sewing thread), multiple or cabled, of combed fibres, less than 85% by weight of cotton, less than 125 decitex (exceeding 80 metric number) per single yarn, not for retail sale",
    "hs_chapter": 52,
    "hs_heading": 5206
  },
  "destinations": [
    {
      "hs_code": 520645,
      "corridor_rank": 39,
      "exporter_iso3": "ESP",
      "importer_iso3": "BGD",
      "latest_data_year": 2018,
      "lane_data_years": 1,
      "exports_latest_observed_usd": 132341.75714745655,
      "exports_all_year_avg_usd": 132341.75714745655,
      "exports_avg_3y_usd": 132341.75714745655,
      "exports_avg_5y_usd": 132341.75714745655,
      "exports_avg_10y_usd": 132341.75714745655,
      "exports_cagr_3y_pct": null,
      "exports_cagr_5y_pct": null,
      "exports_cagr_10y_pct": null,
      "exports_historical_peak_usd": 132341.75714745655,
      "buyer_imports_latest_observed_usd": 387073.4802351119,
      "historical_peak_year": 2018,
      "positive_growth_year_share_pct": null,
      "trend_acceleration_pct": null,
      "trend_label": "Insufficient history",
      "buyer_yoy_latest_pct": 22.0516,
      "buyer_yoy_all_avg_pct": 844.0928,
      "buyer_trend_consistency_pct": 51.7241,
      "market_share_latest_pct": 15.805134246429075,
      "market_share_change_1y_pp": 15.805134246429075,
      "peer_best_share_pct": 76.11576381338313,
      "peer_top_exporter": "IND",
      "supplier_count_latest": 4,
      "buyer_market_hhi": 6042.64,
      "distance_km": 8661.470703125,
      "has_reported_fta": 0,
      "applied_tariff_pct": null,
      "tariff_advantage_pp": null,
      "volatility_cv": 0,
      "max_drawdown_pct": 0,
      "attention_level": "Not monitored",
      "primary_risk_reason": "The lane has limited historical coverage",
      "risk_driver_labels": "['limited_history']",
      "signal_flag": "Declining",
      "confidence_label": "Low",
      "refreshed_at": "2026-07-20 09:30:31"
    },
    {
      "hs_code": 520645,
      "corridor_rank": 43,
      "exporter_iso3": "ESP",
      "importer_iso3": "ROU",
      "latest_data_year": 2020,
      "lane_data_years": 12,
      "exports_latest_observed_usd": 113494.58916364316,
      "exports_all_year_avg_usd": 158505.0577836043,
      "exports_avg_3y_usd": 167351.84093955497,
      "exports_avg_5y_usd": 193166.2597279987,
      "exports_avg_10y_usd": 211084.59328253262,
      "exports_cagr_3y_pct": -19.648463768323175,
      "exports_cagr_5y_pct": -19.396760235364184,
      "exports_cagr_10y_pct": 163.67753894216253,
      "exports_historical_peak_usd": 346871.04125396203,
      "buyer_imports_latest_observed_usd": 277246.25916910486,
      "historical_peak_year": 2014,
      "positive_growth_year_share_pct": 36.36363636363637,
      "trend_acceleration_pct": -183.3260027104857,
      "trend_label": "Rapid decline",
      "buyer_yoy_latest_pct": -20.3206,
      "buyer_yoy_all_avg_pct": 20.6531,
      "buyer_trend_consistency_pct": 44.8276,
      "market_share_latest_pct": 38.07069618894809,
      "market_share_change_1y_pp": 11.787634127211252,
      "peer_best_share_pct": 85.12860033473976,
      "peer_top_exporter": "ITA",
      "supplier_count_latest": 5,
      "buyer_market_hhi": 7460.74,
      "distance_km": null,
      "has_reported_fta": null,
      "applied_tariff_pct": null,
      "tariff_advantage_pp": null,
      "volatility_cv": 0.7603929558719906,
      "max_drawdown_pct": 99.69219526978951,
      "attention_level": "Not monitored",
      "primary_risk_reason": "No detailed risk classification is available",
      "risk_driver_labels": "[]",
      "signal_flag": "Growing",
      "confidence_label": "Medium",
      "refreshed_at": "2026-07-20 09:30:31"
    },
    {
      "hs_code": 520645,
      "corridor_rank": 57,
      "exporter_iso3": "ESP",
      "importer_iso3": "GTM",
      "latest_data_year": 2006,
      "lane_data_years": 2,
      "exports_latest_observed_usd": 81207.046,
      "exports_all_year_avg_usd": 136367.957250816,
      "exports_avg_3y_usd": 136367.957250816,
      "exports_avg_5y_usd": 136367.957250816,
      "exports_avg_10y_usd": 136367.957250816,
      "exports_cagr_3y_pct": null,
      "exports_cagr_5y_pct": null,
      "exports_cagr_10y_pct": null,
      "exports_historical_peak_usd": 191528.868501632,
      "buyer_imports_latest_observed_usd": 105.67838910368049,
      "historical_peak_year": 2005,
      "positive_growth_year_share_pct": 0,
      "trend_acceleration_pct": null,
      "trend_label": "Insufficient history",
      "buyer_yoy_latest_pct": 18533.0896,
      "buyer_yoy_all_avg_pct": 2210.985,
      "buyer_trend_consistency_pct": 55.5556,
      "market_share_latest_pct": 88.20903893445949,
      "market_share_change_1y_pp": 17.25375918760311,
      "peer_best_share_pct": 89.54432481664725,
      "peer_top_exporter": "SWE",
      "supplier_count_latest": 2,
      "buyer_market_hhi": 8127.51,
      "distance_km": 8700.8798828125,
      "has_reported_fta": 1,
      "applied_tariff_pct": null,
      "tariff_advantage_pp": null,
      "volatility_cv": 0.40450053196412467,
      "max_drawdown_pct": 57.60062353247388,
      "attention_level": "Not monitored",
      "primary_risk_reason": "The lane has limited historical coverage",
      "risk_driver_labels": "['limited_history']",
      "signal_flag": "Declining",
      "confidence_label": "Low",
      "refreshed_at": "2026-07-20 09:30:31"
    },
    {
      "hs_code": 520645,
      "corridor_rank": 68,
      "exporter_iso3": "ESP",
      "importer_iso3": "FIN",
      "latest_data_year": 1999,
      "lane_data_years": 3,
      "exports_latest_observed_usd": 68701.3969600501,
      "exports_all_year_avg_usd": 37261.36908320215,
      "exports_avg_3y_usd": 36336.81378736827,
      "exports_avg_5y_usd": 37261.36908320215,
      "exports_avg_10y_usd": 37261.36908320215,
      "exports_cagr_3y_pct": 20.658375875064404,
      "exports_cagr_5y_pct": null,
      "exports_cagr_10y_pct": null,
      "exports_historical_peak_usd": 68701.3969600501,
      "buyer_imports_latest_observed_usd": 982.0215844944253,
      "historical_peak_year": 1999,
      "positive_growth_year_share_pct": 50,
      "trend_acceleration_pct": null,
      "trend_label": "Rapid growth",
      "buyer_yoy_latest_pct": 284.1328,
      "buyer_yoy_all_avg_pct": 281.1614,
      "buyer_trend_consistency_pct": 51.7241,
      "market_share_latest_pct": 36.23904599864723,
      "market_share_change_1y_pp": 31.76572598571132,
      "peer_best_share_pct": 84.43466851790417,
      "peer_top_exporter": "LTU",
      "supplier_count_latest": 2,
      "buyer_market_hhi": 7371.49,
      "distance_km": 2952.194580078125,
      "has_reported_fta": 1,
      "applied_tariff_pct": null,
      "tariff_advantage_pp": null,
      "volatility_cv": 0.7100624569222275,
      "max_drawdown_pct": 89.84356456962924,
      "attention_level": "Not monitored",
      "primary_risk_reason": "The lane has limited historical coverage",
      "risk_driver_labels": "['limited_history']",
      "signal_flag": "Accelerating",
      "confidence_label": "Low",
      "refreshed_at": "2026-07-20 09:30:31"
    }
  ],
  "prices": [],
  "priceSummary": {
    "exporter_iso3": "ESP",
    "hs_code": 520645,
    "num_markets": 18,
    "highest_price_importer_iso3": "CAN",
    "highest_price_usd_per_ton": 87500,
    "lowest_price_importer_iso3": "TUN",
    "lowest_price_usd_per_ton": 587.4545454545455,
    "median_price_across_markets": 6492.637215528782,
    "price_spread_pct": 1338.6324011246484,
    "avg_quantity_metric_tons": 21.865384615384617,
    "total_trade_value_usd": 1568107
  },
  "history": [
    {
      "year": 2010,
      "export_value_usd": 25219.51053817096,
      "active_destinations": 7,
      "yoy_growth_pct": -87.00262149931251
    },
    {
      "year": 2011,
      "export_value_usd": 231490.7460641056,
      "active_destinations": 10,
      "yoy_growth_pct": 817.9034054357758
    },
    {
      "year": 2012,
      "export_value_usd": 211997.63246735462,
      "active_destinations": 10,
      "yoy_growth_pct": -8.42068805262429
    },
    {
      "year": 2013,
      "export_value_usd": 203411.97589370524,
      "active_destinations": 9,
      "yoy_growth_pct": -4.049883233942001
    },
    {
      "year": 2014,
      "export_value_usd": 403148.19590241526,
      "active_destinations": 14,
      "yoy_growth_pct": 98.19295011080565
    },
    {
      "year": 2015,
      "export_value_usd": 431075.17984261154,
      "active_destinations": 13,
      "yoy_growth_pct": 6.927225329058944
    },
    {
      "year": 2016,
      "export_value_usd": 441353.8958162343,
      "active_destinations": 15,
      "yoy_growth_pct": 2.3844369739347036
    },
    {
      "year": 2017,
      "export_value_usd": 406598.7186208743,
      "active_destinations": 12,
      "yoy_growth_pct": -7.8746732553667
    },
    {
      "year": 2018,
      "export_value_usd": 487976.47328226827,
      "active_destinations": 14,
      "yoy_growth_pct": 20.014267368430453
    },
    {
      "year": 2019,
      "export_value_usd": 384767.27199549635,
      "active_destinations": 9,
      "yoy_growth_pct": -21.150446166504203
    },
    {
      "year": 2020,
      "export_value_usd": 164986.93936567786,
      "active_destinations": 6,
      "yoy_growth_pct": -57.12032925513244
    },
    {
      "year": 2021,
      "export_value_usd": 60091.382835649376,
      "active_destinations": 9,
      "yoy_growth_pct": -63.57809711078855
    },
    {
      "year": 2022,
      "export_value_usd": 18595.540848125354,
      "active_destinations": 9,
      "yoy_growth_pct": -69.05456328241875
    },
    {
      "year": 2023,
      "export_value_usd": 128527.94910260593,
      "active_destinations": 5,
      "yoy_growth_pct": 591.1761811733646
    },
    {
      "year": 2024,
      "export_value_usd": 66476.4109922549,
      "active_destinations": 8,
      "yoy_growth_pct": -48.27863398085835
    }
  ],
  "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
  }
}