Can’t you just receive the JSOn and copy it to a folder localy to be able with a cron to later work on it.
If the answer is yes, can you provide a quick exemple of code? :)