Get the historic circulated suppy

I’m looking for the historic circulated supply of Bitcoin.

Does anyone know of an API to get it.