The playground

Try any of 1042 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/packages/v1/dependencies1 credit

runtime + dev dependencies for a version (latest if omitted)

Working example
Parameters

Which package registry to query. npm = Node.js packages; pypi = Python packages. (Synonyms node/nodejs -> npm, python/pip -> pypi.)

Exact package name (e.g. npm 'react', PyPI 'requests'). Scoped npm names like '@scope/pkg' are supported.

Optional exact version; omit to use the latest published version.

request preview
curl -X POST https://api.reefapi.com/packages/v1/dependencies \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"registry":"npm","name":"react"}'

Hit Send to run this endpoint live.