Skip to main content

Overview

The Backdated Search & Fetch API answers one question no live search API can: “what did the web know on date X?” Every request carries an as_of date. Search returns only documents crawled on or before that date, and fetch returns the article’s bytes as they were archived at that time. The backing corpus is a frozen archive, so the same as_of query returns the same results forever. This is the same engine behind the BackSearchToolset you can declare in an environment, available here as a standalone API.
This API never touches the live web: it searches an immutable crawl, so results are reproducible and carry no post-cutoff lookahead. That makes it suitable for leakage-free evals, forecasting benchmarks, and defensible point-in-time backtests.

Base URL & authentication

Authenticate with your OpenReward API key in the x-api-key header (or_... key).
Search runs over a fixed historical corpus. Choose as_of dates inside the covered window. Current coverage: December 2025 → June 2026

Pricing

Pay-as-you-go against your prepaid OpenReward balance. Only successful requests are billed. A search that errors, or a fetch that finds no capture on or before as_of (a 404), is not charged. When your balance is exhausted the API returns 402 Payment Required. Top up to continue.

POST /search

Full-text + semantic search over the archive, cut off at as_of.

Request body

Response

Example

hybrid handles paraphrase that lexical search misses. A query for “Eastern European territorial dispute escalation” surfaces Russia/Ukraine coverage even when those keywords aren’t present.

POST /fetch

Retrieve a page’s content as it was archived on or before as_of, the point-in-time counterpart to search. Returns the extracted article text.

Request body

Response

If there is no capture of the URL on or before as_of, the API returns 404 (and does not bill the request).

Example

as_of gates on crawl date, not the article’s stated publish date. A page that was first archived after your cutoff will not be returned even if it claims an earlier publish date.

Budget & errors

Checking your usage

GET https://api.openreward.ai/v1/billing/api-usage returns metered search and fetch usage for the account behind your API key — requests, billable cost.

Query parameters

Response

Adding credits

To top up open your organization’s billing page at openreward.ai/<your-org>/billing (for example, openreward.ai/GeneralReasoning/billing).

See also

  • Backdated Web Tools — the same engine as an environment toolset (BackSearchToolset) or SDK classes (Backsearch / Backfetch).