The playground

Try any of 817 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/barcode/v1/batch1 credit

Up to 20 barcodes in one call → array of merged products (input order preserved), each with its own source/validation. The competitor caps at 10.

Working example
Parameters

Up to 20 barcodes — a JSON array or a comma-separated string (competitor caps batch at 10; we allow 20). Each is normalized + validated; results preserve input order with per-item source.

Which open source(s) to query for lookup/batch. 'auto' merges both.

Which Open-*-Facts sibling DB to search/lookup against when source=off. lookup auto-falls-back food→products when source=auto.

request preview
curl -X POST https://api.reefapi.com/barcode/v1/batch \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"barcodes":"5449000000996,0885909950805"}'

Hit Send to run this endpoint live.