There are various different ways of getting a list of passenger services, but for your purposes probably the easiest is to download the Darwin timetable file from the NRDP (which you presumably have access to as you mention HSP API) as this will give you the passenger services expected to run for today and tomorrow (including their RIDs).
As an aside, for anyone who's interested, Darwin RIDs are related to the train UID and SSD from the schedule. So if a schedule has a UID of W12345 and an SSD of 10-06-2017 then the RID will be constructed from the SSD in format YYYYMMDD plus the ASCII code for the UID initial letter (in this case 87 for 'W') plus the rest of the UID. So:
W12345 on 10-06-2017
becomes
201706108712345
therefore if you know the UID and SSD for any schedule you can derive the RID (or vice versa) without having to do any lookups.
This was a change made a few months back, for reasons related to testing, so holds true for schedules since 01/09/2016.