CDNJS

Version, file and SRI metadata for CDNJS-hosted libraries

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

98HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 98 · healthy
Uptime history
100%90 days
100%30 days
155P50 · ms
936P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 68 ms, slowest 707 ms, most recent 85 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/jquery155 mschecked 10h 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 155 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.