jsDelivr API
Overview
jsDelivr's Data API provides programmatic access to package metadata and download statistics for npm, GitHub, and WordPress packages hosted on the jsDelivr CDN. It requires no authentication and is useful for building dashboards, tracking package popularity, or researching CDN usage trends. All responses are returned as JSON with no rate limits for reasonable usage.
Beginner Tip
No API key is needed. Just construct the URL with the package name and optional version to get stats or file listings. Use the /stats/packages endpoint to compare download volumes across different packages.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from jsDelivr",
"description": "Package info and download stats on jsDelivr CDN",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
type Package source type (npm, gh, or wp) name Name of the package versions List of available versions for the package on jsDelivr tags Named tags mapping to specific versions (e.g., latest) links URLs to related resources like the package homepage and repository Implementation Example
const url = "https://github.com/jsdelivr/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →24 Pull Requests
⭐ Beginner's Pick24 Pull Requests is a community initiative that runs every December to encourage developers to contribute to open source projects.
Agify.io
⭐ Beginner's PickAgify.io is a free API that predicts the likely age of a person based solely on their first name, using a database of over 350 million historical records.
API Grátis
API Grátis is a Brazilian API aggregator that bundles multiple free utility services including CEP (postal code) lookup, CNPJ (company registry) data, vehicle plate information, and more — all under a single authentication token.
ApicAgent
⭐ Beginner's PickApicAgent parses User-Agent strings into structured device and browser information, returning details like browser name, version, OS, device type, and whether the client is a bot.
APIs.guru
⭐ Beginner's PickAPIs.guru maintains a crowd-sourced directory of OpenAPI (Swagger) specification files for hundreds of public web APIs, all normalized to OpenAPI 3.0 format.