# Struct Blog

Technical guides, product announcements, and onchain data research from the Struct team.

## Posts

- [Sunsetting Struct Polymarket Support on September 30, 2026](https://www.struct.to/blog/sunsetting-polymarket): Struct is sunsetting all Polymarket APIs on September 30, 2026. Here is the shutdown timeline, native Polymarket migration guide, and billing details.
- [How We Built Realtime Precomputed PnL for Polymarket](https://www.struct.to/blog/realtime-precomputed-pnl): 1.6B trades backfilled in under a week (now tracking 1.9B+), 378 live indexes, and a custom database that sustains up to 2M writes per second. Why query-time PnL fails, and what we built instead.
- [Polymarket RTDS vs Struct Trades WS: A Latency Benchmark](https://www.struct.to/blog/polymarket-rtds-vs-struct-trades-ws): We benchmarked Polymarket's RTDS feed against the Struct Trades WebSocket across ~15,000 live trades. Struct's confirmed feed leads by ~0.5s, its mempool feed by 2.6s.
- [Announcing Struct v0.6: Accurate PnL, Down to the Block](https://www.struct.to/blog/v0.6-release): v0.6 rebuilds Struct's PnL from the ground up. Exactly what a trader has made or lost on Polymarket, updated every block, counting every fee, rebate, reward, and yield payment.
- [Stream Live Polymarket Candles into a TradingView Chart](https://www.struct.to/blog/streaming-polymarket-tradingview-charts): Build a TradingView Advanced Charts datafeed for Polymarket: backfill OHLCV from the candlestick API and stream live candles from the trades WebSocket room.
- [Polymarket Up/Down Markets: Live Crypto Price Data and OHLC Charts](https://www.struct.to/blog/polymarket-up-down-markets): Polymarket's Up/Down markets resolve on short price windows for BTC, ETH, and more. Here's how they work and how to pull window outcomes, OHLC candles, and live ticks via the Struct API.
- [Announcing Struct v0.5: CLOB v2, Analytics, and Oracle Events](https://www.struct.to/blog/v0.5-release): Polymarket's biggest infrastructure migration in years cuts over on April 28. Struct already speaks v2, and we're shipping a brand-new analytics namespace and an oracle events stream alongside it.
- [Announcing Struct v0.4: Websockets, Alert Streaming, and New Pricing](https://www.struct.to/blog/v0.4-release): We just shipped two Websocket endpoints for Polymarket data, including an alerts Websocket that nobody else offers. Plus, webhooks and Websockets are now free for everyone.
- [Building a Polymarket Scanner Bot with the Struct SDK](https://www.struct.to/blog/building-a-polymarket-scanner-bot): How we built an open-source Telegram bot that lets you look up live Polymarket odds, trader stats, and top holders by pasting a URL or wallet address: architecture, implementation, and key decisions.
- [Building a Polymarket Trader Explorer with the Struct SDK](https://www.struct.to/blog/building-a-polymarket-trader-explorer): How we built a Polymarket trader explorer - a real-time analytics dashboard with PnL charts, heatmap calendars, shareable image cards, and streaming SSR. Architecture, key decisions, and implementation details.
- [Building a Polymarket Telegram Alerts Bot with Struct Webhooks](https://www.struct.to/blog/building-polymarket-telegram-alerts-bot): A technical walkthrough of how we built a real-time Telegram bot that delivers Polymarket alerts using Struct webhooks, Cloudflare Workers, and D1. Full architecture, code, and lessons learned.
- [Polymarket Webhooks: Real-Time Notifications for Every Market Event](https://www.struct.to/blog/polymarket-webhooks): Polymarket doesn't offer webhooks. Struct does. Get instant notifications for whale trades, price spikes, and market resolutions.
- [The API for Polymarket: Built Different](https://www.struct.to/blog/the-api-for-polymarket-built-different): We spent months building the infrastructure we wished existed. Today we're opening it up. Here's what Struct is, what it does, and why we built it.
