LogoLogo
OS Docs HomeOS NGDOS APIsOS Download ProductsMore than MapsOS Data Hub
  • Introduction to OS APIs
  • Core Concepts
    • Getting started with an API project
    • Authentication
    • Error codes
    • Rate-limiting policy
    • OS API branding
    • Service level agreements
    • Service availability dashboard
  • Accessing OS APIs
    • OS Maps API
      • Layers and styles
      • Getting started
        • ESRI ArcGIS Online
        • ESRI ArcGIS Pro
        • ESRI ArcMap
        • Cadcorp SIS
        • MapInfo Pro
        • QGIS
      • Technical specification
        • ZXY
        • WMTS
      • Code examples
    • OS Vector Tile API
      • What data is available?
      • Getting started
        • ESRI ArcGIS Pro
        • Cadcorp SIS
        • QGIS
        • Create a web application using the OS Vector Tile API
      • Technical specification
        • Service Metadata
        • Stylesheet
        • Tile request
      • Code examples
      • Stylesheets
    • OS NGD API – Tiles
    • OS NGD API – Features
    • OS Features API
      • OS Product Archive
      • What data is available?
      • Getting started
        • ArcGIS Online
        • ArcGIS Pro
        • ArcMap
        • Cadcorp SIS
        • MapInfo Pro
        • QGIS
      • Technical specification
        • getCapabilities
        • describeFeatureType
        • getFeature
        • Filtering
        • Paging
        • Empty values
      • Code examples
    • OS Names API
      • Getting started with example queries using Node.js
      • Technical specification
        • Find
        • Nearest
      • Code list
      • Code examples
    • OS Linked Identifiers API
      • What data is available?
      • Getting started with implementing a look-up application
      • Technical specification
        • Identifier
        • Identifier Types
        • Feature Types
        • Product Version Information
      • Code examples
    • OS Places API
      • Getting started with example queries using Node.js
      • Technical specification
        • Find
        • Postcode
        • UPRN
        • Nearest
        • BBOX
        • Radius
        • Polygon
      • Datasets
      • Code lists
      • Code examples
    • OS Match & Cleanse API
      • End of Life Information
      • Getting started with an example match query using Node.js
      • Technical specification
      • Datasets
      • Code lists
    • OS Downloads API
      • Getting started
        • Automating OS OpenData downloads
        • Automating OS Premium data downloads
      • Technical specification
        • OpenData products
        • OpenData product details
        • Download an OpenData product
        • OpenData product image
        • Data packages
        • Data package ID
        • Data package version
        • Data package version ID
        • Download a data package
    • OAuth 2 API
      • Getting started
      • Technical specification
  • Additional resources
    • OS API Wrappers
      • JavaScript
      • Python
      • R
  • Extra Links
    • Accessibility
    • Contact us
    • PSGA Product Summary
    • Terms and conditions
Powered by GitBook
On this page

Was this helpful?

  1. Accessing OS APIs
  2. OS Maps API
  3. Technical specification

WMTS

PreviousZXYNextOS Vector Tile API

Last updated 26 days ago

Was this helpful?

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

Access and download data for a specific tile

get
Authorizations
Query parameters
layerstring · enumRequired

The tile set layer that will be requested.

Possible values:
tileMatrixSetstring · enumRequired

The identifier of the tile matrix set.

Possible values:
tileMatrixstringRequired

The identifier of the tile matrix within the specified tile matrix set.

tileRowintegerRequired

The row index of the tile.

tileColintegerRequired

The column index of the tile.

servicestring · enumRequired

The service that is being accessed.

Possible values:
requeststring · enumRequired

The type of request being made. If a GetCapabilities request is being made, the other parameters are not required other than authentication.

Possible values:
stylestring · enumRequired

Taken from the Identifier of the chosen Layer's Style property

Possible values:
versionstring · enumOptional

The version number of the service.

Possible values:
heightintegerOptional

The Height of the tile.

widthintegerOptional

The Width of the tile.

outputformatstring · enumOptional

The format of the returned tile.

Possible values:
Responses
200
Tile image retrieved successfully
image/png
ServiceMetadata
Retrieves Service Metadata for OS Maps API when request parameter is 'GetCapabilities'
application/json
get
GET /maps/raster/v1/wmts HTTP/1.1
Host: api.os.uk
Accept: */*

No content

  • GETAccess and download data for a specific tile
  • Example Request