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/search2 credits

search packages (npm: registry API; pypi: libraries.io→HTML→ranked simple-index+enrich)

Working example
Parameters

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

Free-text search keywords matched against package name/description.

1-based page number for paginated lists (versions / search). (1–)

Results per page (1-250, default 20). Larger values are clamped. (1–250)

npm search only: raw result offset (alternative to page). Page forward with meta.next_from. (0–)

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

Hit Send to run this endpoint live.