We have our Terminology Service API using HL7 FHIR, however, pulling specialty data like this can be problematic.
Instead, I suggest you try our Search API. We are still piloting it but you can use this exact same query there to programmatically pull these results. See this post for more information. We ask that you report back whether or not this fills your needs and your general experience using this API.