← clify home · catalogue

jsdelivr API for agents (unofficial) — JSON over curl | clify

jsDelivr is a free open-source CDN for npm and GitHub. This CLI searches npm packages, lists package versions, files, entrypoints and readmes, and reads CDN usage statistics (per package, version and file, top packages, network, countries, browsers, platforms and proxies) through jsDelivr's public data API and its Algolia search index.

Host: jsdelivr.com. Call these verified read commands with plain curl; no install, key, or account. Use the public JSON API with plain curl. No install, key, account, or browser is needed. Example: curl 'https://clify-dev.netlify.app/sites.json'. Start with /search?q=weather, then call /abc/COMMAND. Responses are one JSON object. The hosted MCP and GitHub repo are also available.

Commands

search-packages

Full-text search of npm packages hosted on jsDelivr (Algolia index), with optional facet filters such as module type, style type or author Params: query*, page, hitsPerPage, filters

curl 'https://clify-dev.netlify.app/jsdelivr/search-packages'

get-npm-package-info

Get full npm metadata for a package from the search index: description, latest version, version release dates, npm downloads, jsDelivr hits, repo and owner Params: name*

curl 'https://clify-dev.netlify.app/jsdelivr/get-npm-package-info'

list-package-versions

List all versions and dist-tags of an npm package or GitHub repo hosted on jsDelivr Params: type*, name*

curl 'https://clify-dev.netlify.app/jsdelivr/list-package-versions'

list-package-files

Get the file tree (names, sizes, SHA-256 hashes) and default file of a specific package version Params: type*, name*, version*

curl 'https://clify-dev.netlify.app/jsdelivr/list-package-files'

get-package-entrypoints

Get the resolved JS/CSS entrypoint files of an npm package version (the file served by the short CDN URL) Params: name*, version*

curl 'https://clify-dev.netlify.app/jsdelivr/get-package-entrypoints'

get-package-readme

Get the rendered README (HTML) of an npm package or GitHub repo Params: type*, name*

curl 'https://clify-dev.netlify.app/jsdelivr/get-package-readme'

get-package-stats

Get CDN hits and bandwidth for a package over a period, with daily breakdown, rank and previous-period comparison Params: type*, name*, period

curl 'https://clify-dev.netlify.app/jsdelivr/get-package-stats?period=month'

get-package-version-stats

List a package's versions ranked by CDN hits or bandwidth over a period Params: type*, name*, period, by, api_limit, page

curl 'https://clify-dev.netlify.app/jsdelivr/get-package-version-stats?period=month'

get-package-file-stats

List the files of a specific package version ranked by CDN hits or bandwidth over a period Params: type*, name*, version*, period, by, api_limit, page

curl 'https://clify-dev.netlify.app/jsdelivr/get-package-file-stats?period=quarter'

list-top-packages

List the most-used packages on jsDelivr, ranked by hits or bandwidth, optionally restricted to npm or GitHub Params: type, period, by, api_limit, page

curl 'https://clify-dev.netlify.app/jsdelivr/list-top-packages?period=month&by=hits'

get-network-stats

Get total jsDelivr network hits and bandwidth per CDN provider (Cloudflare, Fastly) over a period, optionally for one country Params: period, country

curl 'https://clify-dev.netlify.app/jsdelivr/get-network-stats?period=month&country=DE'

get-network-content-stats

Get network hits and bandwidth split by content type (packages vs. proxies) with a daily breakdown Params: period

curl 'https://clify-dev.netlify.app/jsdelivr/get-network-content-stats?period=month'

list-network-countries

Get jsDelivr network hits broken down by country (country code, name, total hits, previous-period hits) Params: period

curl 'https://clify-dev.netlify.app/jsdelivr/list-network-countries?period=month'

list-top-browsers

List browsers by share of jsDelivr traffic, optionally for one country Params: period, country, api_limit, page

curl 'https://clify-dev.netlify.app/jsdelivr/list-top-browsers?period=s-month'

list-top-platforms

List operating systems/platforms by share of jsDelivr traffic, optionally for one country Params: period, country, api_limit, page

curl 'https://clify-dev.netlify.app/jsdelivr/list-top-platforms?period=s-month'

get-proxy-stats

Get CDN hits and bandwidth for one of jsDelivr's proxy endpoints (e.g. pyodide, fontsource, ghost) over a period Params: name*, period

curl 'https://clify-dev.netlify.app/jsdelivr/get-proxy-stats?period=month'

list-stats-periods

List the fixed statistics periods available (calendar months/quarters/years such as 2026-09 or 2026-Q3) with links to their stats Params: none

curl 'https://clify-dev.netlify.app/jsdelivr/list-stats-periods'