We currently offer two types of API key. The type of key you require depends on how you intend to use the API. You should pass your key to the API using the
If you are distributing software or apps that use our API, each user will need to generate their own API key. We suggest that you allow your users to enter their API key in a configuration file.
You can access/generate your personal API key on [TC] World under 'My Account': world.city-driving.co.uk/?page=myaccount
This key should be used during development and testing of your application. This key also acts as your personal access key for applications that use our API and should therefore not be used in production versions of your application.
If you are serving web pages that use our API you will need an IP restricted API key which restricts requests to a list of IP addresses. To request an API key for your website please drop us an email.
Whilst using our API you may encounter some error codes. If this happens, one of a small number of things may have occurred.
Host not allowed
Rate limited exceeded
Command not allowed