Free fact-of-the-day widget
Drop this one-line embed into any website — blog, sidebar, footer, newsletter template — and it renders a verified DeepInquiry fact. No signup, no API key, no rate limits for reasonable use. Every widget links back to the fact's source page for citations — that's how we fund the free tier.
Standard embed
<script async src="https://widget.deepinquiry.ai/embed.js"></script>
<div id="deepinquiry-fact"></div>Live preview
Options
Add data attributes to the container to customize:
Dark theme
<script async src="https://widget.deepinquiry.ai/embed.js"></script>
<div id="deepinquiry-fact" data-theme="dark"></div>Set data-theme="light", "dark", or "auto" (default — respects prefers-color-scheme).
Compact layout
<script async src="https://widget.deepinquiry.ai/embed.js"></script>
<div id="deepinquiry-fact" data-compact="true"></div>Single-line, smaller padding. Fits sidebars and footers.
How it works
- The script fetches one verified fact from
api.deepinquiry.ai/api/widget— a public, CORS-enabled endpoint cached at the edge for 1 hour. - Browsers also cache the result in
localStoragefor 6 hours, so return visitors don't hit the API repeatedly. - Every fact goes through model extraction + web-search verification + confidence scoring before it's served. Only
status='approved'facts appear. - The footer link is required by the free tier — it's what pays for the pipeline.