---
title: "Country allocation chart"
method: GET
path: "/api/fund/chart/countries"
tags: ["ETF/MF"]
---

# Country allocation chart

`GET /api/fund/chart/countries`

![ETF](https://img.shields.io/badge/ETF-14b8a6) ![Pro](https://img.shields.io/badge/Pro-8b5cf6)

Chart-ready geographic allocation over time. Returns one series per top country (by latest quarter weight),
with portfolio weight values for each quarter. Countries are ISO 2-letter codes from N-PORT holdings.
Periods sorted ascending. Historical depth depends on subscription tier.

## Query parameters

- `symbol` string
- `cik` integer
- `cusip` string
- `composite_figi` string
- `share_class_figi` string
- `topN` integer

## Response `200`

Country allocation chart data with periods sorted ascending

- object
  - `periods` string[] — Quarter-end dates sorted ascending
  - `series` object[] — One series per top country, with portfolio weight values (%)
    - `name` string
    - `data` number[]

## Other responses

- `400` — Symbol not found or not a fund (ETF or mutual fund)
- `403` — Feature not available on current plan

---

[API](https://skmtc.net/stockfit/apis/stockfit-api.md) · [All operations](https://skmtc.net/stockfit/apis/stockfit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stockfit/stockfit-api/revisions/3d5897270d8a/schema)
