---
title: "Retrieve the bounding box of an infra."
method: GET
path: "/infra/{infra_id}/bbox"
tags: ["infra"]
---

# Retrieve the bounding box of an infra.

`GET /infra/{infra_id}/bbox`

## Request

- Base URL: `https://demo.osrd.fr/api`
- URL: `https://demo.osrd.fr/api/infra/{infra_id}/bbox`
- Auth: none declared

## Path parameters

- `infra_id` integer, required

## Response `200`

The bbox of the infra if it contains tracks

- BoundingBox: A bounding box
  - `max_lat` number, double, required
  - `max_lon` number, double, required
  - `min_lat` number, double, required
  - `min_lon` number, double, required

## Other responses

- `404`: Infra ID not found

## Changes

- **2026-08-07** `e2b32620136e`: 1 info
  - endpoint added
- **2026-08-03** `dff80f0a6343`: 1 breaking
  - api path removed without deprecation
- **2026-07-31** `f50835ffc9de`: 1 info
  - endpoint added
- **2026-06-29** `9153ef0cc720`: 1 breaking
  - api path removed without deprecation
- **2026-06-29** `42420aaf2312`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/openrailassociation/apis/osrd-editoast/changes/infra/:infra_id/bbox/get.md)

---

[API](https://skmtc.dev/openrailassociation/apis/osrd-editoast.md) - [All operations](https://skmtc.dev/openrailassociation/apis/osrd-editoast/llms.txt) - [OpenAPI document](https://skmtc.dev/openrailassociation/apis/osrd-editoast/revisions/7c72c5e1bc0e?raw)
