The authoritative database maintained by GSMA is named GSMA Device Database and is only made available to partners. However, there are many public alternatives, though they will not be fully up to date.
The Osmocom project maintains a crowdsourced TAC database, which is CC-BY-SA v3.0 licensed and fully downloadable.
Some OEMs publish TAC data for their products:
In New Zealand with the rollout of the government subsidized rural broadband initiative a way was required to prevent users inserting the rural broadband SIM cards in an unauthorized devices to get subsidized data rates.
The use of a TAC lock by the use of a customized SIM card with embedded TAC codes was devised. Several Type allocation codes can be stored in the SIM cards of the device to allow a group of provider-supplied Huawei branded 4G modems and block the use of unauthorized and third-party devices on the network.
A company wishing to resell Vodafone RBI is required to supply a device for the approval process and certification, and to supply One NZ with the TAC details of this device to embed into the SIM cards at the point of manufacture. A minimum order of 500 SIM cards is required.