Get max capacity of registrants for meeting/webinar

I’m working on a website where we show our meetings and webinars and want to indicate to the user how many “seats” are left. From the zoom portal we can set a max number of registrants for a meeting/webinar, however, there doesn’t seem a way to get this number back from an API.