Skip to content
Eden Engine

npm Daily Downloads

npmdownloads/daily-downloads

Returns the downloads of one npm package for every day in a date range: one row per day with the date and the count. Download counts from the npm downloads API, https://api.npmjs.org, passed through unmodified and served by Eden Engine; not an official npm product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

npm downloads API

Download counts from the npm downloads API, https://api.npmjs.org, passed through unmodified and served by Eden Engine; not an official npm product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "npmdownloads/daily-downloads" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "npmdownloads/daily-downloads" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "npmdownloads/daily-downloads", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "npmdownloads/daily-downloads", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 26, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "start",
    "end",
    "name"
  ],
  "properties": {
    "end": {
      "type": "string",
      "format": "date",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Last day, YYYY-MM-DD, not before start."
    },
    "name": {
      "type": "string",
      "pattern": "^(@[A-Za-z0-9-~][A-Za-z0-9-._~]*/)?[A-Za-z0-9-~][A-Za-z0-9-._~]*$",
      "maxLength": 214,
      "minLength": 1,
      "description": "Package name as on npm, for example ms, react or @types/node."
    },
    "start": {
      "type": "string",
      "format": "date",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "First day, YYYY-MM-DD."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "downloads",
    "package"
  ],
  "properties": {
    "end": {
      "type": "string",
      "description": "Last day, YYYY-MM-DD."
    },
    "start": {
      "type": "string",
      "description": "First day, YYYY-MM-DD."
    },
    "package": {
      "type": "string",
      "description": "Package name."
    },
    "downloads": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "day",
          "downloads"
        ],
        "properties": {
          "day": {
            "type": "string",
            "description": "The day, YYYY-MM-DD."
          },
          "downloads": {
            "type": "integer",
            "description": "Downloads that day."
          }
        },
        "description": "A day.",
        "additionalProperties": true
      },
      "description": "One row per day, oldest first."
    }
  },
  "additionalProperties": true
}