---
title: "Aggregate boundaries for all areas with coverage"
method: GET
path: "/aggregate/boundaries.{fileFormat}"
tags: ["coverage boundaries"]
---

# Aggregate boundaries for all areas with coverage

`GET /aggregate/boundaries.{fileFormat}`

## Request

- Base URL: `https://api.nearmap.com/coverage/v2`
- URL: `https://api.nearmap.com/coverage/v2/aggregate/boundaries.{fileFormat}`
- Auth: one of:
  - API key in query parameter `apikey`
  - API key in header `Authorization`

Returns the aggregate boundaries per category for all areas where there is coverage.
Category types to return can be specified as a query parameter

## Path parameters

- `fileFormat` 'geojson', required

## Query parameters

- `types` string

## Response `200`

Category types with boundaries as specified

- AggregateResourceFeatureCollection: Contents as GeoJSON FeatureCollection
  - `type` 'FeatureCollection'
  - `features` AggregateResourceFeature[]: List of resources
    - `type` 'Feature'
    - `geometry` Geometry
      - `type` 'MultiPolygon': GeoJSON geometry object
      - `coordinates` array[]
        - array[]
          - Point[]
            - number[]: Point in 2D space
    - `properties` object
      - `type` 'Vertical' | 'Panorama' | 'Terrain' | 'TrueOrtho' | 'NIR' | 'Oblique' | '3D' | 'Predictions': Type of the survey resource

## Other responses

- `400`: On bad input parameter

---

[API](https://skmtc.dev/nearmap/apis/coverage.md) - [All operations](https://skmtc.dev/nearmap/apis/coverage/llms.txt) - [OpenAPI document](https://skmtc.dev/nearmap/apis/coverage/revisions/82449937f4df?raw)
