Last updated: November 26, 2026
Perplexity Time Machine is a new snapshot_as_of setting for the Perplexity Search API and Context API. It returns results and page text from copies Perplexity saved at or before a past time, up to 365 days back, so you can test agents or backtest forecasts on what was knowable then.
Contents
- What Time Machine does
- What changed
- How to search as of a past time
- Read full pages at the same time
- Time Machine in the Agent API
- Rules and errors
- Limits, pricing and availability
- Time Machine compared with date filters
- Workflows
- Limitations
- Frequently asked questions
What Time Machine does
Each time Perplexity reads a page for its web index, it saves a copy along with the time it was saved. A search with snapshot_as_of uses those copies: it looks only at pages published by the cutoff, compares the cutoff with the time a copy was saved rather than a date shown on the page, and builds each result from the latest copy saved at or before the cutoff (Time Machine docs).
The response has the same format as a normal search, except that last_updated is left out (Time Machine docs).
What changed
The November 2026 Perplexity API changelog lists three related changes (Perplexity API changelog):
- The Search API (
POST /search) and the Context API (POST /v1/context) acceptsnapshot_as_of, a cutoff up to 365 days in the past. - The Agent API
web_searchandfetch_urltools acceptsnapshot_as_ofinfilters. - The Python library
perplexityai0.50.0 and the TypeScript SDK@perplexity-ai/perplexity_ai0.45.0 accept adatetimeand aDatefor the value.
How to search as of a past time
These steps follow the official Time Machine page (Time Machine docs):
- Install
perplexityai0.50.0 or later for Python, or@perplexity-ai/perplexity_ai0.45.0 or later for TypeScript, and setPERPLEXITY_API_KEY. - Pick a cutoff in the last 365 days, with a time zone, such as
2026-11-01T00:00:00Z. In Python, use a time zone awaredatetime, for exampledatetime.now(timezone.utc) - timedelta(days=30). - Call
client.search.create(query="latest stable Python release", snapshot_as_of=snapshot_as_of, max_results=5). - Optionally add
search_domain_filter, such as["python.org"], orsearch_language_filter. - Read
title,snippet,dateandurlfrom each result. - Expect fewer results than
max_results, or none, because pages that cannot be shown as of the cutoff are left out.
Read full pages at the same time
A search result holds a snippet, not the whole page. To read the pages a search found, send their URLs to the Context API with the same snapshot_as_of, so both steps use one cutoff. Call it only when the search returned results, and keep results whose status.type is ok (Time Machine docs).
With snapshot_as_of, the Context API never fetches live, so metadata.origin is cached and metadata.fetched_at is absent. A URL returns no_content when it has no copy from that time, returned 404 or 410 then, or the stored copy is not a readable page. Stored copies keep text but not HTML or links, so you can request markdown, highlights and criteria, but asking for html or links returns an error (Context API formats and freshness). For the rest of the Context API, see our Perplexity Context API guide to pricing, freshness and criteria.
Time Machine in the Agent API
In the Agent API, set snapshot_as_of in the filters of the web_search and fetch_url tools (Time Machine docs), for example {"type": "web_search", "filters": {"snapshot_as_of": "2026-11-01T00:00:00Z"}}. Our Perplexity Agent API guide to effort levels and tool approvals covers the rest of the Agent API.
Rules and errors
The Time Machine page lists these rules; a request that breaks one returns HTTP 400 with "type": "invalid_request" (Time Machine docs):
| Rule | Error message |
|---|---|
| Must be RFC 3339 with a time zone | snapshot_as_of must be an RFC 3339 timestamp with a timezone |
| Not in the future | snapshot_as_of must not be in the future |
| Not more than 365 days ago | snapshot_as_of must not be older than 365 days |
| Not with People Search | snapshot_as_of requires web or fast search |
| Not with recency or date filters | snapshot_as_of cannot be combined with recency, publication date, or last updated filters |
Limits, pricing and availability
Time Machine requests do not use the normal Search API and Context API limits. On Tier 0, each API allows 1 Time Machine request per second. On Tiers 1 to 5, each allows 50 requests in total; this is a total, not a rate. Over the limit, requests fail with 429 and request_rate_limit_exceeded, and the x-ratelimit-remaining header shows what is left (Rate limits and usage tiers). To raise the limit, contact Perplexity sales (Time Machine docs).
The pricing page lists no separate Time Machine rate. The Search API costs $5.00 per 1,000 successful requests (billed per request, even with no results). The Context API costs $1.00 per 1,000 URLs returned with status ok or not_modified; criteria scoring tokens bill as Decisions API input tokens (Perplexity API pricing). Our Perplexity Decisions API guide explains that billing. To track pages going forward rather than backward, see our Perplexity Monitor API guide to search monitors and page diffs.
Time Machine compared with date filters
| Feature | What it filters on | Content returned |
|---|---|---|
snapshot_as_of (Time Machine) |
Time Perplexity saved its copy of the page | Saved copy as of the cutoff; last_updated omitted |
| Publication date filters | Date the page was published | Current results |
| Last updated filters | Date the page was last updated | Current results |
Context API max_age_seconds |
How old a stored copy may be | Stored copy or live fetch |
The date filters narrow which current pages appear; Time Machine changes what the web looked like to the search (Time Machine docs). In the Context API, max_age_seconds defaults to two days and allows copies up to two years old, but it still returns the latest copy or a live fetch, not a copy from a chosen date (Context API formats and freshness).
Workflows
- Agent evaluation: set the cutoff before an event and check whether an agent reaches the known answer without seeing later pages (Time Machine docs).
- Forecast backtesting: run the same search at several past cutoffs to see what was knowable at each.
Limitations
- Only 50 requests per API in total on Tiers 1 to 5.
- Coverage depends on what Perplexity saved; pages without a copy are dropped or return
no_content. - Nothing older than 365 days.
- No HTML or links from stored copies.
Frequently asked questions
What is Perplexity Time Machine?
Time Machine is a snapshot_as_of setting on the Perplexity Search API and Context API. It returns search results and page text from the copies Perplexity saved at or before a past time, so you can see what was knowable on that date.
How far back can Perplexity Time Machine search?
Up to 365 days. The snapshot_as_of value must be an RFC 3339 time with a time zone, must not be in the future, and must not be more than 365 days ago. Requests outside that range return HTTP 400.
How many Time Machine requests can I make?
On usage Tiers 1 to 5, you get 50 Time Machine requests in total for the Search API and 50 for the Context API. It is a total, not a rate, so after 50 requests retrying does not help; Tier 0 is limited to 1 request per second. Perplexity sales can raise the limit.
How much does Perplexity Time Machine cost?
The pricing page lists no separate Time Machine rate. The Search API costs $5.00 per 1,000 successful requests, and the Context API costs $1.00 per 1,000 URLs returned with status ok or not_modified.
Can I use Time Machine with date filters?
No. snapshot_as_of cannot be combined with search_recency_filter, the publication date filters, the last updated filters or People Search. You can still add the domain filter and the language filter.
Sources
- Perplexity API changelog (November 2026)
- Perplexity docs: Time Machine
- Perplexity docs: Context API formats and freshness
- Perplexity docs: Rate limits and usage tiers
- Perplexity docs: Pricing
Featured image: Perplexity AI logo, public domain, via Wikimedia Commons. Perplexity is a trademark of Perplexity AI, Inc. FreeAnswers is not affiliated with Perplexity.