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/dev-utils/v1/text_diff1 credit

Unified diff between two texts + change stats + similarity ratio.

Working example
Parameters

The original text.

The changed text.

Context lines around each hunk. (0–20)

Label for the original.

Label for the changed text.

request preview
curl -X POST https://api.reefapi.com/dev-utils/v1/text_diff \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"a":"one\ntwo","b":"one\n2"}'

Hit Send to run this endpoint live.