---
title: "WMS entrypoint (GetCapabilities, GetMap, GetFeatureInfo)"
method: GET
path: "/v1/spatial/wms"
tags: ["Spatial Maps API"]
---

# WMS entrypoint (GetCapabilities, GetMap, GetFeatureInfo)

`GET /v1/spatial/wms`

## Request

- Base URL: `https://api.cloud.precisely.com`
- URL: `https://api.cloud.precisely.com/v1/spatial/wms`
- Auth: one of:
  - HTTP bearer
  - API key in header `Authorization`

Handles all WMS requests based on the REQUEST parameter. Dynamic styling via SLD_BODY is supported only on POST requests.

**GetCapabilities Example:**
- SERVICE=WMS
- REQUEST=GetCapabilities
- VERSION=1.3.0

**GetMap Example:**
- SERVICE=WMS
- REQUEST=GetMap
- VERSION=1.3.0
- LAYERS=LayerName
- STYLES=
- CRS=EPSG:4326
- BBOX=-100,0,90,100
- WIDTH=400
- HEIGHT=300
- FORMAT=image/png

**GetFeatureInfo Example:**
- SERVICE=WMS
- REQUEST=GetFeatureInfo
- VERSION=1.3.0
- LAYERS=LayerName
- QUERY_LAYERS=LayerName
- CRS=EPSG:4326
- BBOX=-100,0,90,100
- WIDTH=400
- HEIGHT=300
- I=200
- J=150
- INFO_FORMAT=text/xml

**Authorization:** Requires a valid Bearer JWT or API key (see security schemes below). Unlike the Mapping API's named-resource endpoints, WMS does not perform a per-layer EXECUTE-permission check — layer availability is governed by the WMS layer configuration rather than per-caller ACLs.

## Query parameters

- `REQUEST` string, required
- `SERVICE` string, required
- `VERSION` string
- `LAYERS` string
- `STYLES` string
- `SRS` string
- `CRS` string
- `BBOX` string
- `WIDTH` integer
- `HEIGHT` integer
- `FORMAT` string
- `QUERY_LAYERS` string
- `INFO_FORMAT` string
- `I` integer
- `J` integer
- `X` integer
- `Y` integer
- `TRANSPARENT` string
- `BGCOLOR` string
- `EXCEPTIONS` string

## Headers

- `X-Request-Id` string

## Response `200`

WMS response returned successfully

## Other responses

- `400`: Invalid request parameters
- `500`: Internal server error

---

[API](https://skmtc.dev/precisely/apis/mapping-api.md) · [All operations](https://skmtc.dev/precisely/apis/mapping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/precisely/apis/mapping-api/revisions/cea0ad9440c5?raw)
