Embed widgets
Drop a facility or country stat card into your article with a single iframe. All widgets are free to use under CC-BY-4.0; the widget footer already contains the required source link.
Country widget
Prison population, incarceration rate, and facility count for any country.
<iframe src="https://worldprisons.com/embed/country/united-states" width="480" height="220" loading="lazy" style="border:0" title="United States prison stats" ></iframe>
Live preview
Facility widget
Capacity, current population, occupancy, and risk tier for any facility.
<iframe src="https://worldprisons.com/embed/prison/rikers-island" width="480" height="260" loading="lazy" style="border:0" title="Rikers Island prison stats" ></iframe>
Live preview
Notes for editors
- Use the exact URL slug from the entity page — you'll find it in the address bar (e.g.
/countries/united-states). - Widgets are chromeless: no site header, footer, or ads. Just the stats and an attribution link.
- The iframe height/width above are recommendations. The card is fluid up to a max of 480px wide.
- Data revalidates every hour. Cached snapshots on your CDN will refresh on their own schedule.
- Every widget links back to its canonical page on worldprisons.com — that's the CC-BY-4.0 attribution requirement.
- See the API for programmatic access if you need something bespoke.