Time records don't have to be scraped from the site or retrieved from APIs (what APIs btw? Isn't it all scraping?). When the search engine crawls a new page, or notices an update to a previously crawled page, as long as you're crawling thoroughly, those dates can be pretty accurate.