Getting ORCIDs by DOI
For biomedical publications it is possible to do using Europe PMC API (I work for this database). You can query the database using the DOI like this and extract (authorId type="ORCID") field. Here is the same query using JSON is you prefer.