# OrcaTrace Polymarket Historical Intelligence Digest API

> OrcaTrace Polymarket Historical Intelligence Digest API is a paid API for AI agents from api.orcatrace.dev, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-16).

Returns historical Polymarket intelligence digest snapshots (up to 7 days, 4-hour cadence) showing how prediction-market narratives and pricing evolved over time

## Facts

- Endpoint: GET https://api.orcatrace.dev/v1/digest/history
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/orcatrace-polymarket-historical-intelligence-digest-api-8eca6dc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mK49X9CBIQcSmzP3gPqe7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability orcatrace-polymarket-historical-intelligence-digest-api-8eca6dc2
```

Example prompt: Show me the last 6 Polymarket intelligence digests from the past 24 hours — I want to see how prediction market narratives and prices evolved during that window.

## When to prefer this

Use this endpoint when you need historical context on how Polymarket prediction markets evolved over time — specifically to trace narrative shifts, price repricings, and market movements across multiple 4-hour windows. Prefer this over the single current-digest endpoint when you need trend analysis, retrospective review, or a timeline of changes rather than just the latest snapshot.

## Known failure modes

- hours parameter out of range (must be 1-168) — returns validation error
- limit parameter out of range (must be 1-42) — returns validation error
- payment failure or insufficient USDC balance — returns 402 Payment Required with no charge
- no digests available for requested window — returns empty result set
- service unavailable — returns 5xx error with no charge (compute-first guarantee)

## How this service works

Paid ($0.05 USDC via x402). Historical Polymarket Intelligence Digests (up to 7 days, 4h cadence) — track how prediction-market narratives evolved: ?hours=24&limit=6. Compute-first / settle-after — you are never charged for an error.

## Output

An array of up to 42 historical Polymarket intelligence digest snapshots taken at 4-hour intervals, covering up to the last 168 hours (7 days). Each digest summarizes which markets repriced, why narratives shifted, and what significant moves occurred during that period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "hours": {
       "type": "integer",
       "maximum": 168,
       "minimum": 1,
       "description": "Lookback window in hours (1-168)."
      },
      "limit": {
       "type": "integer",
       "maximum": 42,
       "minimum": 1,
       "description": "Max digests to return (1-42)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "id": "clx0digest123",
    "title": "US-Iran Diplomacy Repricing Drives the Board",
    "summary": "…",
    "createdAt": "2026-07-09T20:00:00.000Z"
   }
  ],
  "count": 1,
  "hours": 24,
  "charged": true,
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/orcatrace-polymarket-historical-intelligence-digest-api-8eca6dc2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.orcatrace.dev](https://www.zero.xyz/host/api.orcatrace.dev/llms.txt)
