Embed CRI Widget
Add the Capital Rotation Index to your website with just 2 lines of code
Live Preview
Quick Start
Copy and paste this code into your website:
<div id="cri-widget" data-theme="light"></div>
<script src="https://indexer.capital/embed/cri.js" async></script>
Configuration Options
| Attribute | Values | Default | Description |
|---|---|---|---|
data-theme |
dark, light |
dark |
Widget color theme |
data-size |
sm, md, lg |
md |
Widget size |
data-refresh |
Number (seconds) | 0 |
Auto-refresh interval (min 30s) |
Examples
Light Theme
<div id="cri-widget" data-theme="light"></div>
Large Size with Auto-Refresh
<div id="cri-widget" data-theme="dark" data-size="lg" data-refresh="60"></div>
Small Compact Widget
<div id="cri-widget" data-theme="dark" data-size="sm"></div>
Public API
You can also fetch CRI data directly via our public API:
GET /api/public/cri
Response:
{
"value": 63,
"label": "RISK-ON",
"regime": "EQUITIES",
"updated_at": "2026-02-08T21:00:00Z",
"source": "Capital Rotation Index"
}
Rate limit: 60 requests per minute. Data cached for 60 seconds.
Terms of Use
- The widget is provided free for non-commercial use
- Do not remove or hide the "Powered by" attribution
- Do not modify the widget output or misrepresent the data
- We reserve the right to limit or revoke access at any time