Upvote:3
For historical background information on the Bible canon, please refer to this article: https://www.gotquestions.org/canon-Bible.html It explains how by A.D. 250 there was nearly universal agreement on the canon of Hebrew Scripture (Old Testament). Jewish rabbis and scholars had agreed upon the authenticity and acceptance of the writings of the prophets before Jesus was born. Jesus himself read from accepted Scripture such as from the scroll of the prophet Isaiah and constantly referred to the writings of Moses (the Law.) With regard to the Greek Scriptures the article says this:
The first “canon” was the Muratorian Canon, which was compiled in AD 170. The Muratorian Canon included all of the New Testament books except Hebrews, James, 1 and 2 Peter, and 3 John. In AD 363, the Council of Laodicea stated that only the Old Testament (along with one book of the Apocrypha) and 26 books of the New Testament (everything but Revelation) were canonical and to be read in the churches. The Council of Hippo (AD 393) and the Council of Carthage (AD 397) also affirmed the same 27 books as authoritative. https://www.gotquestions.org/Muratorian-Canon.html
This article https://www.gotquestions.org/Bible-authors.html gives the names of all the authors of the books of the Bible (Old and New Testaments) and the approximate dates when they were written as agreed upon by Protestants.
As others have pointed out, the Catholic Bible canon has more books than the Protestant Bible canon. These books (collectively referred to as the Apocrypha / Deuterocanonicals) were officially added to their Bible at the Council of Trent in the mid-1500s A.D., primarily in response to the Protestant Reformation. Here are the relevant books:
Roman Catholic Bibles have several more books in the Old Testament than Protestant Bibles. These books are referred to as the Apocrypha or Deuterocanonical books. The word apocrypha means “hidden,” while the word deuterocanonical means “second canon.” The Apocrypha/Deuterocanonicals were written primarily in the time between the Old and New Testaments. The books of the Apocrypha include 1 Esdras, 2 Esdras, Tobit, Judith, Wisdom of Solomon, Ecclesiasticus, Baruch, the Letter of Jeremiah, Prayer of Manasseh, 1 Maccabees, and 2 Maccabees, as well as additions to the books of Esther and Daniel. Not all of these books are included in Catholic Bibles. https://www.gotquestions.org/apocrypha-deuterocanonical.html
I hope this information helps to answer your question as to which books of the Bible (Old and New Testaments) are accepted by Protestants, and which books are accepted by Catholics.