Jump to the following:

Ordnance Survey logo

Discover Ordnance Survey

Site Search

OpenSpace API documentation

The OpenSpace API is the API key code base used by OS OpenSpace, OS OpenSpace Pro and OS OnDemand WMTS

Documentation

Stable version 4.0

Pilot version 4.0 documentation:

OpenSpace Javascript class library

OpenLayers 2.12 javascript library

Change Log

Version 4.0

Supported old Versions (until March 31st)

Version 1.2

Version 0.8.0

OS API version control process

From January 17th 2013 any OS API code changes will be placed in a pilot site prior to being pushed into live (stable release), so that developers can check their site.

Stable release – A stable release should be used in your live application.

If you are running a live web or mobile web application and want to guarantee stability you should always use the latest stable version by using the standard script tag.

Pilot release – The pilot API should be used only for testing your application against new things that we either introduce or remove.

We will be regularly updating the pilot API from January 2013 with new features, fixes and improvements. All API changes are regression tested, so any change should just work, but we will make the pilot API available for testing in advance of pushing code into the next stable release. If you want to receive a feed of the pilot API you will need to add ‘ite’ into the domain.

Managing user identified bugs:

Bugs will be accepted from the current version from developers via the V4 pilot forums.

To test your application use the following: For OS OpenSpace:

<script type="text/javascript"
src="http://openspace.ordnancesurveyite.co.uk/osmapapi
/openspace.js?key=your_api_key"></script>
For OS OnDemand WMTS:

<script type="text/javascript"
src="http://ondemandapi.ordnancesurveyite.co.uk/osmapapi
/openspace.js?key=your_api_key"></script>
For OS OpenSpace Pro:

<script type="text/javascript"
src="http://osopenspacepro.ordnancesurveyite.co.uk/osmapapi
/openspace.js?key=your_api_key"></script>

For general enquiries, complaints, feedback or suggestions, email: customerservices@ordnancesurvey.co.uk or call us on 08456 05 05 05