---
title: "Dashboard Download Age"
method: POST
path: "/api/dashboard/download-age"
---

# Dashboard Download Age

`POST /api/dashboard/download-age`

## Request

- Base URL: `https://panafricadata.com` (the document declares no server; this is the origin it was published from)
- URL: `https://panafricadata.com/api/dashboard/download-age`
- Auth: none declared
- TypeScript: <https://skmtc.dev/panafricadata/apis/pan-africa-data-api/docs/api/dashboard/download-age/post.ts> (a function with typed inputs; its response is checked against the schema)

Age bands download (v1.3.1, Arshad 23-24 Oct 2026): a separate "Age bands" spreadsheet (Excel + CSV) per
country, the same format and legend as the on-demand file, emailed like the income download. One cell = one
age band for one place in one year, $0.25, from the monthly allowance (same check, 429 and deduction as the
income download). Years are clamped to the age-band series (2015-2035).

## Cookies

- `pad_session` string

## Request body

- AgeDownloadRequest
  - `country_codes` string[], required
  - `year_from` integer, nullable
  - `year_to` integer, nullable
  - `levels` string[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-25** `05c7ed0515f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/panafricadata/apis/pan-africa-data-api/changes/api/dashboard/download-age/post.md)

---

[API](https://skmtc.dev/panafricadata/apis/pan-africa-data-api.md) - [All operations](https://skmtc.dev/panafricadata/apis/pan-africa-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/panafricadata/apis/pan-africa-data-api/revisions/1803a1857b20?raw)
