Is there a tool that can retrieve subject area listings for a journal using an API
Not an API, but still machine-readable: Scopus provides an Excel file comprising the database's coverage, including each journal's disciplines and subject areas. See this page and click on &quot;Download the Source title list&quot;.
(Elsevier provides an API, too, so it is possible that you might obtain the same information through that venue.)