---
title: "Exchange Economy"
method: POST
path: "/quantlib/economics/equilibrium/exchange-economy"
tags: ["quantlib-economics"]
---

# Exchange Economy

`POST /quantlib/economics/equilibrium/exchange-economy`

## Request

- Base URL: `https://api.fincept.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fincept.in/quantlib/economics/equilibrium/exchange-economy`
- Auth: API key in header `X-API-Key`

Analyze a 2-consumer exchange economy (excess demand, Pareto efficiency)

## Request body

- ExchangeEconomyRequest: 2-consumer, 2-good exchange economy
  - `endowments` array[], required
    - number[]
  - `alphas` number[], required
  - `prices` number[], nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fincept/apis/fincept-api.md) · [All operations](https://skmtc.dev/fincept/apis/fincept-api/llms.txt) · [OpenAPI document](https://skmtc.dev/fincept/apis/fincept-api/revisions/e9c0076ea55a?raw)
