Is there any API that allow to get article information (in JSON or BIBREF format) using article DOI? I need: article title, authors, journal name, year of publication, volume (number), page numbers.
Is there a script written in PHP?
Is there any API that allow to get article information (in JSON or BIBREF format) using article DOI? I need: article title, authors, journal name, year of publication, volume (number), page numbers.
Is there a script written in PHP?
You are looking for https://doi2bib.org . It shouldn't be very hard to extract the actual bibtex entry from the html you get from that page.
If you want to see how it works under the hood, take a look at the sources here: https://github.com/davidagraf/doi2bib2/ .
GET
request to doi.org
and receive a bibtext reference.
For Crossref DOIs (110 million+) there's a public API - https://api.crossref.org/ that returns JSON
If it does not need to be pure PHP there is a javascript library: Citation.js https://citation.js.org/ it allows you to convert information from one format into another. Maybe it fits your specific usecase.