JavaScript CDN Usage
Real-world use of JavaScript packages through the jsDelivr and cdnjs CDNs: requests and bytes served for a day, week, month, quarter or year, rank among all packages, change from the period before, a daily series, the latest version on cdnjs and GitHub stars.
$2 per 1,000 records
You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from jsdelivr.com/docs/data.jsdelivr.com
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/js-cdn-usage/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"packages":["jquery"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
23 fields.
Basics
- Package
npm package name, or user/repo for a GitHub repository served by jsDelivr.
Example jquery
- Npm or gh
Example npm
- Found by
Why it is in the results: packages (you named it), search (a cdnjs match) or top_list.
Example packages
- Period
The period the counts cover: day, week, month, quarter or year.
Example month
- Rank
Rank among all jsDelivr packages by requests in the period (1 = most requested).
Example 27
- Type rank
Rank among packages of the same type (npm or gh).
Example 19
- Hits total
Requests jsDelivr served for the package in the period.
Example 1,889,707,809
- Prev hits
Requests in the period of the same length just before.
Example 1,816,696,201
- Hits change (%)
Change in requests from the period before, in percent.
Example 4%
- Hits by day
Requests per day, as {"2026-11-05": 68015752, ...}.
Example 2026 11 05: 68015752 · 2026 11 06: 73173175 · 2026 11 07: 71715177
- Bandwidth bytes
Bytes jsDelivr served for the package in the period.
Example 53,878,971,773,929
- Prev bandwidth bytes
Bytes served in the period just before.
Example 57,506,352,902,306
- Bandwidth rank
Rank among all jsDelivr packages by bytes served.
Example 61
- Cdnjs latest version
Example 4.1.0
- Github stars
Stars of the library's GitHub repository, as cdnjs lists them.
Example 60,101
- Description
The library's description on cdnjs.
Example JavaScript library for DOM operations
- License
License on cdnjs, such as MIT.
Example MIT
Dates
- Period start date
First day the counts cover.
Example Nov 5, 2026
- Period end date
Last day the counts cover.
Example Dec 4, 2026
Links
- Jsdelivr link
The package's page on jsDelivr.
Example jsdelivr.com/package/npm/jquery
- Cdnjs link
The library's page on cdnjs.
Example cdnjs.com/libraries/jquery
- Cdnjs file link
CDN link to the library's main file in its latest version on cdnjs.
Example cdnjs.cloudflare.com/ajax/libs/jquery/4.1.0/jquery.min.js
- Repository link
The library's GitHub repository.
Example github.com/jquery/jquery
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
package | text | Package | 3 of 3 |
type | text | Npm or gh | 3 of 3 |
found_by | text | Found by | 3 of 3 |
period | text | Period | 3 of 3 |
period_start_date | date | Period start date | 1 of 3 |
period_end_date | date | Period end date | 1 of 3 |
rank | number | Rank | 3 of 3 |
type_rank | number | Type rank | 3 of 3 |
hits_total | number | Hits total | 3 of 3 |
prev_hits | number | Prev hits | 3 of 3 |
hits_change_percent | number | Hits change (%) | 3 of 3 |
hits_by_day | group of values | Hits by day | 1 of 3 |
bandwidth_bytes | number | Bandwidth bytes | 3 of 3 |
prev_bandwidth_bytes | number | Prev bandwidth bytes | 3 of 3 |
bandwidth_rank | number | Bandwidth rank | 1 of 3 |
jsdelivr_url | link | Jsdelivr link | 3 of 3 |
cdnjs_latest_version | text | Cdnjs latest version | 1 of 3 |
cdnjs_url | link | Cdnjs link | 1 of 3 |
cdnjs_file_url | link | Cdnjs file link | 1 of 3 |
github_stars | number | Github stars | 1 of 3 |
repository_url | link | Repository link | 3 of 3 |
description | text | Description | 1 of 3 |
license | text | License | 1 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Package | Npm or gh | Found by | Period | Rank | Type rank | Hits total | Prev hits | Hits change (%) | Hits by day | Bandwidth bytes | Prev bandwidth bytes | Bandwidth rank | Cdnjs latest version | Github stars | Description | License | Period start date | Period end date | Jsdelivr link | Cdnjs link | Cdnjs file link | Repository link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | jquery | npm | packages | month | 27 | 19 | 1,889,707,809 | 1,816,696,201 | 4% | 2026 11 05: 68015752 · 2026 11 06: 73173175 · 2026 11 07: 71715177 | 53,878,971,773,929 | 57,506,352,902,306 | 61 | 4.1.0 | 60,101 | JavaScript library for DOM operations | MIT | Nov 5, 2026 | Dec 4, 2026 | jsdelivr.com/package/npm/jquery | cdnjs.com/libraries/jquery | cdnjs.cloudflare.com/ajax/libs/jquery/4.1.0/jquery.min.js | github.com/jquery/jquery |
| 2 | prebid/currency-file | gh | top_list | month | 1 | 1 | 40,441,344,849 | 41,988,225,017 | -3.7% | — | 57,977,142,481,535 | 61,987,427,044,797 | — | — | — | — | — | — | — | jsdelivr.com/package/gh/prebid/currency-file | — | — | github.com/prebid/currency-file |
| 3 | orioncactus/pretendard | gh | top_list | month | 2 | 2 | 33,559,043,168 | 31,570,399,092 | 6.3% | — | 3,689,157,655,397,369 | 3,604,865,266,481,792 | — | — | — | — | — | — | — | jsdelivr.com/package/gh/orioncactus/pretendard | — | — | github.com/orioncactus/pretendard |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Counts cover jsDelivr only: cdnjs gives versions and GitHub stars but publishes no request counts, and other CDNs and npm installs are not counted.
- Counts cover rolling periods that end on the latest full day jsDelivr has counted (in UTC), usually yesterday or the day before.
- Top-list rows have no daily series, period dates, bandwidth rank or cdnjs details; in a top list of one type (npm or gh), rank is empty and type_rank is the place in that list. A top list reads 100 packages a request, up to 1,000, and a page can take up to 10 seconds.
- Search rows pair each cdnjs library with the npm package of the same name on jsDelivr; a library published under another npm name shows 0 requests.
- cdnjs details and GitHub stars are filled only for libraries on cdnjs under the same name (scoped npm packages such as @popperjs/core have none); stars are cdnjs's own copy of the GitHub count.
- Named packages take two requests each and search rows one, so 100 packages take one to two minutes. Statistics from jsDelivr (www.jsdelivr.com) and cdnjs (cdnjs.com).
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.