CDNJS

Version, file and SRI metadata for CDNJS-hosted libraries

🔧 Developer ToolsUNMONITOREDchecked 41 min ago
AUTH NONECORS AGENT HTTPS COMMERCIAL ?

The CDNJS API returns metadata about the front-end libraries mirrored on the CDN. Querying a library like jquery yields its latest URL, SRI hash, current version, main filename, license, and homepage. Keyless and quick, it's handy for build tools resolving asset URLs.

HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: — · unmonitored
Uptime history
—%90 days
—%30 days
P50 · ms
P95 · ms
operationalpartialdownno data
Live response samplecaptured by our last successful check
GET https://api.cdnjs.com/libraries/jquery

{
  "name": "jquery",
  "latest": "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js",
  "version": "3.7.1",
  "filename": "jquery.min.js",
  "license": "MIT",
  "homepage": "http://jquery.com/"
}
Call itcurl · fetch · python
curl "https://api.cdnjs.com/libraries/jquery"
const res = await fetch("https://api.cdnjs.com/libraries/jquery");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://api.cdnjs.com/libraries/jquery")
print(res.json())
Endpoints · 5On scheduleFULL DOCS ↗
First rollup pending — GET /libraries/jquery has been probed
GET/libraries/jqueryPROBED

Version, file and SRI metadata for CDNJS-hosted libraries

GET/libraries

Libraries — documented GET route.

GET/libraries/1

Libraries details by ID (example: 1).

GET/libraries?limit=10

Libraries — documented GET route.

GET/libraries/search?q=test

Search by query parameters.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

CDNJS: common questions

Is CDNJS free to use?

Yes — CDNJS is a free developer tools API. Free tier: Free and open, no key. Whether the free tier allows commercial use is unclear — check the provider docs.

Does CDNJS need an API key?

No — CDNJS needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call CDNJS from the browser?

Yes — CDNJS returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is CDNJS up right now?

As of our last scheduled check, CDNJS is unmonitored. We re-probe it every sweep — the status badge and uptime chart above always show the latest.