return a UNIX timestamp in prices API