PeumeAPI

Developer & public data

Get npm Package

Get an npm package version and its dependencies.

$0.0005 per call

Call it

curl https://api.peume.com/v1/call/get-npm-package \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "package": "your package",
    "timeout": 50
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: get-npm-package.

Parameters

packageRequiredstring

npm package name, including an optional scope, such as @vue/server-renderer.

versionstring

Published version or distribution tag. Defaults to latest.

timeoutnumber

Seconds may spend before giving up (max 50, default 50). A timed-out call is not billed.

Example: 50

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.