my old api key is still working firebase database code example
Example: how to get the API KEY of my firebase project
You can open the project in the firebase, then you should click on the project settings, then goto project settings you will see the web API Key there