Developers Open the studio

HTTP API · v1

Synthetic ECG API

Describe a heart rhythm as JSON. Returns an image of the ECG paper, the signal as samples, or a machine-readable report. Nothing is stored. The same request always returns the same output.

Your pipeline writes the clinical case. Squiggler is the step that draws its ECGs and measures them, so the rest of the case can be checked against the tracings.

Claude skill OpenAPI spec Request a key

Where Squiggler fits

One step in the pipeline. It takes a description of the heart at each stage and returns the tracings with their measurements. The next step uses those to check the case.

1 · Input

Learning objectives, setting, length.

Inferior STEMI with AV block. ED team, 20 minutes.
Inside the Squiggler step
  1. Describe. One JSON description per stage, same patient.
  2. Check. Rhythm, rates, intervals and ST changes, lead by lead.
  3. Draw. Twelve-lead images and a monitor waveform.

Example output

Two stages, one patient

Stage 1, arrival. 68-year-old, chest pain for 40 minutes. HR 96, BP 104/62. Aspirin, cath lab called.

Stage 2, 15 minutes later. Dizzy. HR 42, BP 78/40. Atropine, pacing pads.

Both heart rates were validated against the tracings.

Synthetic twelve-lead ECG: sinus rhythm at 96 beats per minute with ST elevation in II, III and aVF and ST depression in aVL.
Stage 1. Sinus 96, inferior ST elevation.
Synthetic twelve-lead ECG of the same patient: complete heart block with a narrow junctional escape at 42 per minute and persisting inferior ST elevation.
Stage 2. Complete heart block, 42.

Integration notes

Getting started

  1. Request a key

    inquiry@squiggler.io

  2. Read the reference

    API reference

  3. Connect your pipeline

    Claude skill · OpenAPI spec · Setup