Skip to main content
GET
Stream listing updates (SSE)

Overview

Opens a Server-Sent Events (SSE) stream for a single listing. The stream delivers cached data immediately, then attempts a live fetch for fresher data when live fetching is available. Tier requirement: Pro, Business, or Internal.

SSE Events

Error codes

Example

When live fetching is held back, the live step ends with an error and the cached event is the answer:

Behavior

  • The cached event is always sent first (from D1 database)
  • The live event is sent if the live fetch succeeds (usually a few seconds)
  • If the live fetch fails, times out, or is held back (budget_exceeded or service_disabled), an error event is sent instead of live
  • A listing with no stored page URL skips the live step: cached is followed directly by done
  • The stream always ends with a done event, and the whole stream is capped at 60 seconds
  • Each connection costs one request against your quota and one live fetch. Close your client on done; an SSE client that reconnects automatically (such as a browser EventSource) re-opens the stream and is billed again each time

When to use

This endpoint is designed for one-time fresh data retrieval. For ongoing monitoring, use persistent watchers instead. Note: Business and Internal tier users get live-first data on the regular GET /v1/property/{id} endpoint (returned with "source": "live" when the stored detail is more than 5 minutes old and live fetching is available), so the SSE stream is primarily useful for Pro tier users who want live data.

Authorizations

Authorization
string
header
required

Polar.sh license key. Format: BOROUGH-<uuid>

Path Parameters

id
string
required

Listing ID

Response

Server-Sent Events stream

The response is of type string.