Last week, I gave a brief overview of what’s in the API, and said that if something is on our website then it should be in our API. Over the next couple of weeks we are going to take a look at some of the data in the API that you can use to build your own applications.
There are a few things to note before I begin going into specific data examples. Firstly, all of the API examples in this page are live, however they do not include API authentication tokens. This means that if you follow the link as is, you will be using anonymous access, and anonymous access is throttled for fair use, so you may get a 403 response.
It is recommended for your own development you obtain an “app_key” and “app_id” by registering here. Access to our API is free to all. Append you unique “app_id” and “app_key” as querystring parameters to get dedicated, higher rate limits than anonymous. If you need even high rate limits, send us a message using the portal. The data in these examples will be in JSON format, and it is recommended that you install a JSON formatter plugin in your browser, this will help you read the data returned.
This week we will focus on the “Location of Things”, in particular finding the location and other useful information about transport related things in London. Let’s start with stations and stops – you’ll need to take a look at this web page: