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/enrich-package/v1/batch2 credits

trust-score up to 10 packages in one call (basic depth, per-item ok/error)

Working example
Parameters

Up to 10 {ecosystem, package, version?} objects. Each is trust-scored like package_trust (basic depth); per-item ok/error.

request preview
curl -X POST https://api.reefapi.com/enrich-package/v1/batch \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"items":"[{\"ecosystem\":\"npm\",\"package\":\"p0\"},{\"ecosystem\":\"npm\",\"package\":\"p1\"},{\"ecosystem\":\"npm\",\"package\":\"p2\"},{\"ecosystem\":\"npm\",\"package\":\"p3\"},{\"ecosystem\":\"npm\",\"package\":\"p4\"},{\"ecosystem\":\"npm\",\"package\":\"p5\"},{\"ecosystem\":\"npm\",\"package\":\"p6\"},{\"ecosystem\":\"npm\",\"package\":\"p7\"},{\"ecosystem\":\"npm\",\"package\":\"p8\"},{\"ecosystem\":\"npm\",\"package\":\"p9\"},{\"ecosystem\":\"npm\",\"package\":\"p10\"}]"}'

Hit Send to run this endpoint live.