The British Library , by the law of the United Kingdom , receives copies of every book that is published in the United Kingdom and the Republic of Ireland , including all foreign books that are sold in the UK . As a legal deposit library , the British Library receives copies of all books produced in the United Kingdom and the Republic of Ireland , including a significant proportion of overseas titles distributed in the UK .