Documentation Index
Fetch the complete documentation index at: https://docs.simplefunctions.dev/llms.txt
Use this file to discover all available pages before exploring further.
The embed widget renders a live odds card with current price, sparkline, and resolution metadata.
iframe
<iframe
src="https://simplefunctions.dev/embed/KXRATECUT-26DEC31"
width="320" height="220"
loading="lazy"
style="border: 0; border-radius: 8px;"
></iframe>
The route is /embed/[ticker]. Replace the ticker with any Kalshi or Polymarket id.
embed.js helper
<div data-sf-embed="KXRATECUT-26DEC31"></div>
<script src="https://simplefunctions.dev/embed.js" async></script>
The script auto-finds every [data-sf-embed] element and inserts an iframe with the right size.
Embed builder
For visual config (size, theme, show/hide labels):
https://simplefunctions.dev/embed
Returns embed HTML you can copy-paste.
Live updates
The embedded iframe polls every 30s for price updates. No WebSocket — it’s a static-friendly drop-in.
Auth
Public; no API key required. Embeds are rate-limited per-domain.