WMTS
API test authentication
The Open API block allows you to test OS APIs directly from the page with example data and parameters. To use this feature, you will need to add your API Key or OAuth2 token to the authentication field.
For help generating an API Key or OAuth2 token, please see the Getting started with an API project or OAuth2 documentation.
The tile set layer that will be requested.
The identifier of the tile matrix set.
The identifier of the tile matrix within the specified tile matrix set.
The row index of the tile.
The column index of the tile.
The service that is being accessed.
The type of request being made. If a GetCapabilities request is being made, the other parameters are not required other than authentication.
Taken from the Identifier of the chosen Layer's Style property
The version number of the service.
The Height of the tile.
The Width of the tile.
The format of the returned tile.
Tile image retrieved successfully
Retrieves Service Metadata for OS Maps API when request parameter is 'GetCapabilities'
GET /maps/raster/v1/wmts HTTP/1.1
Host: api.os.uk
Accept: */*
No content
Example Request
https://api.os.uk/maps/raster/v1/wmts?service=WMTS&request=GetTile&version=2.0.0&style=default&layer=Outdoor_27700&tileMatrixSet=EPSG:27700&tileMatrix=7&tileRow=489&tileCol=323&key=INSERT_API_KEY
Last updated
Was this helpful?