Hi Sanjit,
I run
raildotmatrix.co.uk which uses the LDBWS API to retrieve live data for various HTML/JS-based departure boards, as well as
railannouncements.co.uk which combines this with FOI-released audio recordings to announce train departures in real time alongside a departure board.
To make my life easier, my requests get proxied through a self-hosted Huxley2 instance which essentially transforms the XML into usable JSON data instead, more suited to a web frontend.
Hits to the Huxley2 instance are actually done
via a Cloudflare Worker which automatically embeds details of associated services so that splits can be rendered correctly (subject to frontend bugs). This worker also performs some caching of data so that I don't re-request every service every time data is loaded on the website (as I was going to go
well beyond the free usage limits!).
Across my two websites which use the LDBWS API, I make approximately 576k requests per week, which is putting me close to about half of the API's free usage limits. I'm not too close to be worried about that one, but I have exceeded the 5000 req/hr usage cap a few times (which can be seen on the charts below) and I haven't been rate limited or restricted from the API (yet). I wouldn't worry about the API limits, as Peter says.
Amusingly, I've not been able to access the LDBWS API dashboard for the last 3 years despite my token being active. My user for the website appears to have been deleted at some point and I haven't needed to make a new one.
On Monday 20 May 2024 at 05:22:14 UTC+1 Sanjit Raman wrote: