LDBWS and LDBSVWS limits

45 views
Skip to first unread message

Jignesh Vaducha

unread,
Oct 7, 2019, 12:13:48 PM10/7/19
to A gathering place for the Open Rail Data community
Dear All,

Are there any limits on using the LDBWS and LDBSVWS?  (I want to get live departure boards information for all stations every 5 minutes)

Thanks.
Jignesh

Peter Hicks

unread,
Oct 7, 2019, 12:18:37 PM10/7/19
to Jignesh Vaducha, A gathering place for the Open Rail Data community
Hi Jignesh

Yes, there are limits - and this is a really inefficient way to go about what you're trying to achieve.  2500 stations in five minutes is 500 a minute, or nearly 9 requests a second.  It'll equate to 720,000 requests a day.

Have you considered using the Push Port and building your own database?  What is it that you're actually trying to do?


Peter

--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openraildata-t...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openraildata-talk/8f9bfb89-236c-4537-8592-345777e98013%40googlegroups.com.


OpenTrainTimes Ltd. registered in England and Wales, company no. 09504022.
Registered office: 13a Davenant Road, Upper Holloway, London N19 3NW

Benjamin Maynard

unread,
Oct 7, 2019, 12:20:21 PM10/7/19
to A gathering place for the Open Rail Data community
Hey, there are limits but they’re way higher than your use case. 5000/req per hour or 5 million per 4 week railway period. See https://www.nationalrail.co.uk/static/documents/Usage_Charging_Document.pdf

Also - if you’re developing a solution to use the data can I shamelessly plug https://api.departureboard.io that provides a restful interface on top of the National Rail API!

Also some simple python code samples: https://github.com/benjamin-maynard/departureboard-io-api-code-examples

Ben

Benjamin Maynard

unread,
Oct 7, 2019, 12:21:43 PM10/7/19
to A gathering place for the Open Rail Data community
Just read all stations every 5 mins! That’s a lot of requests, you will hit the usage limits. Still welcome to use the departureboard.io API though, we can easily handle that sort of traffic.

Jignesh Vaducha

unread,
Oct 7, 2019, 12:39:56 PM10/7/19
to A gathering place for the Open Rail Data community
Thanks Peter! My aim to get 'disruption/lateness' notification(s) at each train station. The push port sends a lot of data which I don't at this stage so was thinking about using the live departure boards information to get what I need. Based the how you have calculated the numbers below and the limits, this option is ruled out. 

If I just want to get real-time disruption information (no schedule or time table, no historical information), what is the best option?

On Monday, 7 October 2019 17:18:37 UTC+1, Peter Hicks wrote:
Hi Jignesh

Yes, there are limits - and this is a really inefficient way to go about what you're trying to achieve.  2500 stations in five minutes is 500 a minute, or nearly 9 requests a second.  It'll equate to 720,000 requests a day.

Have you considered using the Push Port and building your own database?  What is it that you're actually trying to do?


Peter

On Mon, 7 Oct 2019 at 17:13, Jignesh Vaducha <jignesh...@gmail.com> wrote:
Dear All,

Are there any limits on using the LDBWS and LDBSVWS?  (I want to get live departure boards information for all stations every 5 minutes)

Thanks.
Jignesh

--
You received this message because you are subscribed to the Google Groups "A gathering place for the Open Rail Data community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrail...@googlegroups.com.

Jignesh Vaducha

unread,
Oct 7, 2019, 12:41:26 PM10/7/19
to A gathering place for the Open Rail Data community
Thanks, Benjamin ! I will check out  departureboard.io.
Reply all
Reply to author
Forward
0 new messages