I am looking for a source of free historical fundamental data on stocks. Preferably retrievable through an API. Anyone know of such a source? I know Yahoo has an API interface that one can use to retrieve fundamental data, but don't know about history.