Shout out to all the Crossref/Datacite people in this discussion. I use your services in polite mode for discovery and don’t know what I’d do without them. If any ORCID people are in the house you get some appreciation too.
I struggle to link articles to datasets but if the solution is out there it is probably based on your work.
And have you looked at the Crossref and/or DataCite APIs?
https://api.crossref.org https://api.datacite.org