---
title: "Find bounding rectangle"
method: POST
path: "/{country}/{version}/{level}/mbr"
tags: ["Regions"]
---

# Find bounding rectangle

`POST /{country}/{version}/{level}/mbr`

Find the minimum bounding rectangle of a set of regions.

## Path parameters

- `country` string, required
- `version` string, required
- `level` string, required

## Query parameters

- `allow_crossing_dateline` string

## Request body

- object
  - `codes` union[], required
    - union
      - string
      - integer

## Response `200`

OK

- object — The minimum bounding rectangle of the passed regions.
  - `mbr` object, nullable, required — A rectangle defined by the coordinates of its bottom left and top right corners.
    - `bottomLeft` object, required — A lat/lon point.
      - `lat` number, required
      - `lon` number, required
    - `topRight` object, required — A lat/lon point.
      - `lat` number, required
      - `lon` number, required

## Other responses

- `400` — bad request
- `404` — requested resource not found

---

[API](https://skmtc.net/lightcast/apis/alumni-pathways-2-0.md) · [All operations](https://skmtc.net/lightcast/apis/alumni-pathways-2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lightcast/alumni-pathways-2-0/revisions/fc66b9877391/schema)
