---
title: "Generate banded topographic contours"
method: GET
path: "/contours"
tags: ["terrain"]
---

# Generate banded topographic contours

`GET /contours`

## Request

- Base URL: `https://api.mapsource.io`
- URL: `https://api.mapsource.io/contours`
- Auth: HTTP bearer

Vector contour bands with elevations, index flags and along-band label paths.

When to use: Display elevation contours or analyze terrain relief around a coordinate.

## Query parameters

- `lat` number, required
- `lon` number, required
- `zoom` integer
- `bands` integer

## Response `200`

Generate banded topographic contours

- object
  - `paths` unknown[]
    - unknown
  - `bounds` object
  - `width` integer
  - `height` integer

## Other responses

- `400`: Error with a stable machine code.
- `401`: Error with a stable machine code.
- `429`: Error with a stable machine code.
- `500`: Error with a stable machine code.

---

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