I’m not completely sure there was an API from the start. I’ve thought the only way is to get a DB dump (which sounds pretty reasonable to me).