jsDelivr Data API
APIFree API for jsDelivr package info & download statistics
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)
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
People Also Ask about jsDelivr Data API
Tool Info
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