{
  "schemaVersion": 1,
  "slug": "perplexity-time-machine",
  "locale": "en",
  "pageClass": "concept",
  "entityType": "SoftwareApplication",
  "field": "technology",
  "title": "Perplexity Time Machine",
  "subtitle": "Point-in-time web search and historical snapshot retrieval feature in Perplexity's Search API and Context API",
  "aliases": [
    "Time Machine (Perplexity API)",
    "snapshot_as_of"
  ],
  "lead": {
    "definition": "Perplexity Time Machine is a point-in-time retrieval capability in Perplexity's Search API and Context API that uses a `snapshot_as_of` cutoff timestamp to search and fetch web pages only from copies saved at or before a specified past moment.",
    "answerSummary": "By passing an RFC 3339 `snapshot_as_of` timestamp (up to 365 days in the past, never in the future) to `POST /search` and `POST /v1/context`, developers can run leakage-free historical web searches and read the corresponding saved page snapshots. On usage Tiers 1 to 5, Time Machine has a separate quota of 50 total requests per API.",
    "keyFacts": [
      {
        "label": "Core Parameter",
        "value": "`snapshot_as_of` (RFC 3339 timestamp with time zone)",
        "ref": "s1",
        "asOf": "2026-11-30"
      },
      {
        "label": "Supported Time Range",
        "value": "Past timestamps up to 365 days prior to the request; future timestamps rejected (HTTP 400)",
        "ref": "s1",
        "asOf": "2026-11-30"
      },
      {
        "label": "Supported Endpoints",
        "value": "Search API (`POST /search`), Context API (`POST /v1/context`), and Agent API `web_search` / `fetch_url` filters",
        "ref": "s1",
        "asOf": "2026-11-30"
      },
      {
        "label": "Usage Limit (Tiers 1 to 5)",
        "value": "50 total Time Machine requests to Search API and 50 to Context API (HTTP 429 above limit)",
        "ref": "s1",
        "asOf": "2026-11-30"
      }
    ]
  },
  "infobox": [
    {
      "label": "Provider",
      "value": "Perplexity AI",
      "ref": "s1"
    },
    {
      "label": "Parameter Name",
      "value": "`snapshot_as_of`",
      "ref": "s1"
    },
    {
      "label": "Timestamp Format",
      "value": "RFC 3339 with time zone (Python `datetime`, TypeScript `Date`)",
      "ref": "s1"
    },
    {
      "label": "Minimum SDK Versions",
      "value": "`perplexityai` >= 0.50.0 (Python); `@perplexity-ai/perplexity_ai` >= 0.45.0 (TypeScript)",
      "ref": "s1"
    },
    {
      "label": "Maximum Lookback",
      "value": "365 days prior to request date",
      "ref": "s1"
    },
    {
      "label": "Base API Pricing",
      "value": "Search API $5.00 / 1K requests ($1.00 Fast Search); Context API billed per `ok` or `not_modified` URL",
      "ref": "s3"
    }
  ],
  "sections": [
    {
      "id": "how-snapshot-as-of-works",
      "heading": "How Perplexity Time Machine `snapshot_as_of` works",
      "bodyMd": "**Perplexity Time Machine** adds a `snapshot_as_of` cutoff parameter to `POST /search` and `POST /v1/context`, allowing applications such as agent evaluations and forecast backtesting to query only what was knowable at an earlier point in time [^s1][^s6][^s7]. Each time Perplexity indexes a web page, it stores a copy stamped with the save time; when `snapshot_as_of` is supplied, Perplexity compares the cutoff against the **copy save time** rather than dates printed on the page and returns the latest copy saved at or before that cutoff [^s1].\n\n`snapshot_as_of` accepts an **RFC 3339** timestamp with a time zone (such as `2026-11-01T00:00:00Z`), rejects future timestamps and dates older than **365 days** with HTTP 400 (`invalid_request`), and omits the `last_updated` field from search responses [^s1]. In the official SDKs, support requires `perplexityai` **0.50.0 or later** for Python (`datetime` with time zone) or `@perplexity-ai/perplexity_ai` **0.45.0 or later** for TypeScript (`Date`), and the same parameter is exposed inside Agent API `web_search` and `fetch_url` tool filters [^s1]."
    },
    {
      "id": "search-api-and-context-api-workflow",
      "heading": "Perplexity Time Machine two-step Search API and Context API workflow",
      "bodyMd": "Perplexity separates point-in-time discovery from full-page retrieval across two endpoints [^s1][^s4][^s5]:\n- **Search API (`POST /search`)**: Returns ranked results whose `title`, `snippet`, and `date` come from the saved snapshot at or before `snapshot_as_of` [^s1][^s6]. It can be combined with `search_domain_filter` and `search_language_filter`, but cannot be combined with `search_recency_filter`, standard date filters, or People Search (`search_type: \"people\"`) [^s1]. Pages without a qualifying snapshot are omitted, so fewer than `max_results` (or zero) results may be returned [^s1].\n- **Context API (`POST /v1/context`)**: Accepts 1 to 50 URLs and the same `snapshot_as_of` cutoff to return full page content in requested `formats` (`markdown` by default, plus optional `html`, `links`, and query `highlights`) along with per-URL status objects [^s1][^s2][^s7]. If a URL returned by Search API has no retrievable copy at that cutoff, Context API returns `status.type: \"no_content\"` rather than failing the entire batch, so callers filter for `status.type === \"ok\"` [^s1][^s7]."
    },
    {
      "id": "limits-and-billing-model",
      "heading": "Perplexity Time Machine quotas and API billing",
      "bodyMd": "Perplexity enforces dedicated quotas on Time Machine calls separate from general Search API and Context API rate limits [^s1]. Across usage **Tiers 1 through 5**, an account can execute **50 total Time Machine requests** to the Search API and **50 total Time Machine requests** to the Context API; each request consumes 1 unit even if it contains multiple queries or multiple URLs, and exceeding the cap returns HTTP `429` unless higher limits are arranged with Perplexity sales [^s1].\n\nUnder Perplexity's published API pricing, standard **Search API** requests are billed at **$5.00 per 1,000 successful requests** ($0.005 per request, covering up to five queries in a single array; Fast Search is $1.00 per 1,000), while **Context API** bills per URL returned with status `ok` or `not_modified` (with optional `criteria` scoring tokens billed at Decisions API input rates) [^s3]."
    },
    {
      "id": "scope-and-unconfirmed-details",
      "heading": "Perplexity Time Machine coverage scope and unconfirmed details",
      "bodyMd": "Because Time Machine relies on copies saved when Perplexity crawled a page for its web index, availability depends on whether Perplexity had archived that URL on or before the chosen `snapshot_as_of` timestamp [^s1]. As of **November 30, 2026**, domain-by-domain historical snapshot retention density and independent third-party benchmark reproductions of temporal leakage prevention are not published in Perplexity's developer documentation [^s1][^s2]."
    }
  ],
  "faqs": [
    {
      "q": "How far back can Perplexity Time Machine search?",
      "a": "Perplexity Time Machine accepts RFC 3339 timestamps up to 365 days prior to the request date. Future timestamps and timestamps older than 365 days are rejected with HTTP 400.",
      "refs": [
        "s1"
      ]
    },
    {
      "q": "What is the difference between using Time Machine on Search API vs. Context API?",
      "a": "Search API (`POST /search`) discovers ranked results and snippets as of `snapshot_as_of`, while Context API (`POST /v1/context`) fetches the full saved page content (Markdown, HTML, links, or highlights) for those URLs using the same cutoff.",
      "refs": [
        "s1",
        "s2",
        "s7"
      ]
    },
    {
      "q": "Which filters cannot be combined with `snapshot_as_of`?",
      "a": "In the Search API, `snapshot_as_of` works with `search_domain_filter` and `search_language_filter`, but cannot be combined with `search_recency_filter`, date filters, or People Search (`search_type: \"people\"`).",
      "refs": [
        "s1"
      ]
    },
    {
      "q": "What happens if a page has no saved snapshot at the requested time?",
      "a": "In the Search API, pages that cannot be shown as of the cutoff are omitted (which may return fewer than `max_results` items). In the Context API, an individual URL without a saved copy returns `status.type: \"no_content\"`.",
      "refs": [
        "s1",
        "s7"
      ]
    }
  ],
  "claims": [
    {
      "text": "Perplexity Time Machine uses an RFC 3339 `snapshot_as_of` cutoff on `POST /search` and `POST /v1/context` to retrieve web pages strictly from copies saved at or before that timestamp.",
      "refs": [
        "s1",
        "s6",
        "s7"
      ]
    },
    {
      "text": "The `snapshot_as_of` parameter rejects future timestamps and supports lookback up to 365 days prior to the request date.",
      "refs": [
        "s1"
      ]
    },
    {
      "text": "On Perplexity usage Tiers 1 to 5, Time Machine requests are capped at 50 total requests per API (Search API and Context API separately), returning HTTP 429 once exceeded.",
      "refs": [
        "s1"
      ]
    },
    {
      "text": "Official SDK support for `snapshot_as_of` requires `perplexityai` 0.50.0+ in Python or `@perplexity-ai/perplexity_ai` 0.45.0+ in TypeScript.",
      "refs": [
        "s1"
      ]
    }
  ],
  "timeline": [
    {
      "date": "2026-11",
      "text": "Perplexity publishes Time Machine documentation for `snapshot_as_of` across Search API, Context API, and Agent API tools.",
      "refs": [
        "s1"
      ]
    }
  ],
  "sources": [
    {
      "key": "s1",
      "url": "https://docs.perplexity.ai/docs/search/time-machine",
      "tier": 3,
      "title": "Time Machine - Perplexity",
      "publisher": "Perplexity AI",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s2",
      "url": "https://docs.perplexity.ai/docs/context/formats-and-freshness",
      "tier": 3,
      "title": "Formats and freshness - Perplexity",
      "publisher": "Perplexity AI",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s3",
      "url": "https://docs.perplexity.ai/docs/getting-started/pricing",
      "tier": 3,
      "title": "Pricing - Perplexity",
      "publisher": "Perplexity AI",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s4",
      "url": "https://docs.perplexity.ai/docs/search/quickstart",
      "tier": 3,
      "title": "Perplexity Search API - Perplexity",
      "publisher": "Perplexity AI",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s5",
      "url": "https://docs.perplexity.ai/docs/context/quickstart",
      "tier": 3,
      "title": "Context API quickstart - Perplexity",
      "publisher": "Perplexity AI",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s6",
      "url": "https://docs.perplexity.ai/api-reference/search-post",
      "tier": 3,
      "title": "Search the web - Perplexity",
      "publisher": "Perplexity AI",
      "accessedAt": "2026-11-30"
    },
    {
      "key": "s7",
      "url": "https://docs.perplexity.ai/api-reference/context-post",
      "tier": 3,
      "title": "Fetch URL context - Perplexity",
      "publisher": "Perplexity AI",
      "accessedAt": "2026-11-30"
    }
  ],
  "links": [
    {
      "predicate": "relatedTo",
      "toSlug": "perplexity",
      "label": "Perplexity"
    }
  ],
  "sameAs": [
    "https://docs.perplexity.ai/docs/search/time-machine"
  ],
  "disclaimer": null,
  "status": {
    "review": "awaiting_review",
    "provenance": "prefill",
    "autoWritten": true
  },
  "dateCreated": "2026-11-30",
  "dateModified": "2026-11-30",
  "_meta": {
    "canonicalUrl": "https://mimirwiki.com/wiki/perplexity-time-machine",
    "revision": {
      "sha256": "42e4d9e3b85fc875f0c1674ee6979e6892c1c83eb082c56bcd35cf911a014d3d",
      "short": "42e4d9e3",
      "hashedFields": "all fields except status and _meta, RFC 8785 canonical form"
    },
    "formats": {
      "md": "https://mimirwiki.com/wiki/perplexity-time-machine.md",
      "txt": "https://mimirwiki.com/wiki/perplexity-time-machine.txt",
      "json": "https://mimirwiki.com/wiki/perplexity-time-machine.json",
      "jsonld": "https://mimirwiki.com/wiki/perplexity-time-machine.jsonld"
    },
    "translations": {
      "en": "https://mimirwiki.com/wiki/perplexity-time-machine",
      "ko": "https://mimirwiki.com/ko/wiki/perplexity-time-machine",
      "ja": "https://mimirwiki.com/ja/wiki/perplexity-time-machine",
      "zh": "https://mimirwiki.com/zh/wiki/perplexity-time-machine",
      "es": "https://mimirwiki.com/es/wiki/perplexity-time-machine",
      "de": "https://mimirwiki.com/de/wiki/perplexity-time-machine",
      "fr": "https://mimirwiki.com/fr/wiki/perplexity-time-machine",
      "pt": "https://mimirwiki.com/pt/wiki/perplexity-time-machine",
      "ru": "https://mimirwiki.com/ru/wiki/perplexity-time-machine",
      "it": "https://mimirwiki.com/it/wiki/perplexity-time-machine",
      "hi": "https://mimirwiki.com/hi/wiki/perplexity-time-machine",
      "ar": "https://mimirwiki.com/ar/wiki/perplexity-time-machine"
    }
  }
}
