Overview
PageCDN exposes a public API to query its CDN library catalog — including JavaScript packages, CSS frameworks, and web fonts — so developers can look up available versions and generate optimized CDN URLs programmatically. It is particularly useful for build tools or dashboards that need to resolve the latest stable version of a library without scraping npm or GitHub. An API key is required but is freely available on registration.
Beginner Tip
Sign up at pagecdn.com to get a free API key, then include it as the api_key query parameter in every request. Start by calling the library-search endpoint to confirm your key works before building anything more complex. The response includes pre-built CDN URLs you can drop directly into HTML script or link tags.
Available Data
Example Response
{
"status": "success",
"data": {
"result": "Data from PageCDN",
"description": "Public API for javascript, css and font libraries on PageCDN",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
name Official package name as indexed on PageCDN version Latest stable version number available on the CDN url Fully formed CDN URL ready to use in a script or link tag type Asset type — "js", "css", or "font" size File size in bytes of the minified asset served from the CDN Implementation Example
const url = "https://pagecdn.com/docs/public-api";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
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
Partially tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →ApiFlash
ApiFlash provides a REST API that captures full-page or viewport screenshots of any public URL using a headless Chrome browser, returning the image as a PNG, JPEG, or WebP file.
Azure DevOps
Azure DevOps REST API provides programmatic access to all Azure DevOps services including work items, repositories, pipelines, test plans, and artifact feeds.
Base
Base provides programmatic access to building quick backends via REST API.
Blague.xyz
Blague.xyz provides programmatic access to la plus grande api de blagues fr/the biggest fr jokes api via REST API.
Blitapp
Blitapp is a screenshot-as-a-service API that lets you capture full-page or viewport screenshots of any web page on a schedule, then automatically sync them to cloud storage like Dropbox or Google Drive.