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/asset-generate/v1/qr1 credit

Generate a QR code (PNG or SVG) with custom fg/bg color, error-correction, and an OPTIONAL center logo fetched from logo_url (SSRF-guarded). Use error_correction=h when embedding a logo so it stays scannable.

Working example
Parameters

The content to encode: a URL, text, vCard string, etc.

Output image format. png supports logo-embed + colors; svg is scalable (logo-embed requires png).

Recovery level: l~7% · m~15% · q~25% · h~30%. Use h with a logo.

Module size in pixels. (1–40)

Quiet-zone width in modules (spec default 4). (0–20)

Foreground (dark) color: #rrggbb / #rgb / basic CSS name.

Background color, or 'transparent'.

URL of a logo to embed in the center (PNG output only). Fetched through the proxy with a full SSRF guard.

Logo size as a fraction of the QR side (0.05–0.30; >0.25 risks unscannable codes even at EC-H). (0.05–0.3)

request preview
curl -X POST https://api.reefapi.com/asset-generate/v1/qr \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"data":"https://reefapi.com","format":"png"}'

Hit Send to run this endpoint live.