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/barcode1 credit

Generate a 1D barcode IMAGE (PNG or SVG) from data: EAN-13/8, UPC-A, Code-128, Code-39, ISBN-10/13, ITF, GS1-128, JAN, PZN, Codabar. Check digits are validated — a wrong EAN/UPC/ISBN check digit returns a structured error, not a silent fix.

Working example
Parameters

The value to encode. For EAN/UPC supply the digits; the check digit is computed (or validated if you include it).

Barcode symbology.

Output image format.

Print the human-readable value under the bars.

Bar height in mm. (2–100)

Bar color (#rrggbb / name).

Background color (#rrggbb / name).

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

Hit Send to run this endpoint live.