---
title: "Ondemand Price Subnational"
method: POST
path: "/ondemand/price-subnational"
---

# Ondemand Price Subnational

`POST /ondemand/price-subnational`

## Request

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

Exact price of a sub-national order (income layers and/or age bands), as checkout would charge it.
Read-only.

## Request body

- SubnationalOnDemandQuoteRequest
  - `countries` string[], required
  - `year_from` integer
  - `year_to` integer
  - `layers` string[], nullable
  - `admin_levels` integer[], nullable
  - `income_classes` string[], nullable
  - `currency` string, nullable
  - `currencies` string[], nullable
  - `age_levels` string[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-31** `522087b83249`: 3 info
  - added the new optional request property `currencies`
  - the `currency` request property default value `usd` was removed
  - request property `currency` list-of-types was widened by adding types `null` to media type `application/json`
- **2026-10-25** `05c7ed0515f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/panafricadata/apis/pan-africa-data-api/changes/ondemand/price-subnational/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)
