Service Metadata
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.
Authorizations
Query parameters
srsstring · enumOptionalDefault:
The Spatial Reference System for the service.
27700
Possible values: Responses
200
Retrieves Service Metadata for OS Vector Tiles API
application/json
get
GET /maps/vector/v1/vts HTTP/1.1
Host: api.os.uk
Accept: */*
200
Retrieves Service Metadata for OS Vector Tiles API
{
"currentVersion": 1,
"name": "text",
"capabilities": "text",
"type": "text",
"defaultStyles": "text",
"tiles": [
"text"
],
"exportTilesAllowed": true,
"initialExtent": {
"xmin": 1,
"ymin": 1,
"xmax": 1,
"ymax": 1,
"spatialReference": {
"wkid": 1,
"latestWkid": 1
}
},
"fullExtent": {
"xmin": 1,
"ymin": 1,
"xmax": 1,
"ymax": 1,
"spatialReference": {
"wkid": 1,
"latestWkid": 1
}
},
"minScale": 1,
"maxScale": 1,
"tileInfo": {
"rows": 1,
"cols": 1,
"dpi": 1,
"format": "text",
"origin": {
"x": 1,
"y": 1
},
"spatialReference": {
"xmin": 1,
"ymin": 1,
"xmax": 1,
"ymax": 1,
"spatialReference": {
"wkid": 1,
"latestWkid": 1
}
},
"lods": [
{
"level": 1,
"resolution": 1,
"scale": 1
}
]
},
"maxzoom": 1,
"minLOD": 1,
"maxLOD": 1,
"resourceInfo": {
"styleVersion": 1,
"tileCompression": "text",
"cacheInfo": {
"storageInfo": {
"packetSize": 1,
"storageFormat": "text"
}
}
},
"serviceItemId": "text",
"maxExportTilesCount": 1
}
Last updated
Was this helpful?