Skip to main content
A backtest must see only what could be known on the trade date. A reporter must show what a statement said before it was edited. A lawyer needs the terms as they were on the day a customer signed. Each needs a page as it was, not as it is. Send the day as as_of_date, and the fetch reads the page from an archive’s copy of that time.

Fetch the page as of a day

Replace SOURCE_URL with the address of the page. The copy that comes back is the latest one made on or before the end of that day, in UTC. The record is like any other: the main content with its structure, sections, blocks, and a fingerprint.

Read which copy came back

The response says where the copy is from and when it was made. This one is cut to those fields.
201 Created
captured_at is the moment the archive made the copy. Here the day asked for was 2026-10-01 and the copy is from 2026-09-02, so the page might have changed in between without a copy. A date that the page prints about itself is a claim of the page. The time of the copy is what was observed. A copy later on the same day can come back. If you need the page before an event of that day, ask for the day before.

Step forward copy by copy

next_capture_at is the time of the next copy after this one. Fetch that day, and the next, to walk through the page’s past. To find the day a sentence appeared or went, compare 2 copies. Both are records, so compare_contents returns what changed between them, block by block. For the request, see Find the one cell that changed.

Read many pages as of their own days

In a batch each address can have its own as_of_date. A backtest over 20 pages and 20 trade dates is one call.
Part of a request to fetch_contents_batch

Search as of a day

search takes as_of_date too. A datasource that has its past searches as it was at the end of that day, and each result that the search fetches is read from an archive’s copy. The catalog says for each datasource whether it has its past, in history.

Know what a past day cannot give

An archive has only the copies it made. If there is no copy on or before the day, the record’s outcome is failed with the reason no_history, and source.archives_consulted names the archives that were asked. Nothing is guessed in its place. The copy is the page as the archive served it. Its links point into the archive. The country and the language of the visit cannot be chosen for a copy, and no picture of the page is made.