API data storage

Well done, thanks for this.