---
title: "Sample Download"
method: POST
path: "/sample-download"
---

# Sample Download

`POST /sample-download`

Free sample download — Lesotho subnational data 2021-2027.
No auth required. Logs email to sample_downloads table.
Format matches full dashboard download (Namibia reference format):
- GDP / HCE columns included
- Level shown as National/City (not 0/2)
- Urban/Rural capitalised
- Legend inline at bottom of data sheet (no separate sheet)

## Request body

- SampleDownloadRequest
  - `email` string, required
  - `country` string
  - `year_from` integer
  - `year_to` integer

## 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)
