Build with Castimer
Add countdown timers to your website, control them via API, and trigger automations with webhooks. Free to start.
Castimer gives you three integration paths. Embed a widget with a single iframe — no backend and no signup required for basic embeds. Create and control timers programmatically through the REST API. Or connect your own endpoints with webhooks and get notified when a timer starts, pauses or hits zero. All three work with the same timers you see on castimer.com.
Embed Widget
Drop a countdown timer onto any website with a single iframe. No backend required. Works with any platform.
See Embed DocsREST API
Create and control timers programmatically. Integrate with your app, dashboard, or automation tools.
View API DocsWebhooks
Get notified when a timer starts, pauses, or hits zero. Connect to Slack, Zapier, or your own backend.
Webhook GuideUp and running in minutes
Choose your integration method and copy the code to get started.
Embed a Timer
Copy this iframe code and paste it into your HTML. The timer will display inline on your page.
<iframe
src="https://castimer.com/widget?type=countdown&duration=300&theme=light"
style="width:100%;max-width:360px;height:360px;border:none;"
title="5 Minute Countdown Timer"
></iframe>Embed a timer
Paste an iframe into your HTML — it works with WordPress, Webflow, Squarespace, Notion or any platform that accepts HTML. Three widget types: Event Countdown (?type=event&date=ISO8601), Duration Timer (?type=countdown&duration=1500) and Interval Timer (?type=interval&work=45&rest=15&rounds=8).
Key URL parameters
title— display title above the timertheme— light, dark or autocolor— primary color (hex without #)lang— en, zh, ja, es, fr, de, kotz— IANA timezone (e.g. America/New_York)alarm— play alarm sound at zero (1/0)show_brand— hide Castimer branding (Pro only)
The full parameter table lives on our API reference, and you can configure a widget visually with the Embed Generator.
API
Base URL: https://castimer.com/api/v1. All endpoints except GET /events require a Bearer token in the Authorization header.
Endpoints
GET /events— public holidays and events by region/year (region, year, tz)POST /timers— create a timer (title, type, duration)GET /timers/:id— fetch a timer's current state
Request and response examples for every endpoint: API reference.
Webhooks
Register an HTTPS endpoint in the dashboard and Castimer will POST a JSON payload for each timer event. Events: timer.started, timer.paused, timer.resumed, timer.completed, timer.reset.
Payload format
{
"event": "timer.completed",
"timer_id": "tmr_abc123",
"title": "Product Launch",
"completed_at": "2026-05-10T09:00:00Z"
}Every delivery is signed so you can verify it came from Castimer; failed deliveries are retried with backoff. Setup steps and verification examples are in the API reference.
What developers build with Castimer
See how developers and teams use Castimer to add timers to their products.
Website countdown widgets for product launches
Event registration page timers
Gym and classroom screen displays
Automated meeting room timer boards
Slack bots that start timers via command
Zapier automations triggered when time is up
Start building for free
Free plan includes embed widgets and public event API. No credit card required.
Create Free Account