# Sector & Country weights `GET` `https://api.unusualwhales.com/api/etfs/{ticker}/weights` Returns the sector & country weights for the given ETF ticker. ## Authentication ``` Authorization: Bearer YOUR_API_KEY ``` ## Path Parameters | Name | Type | Required | Description | |------|------|----------|-------------| | `ticker` | SingleTicker | Yes | A single ticker | ## Response (200) | Field | Type | Description | |-------|------|-------------| | `country` | Etf Countries | A list of countries with their exposure by percentage. | | `sector` | Etf Sectors | A list of sectors with their exposure by percentage. | ## Example ### curl ```bash curl -X GET "https://api.unusualwhales.com/api/etfs/{ticker}/weights" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Accept: application/json" ``` ### Python ```python import http.client conn = http.client.HTTPSConnection("api.unusualwhales.com") headers = {"Authorization": "Bearer YOUR_API_KEY", "Accept": "application/json"} conn.request("GET", "/api/etfs/{ticker}/weights", headers=headers) response = conn.getresponse() print(response.read().decode("utf-8")) ``` ## Response Example ```json { "country": [ { "country": "Ireland", "weight": "0.0164" }, { "country": "Other", "weight": "0.0059" }, { "country": "Switzerland", "weight": "0.0043" }, { "country": "Netherlands", "weight": "0.0015" }, { "country": "Canada", "weight": "0.0014" }, { "country": "Bermuda", "weight": "0.0011" }, { "country": "Israel", "weight": "0.0001" }, { "country": "United States", "weight": "0.9693" } ], "sector": [ { "sector": "Basic Materials", "weight": "0.022" }, { "sector": "Communication Services", "weight": "0.0861" }, { "sector": "Consumer Cyclical", "weight": "0.1091" }, { "sector": "Consumer Defensive", "weight": "0.0626" }, { "sector": "Energy", "weight": "0.041" }, { "sector": "Financial Services", "weight": "0.125" }, { "sector": "Healthcare", "weight": "0.1272" }, { "sector": "Industrials", "weight": "0.0816" }, { "sector": "Other", "weight": "0.00009999999999990905" }, { "sector": "Real Estate", "weight": "0.0243" }, { "sector": "Technology", "weight": "0.2971" }, { "sector": "Utilities", "weight": "0.0239" } ] } ```