# swisstopo Layers API

**Canonical:** https://apis.io/apis/swisstopo/swisstopo-layers-api/  
**Provider:** swisstopo — https://apis.io/providers/swisstopo/  
**Base URL:** https://webmap-api.swissgeol.ch  
**Documentation:** https://www.swisstopo.admin.ch/en/developer-portal

swisstopo Layers API is one of 4 APIs that [swisstopo](https://apis.io/providers/swisstopo/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. Tagged areas include Layers. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

Endpoints to list layers and their filters

## Operations (4)

| Method | Path | Summary |
|---|---|---|
| GET | `/layers` | Get list of filterable layers for a WebMap |
| GET | `/layers/{layerId}/filters` | Get enabled filters for a specific layer |
| GET | `/layers/{layerId}/defaultFilters` | Get default filters for a layer and a vocabulary term |
| GET | `/layers/{layerId}/attributeList` | Get available attributes for filter by attribute on a specific layer |

## Machine-readable artifacts (8)

- **OpenAPI** — https://artifacts.apis.io/swisstopo/openapi/swisstopo-layers-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/swisstopo/json-schema/swisstopo-wms-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/swisstopo/json-schema/swisstopo-wms-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/swisstopo/json-schema/swisstopo-default-filters-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/swisstopo/json-schema/swisstopo-wmts-response-schema.json
- **JSONSchema** — https://artifacts.apis.io/swisstopo/json-schema/swisstopo-inline-response-200-1-schema.json
- **JSONSchema** — https://artifacts.apis.io/swisstopo/json-schema/swisstopo-inline-response-200-schema.json
- **APIsJSON** — https://artifacts.apis.io/swisstopo/apis.yml

## Other swisstopo APIs (3)

- [swisstopo Vocabularies API](https://apis.io/apis/swisstopo/swisstopo-vocabularies-api/)
- [swisstopo WMS API](https://apis.io/apis/swisstopo/swisstopo-wms-api/)
- [swisstopo WMTS API](https://apis.io/apis/swisstopo/swisstopo-wmts-api/)

## Tags

Layers

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/swisstopo/swisstopo-layers-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/swisstopo/.
