The playground

Try any of 919 endpoints — live.

Pick an endpoint, load a working example, tweak the params, and send — no signup to try. Results render the way the data deserves; raw JSON, headers & code are one tab away.

Playground demo key · api.reefapi.com
post/generate/v1/chart1 credit

Render a chart from a Chart.js-style spec → PNG or SVG. Types: bar/horizontal_bar/line/area/pie/doughnut/scatter/radar. QuickChart parity (matplotlib backend).

Working example
Parameters

Chart spec: {type, data:{labels:[...], datasets:[{label, data:[...], color?}]}, options:{title, x_label, y_label, width, height, legend}}.

Output format.

Suggested filename.

request preview
curl -X POST https://api.reefapi.com/generate/v1/chart \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"spec":"{\"type\":\"bar\",\"data\":{\"labels\":[\"A\",\"B\",\"C\"],\"datasets\":[{\"label\":\"x\",\"data\":[1,2,3]}]}}"}'

Hit Send to run this endpoint live.