CDNJS

Version, file and SRI metadata for CDNJS-hosted libraries

🔧 Developer ToolsHEALTHYchecked 28 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.

97HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 97 · healthy
Uptime history
100%90 days
100%30 days
133P50 · ms
1026P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 38 ms, slowest 867 ms, most recent 831 ms.
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 · 5HealthyFULL DOCS ↗
Monitored path responding — GET /libraries/jquery133 mschecked 28 min ago
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 healthy with 100% uptime over 90 days and a 133 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.