Server-rendered SVG growth chart (P3/P10/P50/P90/P97 curves)
GET /fenton-preterm/chart · API key required
Returns a rendered SVG image, never numeric curve data — this is the one endpoint that touches the full reference curve, and it stays an image by design (mirrors Dr. Fenton's own public tool, which outputs jpg/pdf, not data points).
Parameters
sex(query, required)metric(query, required)reference_year(query)points(query) - Optional overlay, e.g. "28w0d:900,30w0d:1200,32w0d:1500" (day suffix optional).
Responses
200- SVG image400404429