---
title: "Get Subnational"
method: GET
path: "/subnational/{country_code}"
---

# Get Subnational

`GET /subnational/{country_code}`

Sub-national income distribution data.
Returns population counts and income bounds by income class at national
and city level for all 54 African countries.
Income classes: marginalised, low, middle, upper_middle, high.
Currencies: current USD, constant 2015 USD, PPP.
Beta access: RW, NA, TN, SN. Paid plans: all 54 countries.

## Path parameters

- `country_code` string, required

## Query parameters

- `admin_level` integer, nullable — 0=national, 2=city
- `income_class` string, nullable — marginalised, low, middle, upper_middle, high
- `year_from` integer, nullable
- `year_to` integer, nullable
- `include_forecasts` boolean
- `city_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/panafricadata/apis/pan-africa-data-api.md) · [All operations](https://skmtc.net/panafricadata/apis/pan-africa-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/panafricadata/pan-africa-data-api/versions/3e6fe9c27d40/schema)
