Not sure off the top of my head but it's possible that crossref DOI lookup has an API you can use for this.
https://openapc.github.io/general/openapc/2018/01/29/doi-rev...
https://openapc.github.io/general/openapc/2018/01/29/doi-rev...
It seems to me that Crossref can give you the DOI, and once you've got that then getting to article text is pretty trivial. I must be missing something.