jsDelivr Data API

API

Free API for jsDelivr package info & download statistics

Visit Website

Overview

The jsDelivr Data API provides RESTful access to package details and download stats for packages hosted on the jsDelivr CDN. Key endpoints include package metadata (versions, file lists) for npm, GitHub, and WordPress packages, plus time-series download stats (daily/weekly/monthly). Responses are JSON-formatted, CORS-enabled, and require no authentication. Use cases include building developer dashboards to track package trends, integrating CDN availability checks into CI/CD pipelines, or helping maintainers monitor their package’s adoption.

Example Integration (JavaScript)

script.js JS

fetch('https://github.com/jsdelivr/data.jsdelivr.com')
  .then(res => res.json())
  .then(data => console.log(data))
  .catch(err => console.error(err));

Key Features

  • RESTful interface
  • JSON responses
  • No authentication required
  • CORS enabled
  • Supports npm, GitHub, WordPress packages
  • Time-series download stats
  • Package version & file listings

Frequently Asked Questions

? Is the jsDelivr Data API free to use?

Yes, the API is completely free for public use without any subscription or payment requirements.

? Does the API require an API key?

No, authentication is not needed—all endpoints are accessible directly without an API key.

? What response format does the API use?

All responses are in JSON format, widely supported by most programming languages and tools.

Top Alternatives

npm Downloads API Search Google
Unpkg Data API Search Google
Cloudflare Pages CDN Data Search Google

People Also Ask about jsDelivr Data API

jsDelivr Data API vs npm Downloads APIjsDelivr Data API vs Unpkg Data APIjsDelivr Data API vs Cloudflare Pages CDN Data jsDelivr Data API 2025 review

Tool Info

Pricing Free
Category Development
Platform Public API

Pros

  • Easy integration (no API key needed)
  • Comprehensive cross-registry package data
  • Fast CDN-backed response times
  • Open-source documentation & codebase
  • Free unlimited access (with fair rate limits)

Cons

  • Rate-limited to prevent abuse
  • No service-level agreement (SLA)
  • Limited to jsDelivr-hosted packages
  • Minor delays in real-time stat updates

More Development Tools