Server-Sent Events stream that delivers cached data immediately from D1,
then attempts a live fetch via Decodo Scraping API. Events: cached, live,
error, done. Error payloads include a machine-readable code, such as
fetch_failed.
Tier: Pro+
| Event | Description |
|---|---|
cached | Immediate response from D1 cache (arrives within milliseconds) |
live | Fresh data fetched live from the source (arrives in 2-5 seconds) |
error | Live fetch or parse could not complete; the payload includes an error code such as fetch_failed |
done | Stream complete, connection will close |
cached event is always sent first (from D1 database)live event is sent if the live fetch succeeds (typically 2-5 seconds)error event is sent instead of livedone eventGET /v1/property/{id} endpoint (returned with "source": "live"), so the SSE stream is primarily useful for Pro tier users who want live data.