{"api":{"id":"api_9910be22d08de8c92d1634c2","slug":"js-cdn-usage","name":"JavaScript CDN Usage","description":"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.","kind":"ready_made","visibility":"public","domain":"jsdelivr.com","source_url":"https://www.jsdelivr.com/docs/data.jsdelivr.com","category":"developer","record_type":"generic","active_version":"1.0","units_per_1k":2000,"health":"unknown","auto_repair":false,"last_checked_at":null,"last_run_at":null,"fields_count":23,"created_at":"2026-12-06T03:33:09.225Z","updated_at":"2026-12-06T03:33:09.225Z","runnable":true,"egress":null,"repairs":[],"repairs_total":0,"how":"Runs on a reader we built and maintain by hand for this site.","fields":[{"name":"package","type":"string","description":"npm package name, or user/repo for a GitHub repository served by jsDelivr.","required":true,"coverage":1,"example":"jquery"},{"name":"type","type":"string","description":"npm or gh (a GitHub repository).","required":true,"coverage":1,"example":"npm"},{"name":"found_by","type":"string","description":"Why it is in the results: packages (you named it), search (a cdnjs match) or top_list.","required":false,"coverage":1,"example":"packages"},{"name":"period","type":"string","description":"The period the counts cover: day, week, month, quarter or year.","required":false,"coverage":1,"example":"month"},{"name":"period_start_date","type":"date","description":"First day the counts cover.","required":false,"coverage":0.2,"example":"2026-11-05"},{"name":"period_end_date","type":"date","description":"Last day the counts cover.","required":false,"coverage":0.2,"example":"2026-12-04"},{"name":"rank","type":"integer","description":"Rank among all jsDelivr packages by requests in the period (1 = most requested).","required":false,"coverage":1,"example":27},{"name":"type_rank","type":"integer","description":"Rank among packages of the same type (npm or gh).","required":false,"coverage":1,"example":19},{"name":"hits_total","type":"integer","description":"Requests jsDelivr served for the package in the period.","required":false,"coverage":1,"example":1889707809},{"name":"prev_hits","type":"integer","description":"Requests in the period of the same length just before.","required":false,"coverage":1,"example":1816696201},{"name":"hits_change_percent","type":"number","description":"Change in requests from the period before, in percent.","required":false,"coverage":1,"example":4},{"name":"hits_by_day","type":"object","description":"Requests per day, as {\"2026-11-05\": 68015752, ...}.","required":false,"coverage":0.2,"example":{"2026-11-05":68015752,"2026-11-06":73173175,"2026-11-07":71715177,"2026-11-08":71040167,"2026-11-09":72455409}},{"name":"bandwidth_bytes","type":"integer","description":"Bytes jsDelivr served for the package in the period.","required":false,"coverage":1,"example":53878971773929},{"name":"prev_bandwidth_bytes","type":"integer","description":"Bytes served in the period just before.","required":false,"coverage":1,"example":57506352902306},{"name":"bandwidth_rank","type":"integer","description":"Rank among all jsDelivr packages by bytes served.","required":false,"coverage":0.2,"example":61},{"name":"jsdelivr_url","type":"url","description":"The package's page on jsDelivr.","required":false,"coverage":1,"example":"https://www.jsdelivr.com/package/npm/jquery"},{"name":"cdnjs_latest_version","type":"string","description":"Latest version on cdnjs.","required":false,"coverage":0.2,"example":"4.1.0"},{"name":"cdnjs_url","type":"url","description":"The library's page on cdnjs.","required":false,"coverage":0.2,"example":"https://cdnjs.com/libraries/jquery"},{"name":"cdnjs_file_url","type":"url","description":"CDN link to the library's main file in its latest version on cdnjs.","required":false,"coverage":0.2,"example":"https://cdnjs.cloudflare.com/ajax/libs/jquery/4.1.0/jquery.min.js"},{"name":"github_stars","type":"integer","description":"Stars of the library's GitHub repository, as cdnjs lists them.","required":false,"coverage":0.2,"example":60101},{"name":"repository_url","type":"url","description":"The library's GitHub repository.","required":false,"coverage":0.6,"example":"https://github.com/jquery/jquery"},{"name":"description","type":"string","description":"The library's description on cdnjs.","required":false,"coverage":0.2,"example":"JavaScript library for DOM operations"},{"name":"license","type":"string","description":"License on cdnjs, such as MIT.","required":false,"coverage":0.2,"example":"MIT"}],"inputs":[{"name":"packages","type":"array","description":"npm package names to look up, such as jquery, bootstrap or @popperjs/core.","example":["jquery"]},{"name":"period","type":"string","description":"The period counts cover: the last day, week, month (30 days), quarter or year.","default":"month","example":"month","enum":["day","week","month","quarter","year"]},{"name":"top_list","type":"boolean","description":"Also return jsDelivr's most-requested packages for the period, most requests first.","default":false,"example":true},{"name":"top_list_type","type":"string","description":"Which packages the top list ranks: all, npm packages only, or GitHub repositories only (gh).","default":"all","enum":["all","npm","gh"]},{"name":"search","type":"string","description":"Words to search cdnjs libraries for, such as vue or charts. Each match comes with its jsDelivr counts.","example":"vue"},{"name":"max_results","type":"integer","description":"Most records to return in one run, 1 to 1,000.","default":100,"example":100}],"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":true,"properties":{"bandwidth_bytes":{"description":"Bytes jsDelivr served for the package in the period.","type":"integer"},"bandwidth_rank":{"description":"Rank among all jsDelivr packages by bytes served.","type":"integer"},"cdnjs_file_url":{"description":"CDN link to the library's main file in its latest version on cdnjs.","format":"uri","type":"string"},"cdnjs_latest_version":{"description":"Latest version on cdnjs.","type":"string"},"cdnjs_url":{"description":"The library's page on cdnjs.","format":"uri","type":"string"},"description":{"description":"The library's description on cdnjs.","type":"string"},"found_by":{"description":"Why it is in the results: packages (you named it), search (a cdnjs match) or top_list.","type":"string"},"github_stars":{"description":"Stars of the library's GitHub repository, as cdnjs lists them.","type":"integer"},"hits_by_day":{"description":"Requests per day, as {\"2026-11-05\": 68015752, ...}.","type":"object"},"hits_change_percent":{"description":"Change in requests from the period before, in percent.","type":"number"},"hits_total":{"description":"Requests jsDelivr served for the package in the period.","type":"integer"},"jsdelivr_url":{"description":"The package's page on jsDelivr.","format":"uri","type":"string"},"license":{"description":"License on cdnjs, such as MIT.","type":"string"},"package":{"description":"npm package name, or user/repo for a GitHub repository served by jsDelivr.","type":"string"},"period":{"description":"The period the counts cover: day, week, month, quarter or year.","type":"string"},"period_end_date":{"description":"Last day the counts cover.","format":"date","type":"string"},"period_start_date":{"description":"First day the counts cover.","format":"date","type":"string"},"prev_bandwidth_bytes":{"description":"Bytes served in the period just before.","type":"integer"},"prev_hits":{"description":"Requests in the period of the same length just before.","type":"integer"},"rank":{"description":"Rank among all jsDelivr packages by requests in the period (1 = most requested).","type":"integer"},"repository_url":{"description":"The library's GitHub repository.","format":"uri","type":"string"},"type":{"description":"npm or gh (a GitHub repository).","type":"string"},"type_rank":{"description":"Rank among packages of the same type (npm or gh).","type":"integer"}},"required":["package","type"],"title":"JavaScript CDN Usage","type":"object"},"samples":[{"package":"jquery","type":"npm","found_by":"packages","period":"month","period_start_date":"2026-11-05","period_end_date":"2026-12-04","rank":27,"type_rank":19,"hits_total":1889707809,"prev_hits":1816696201,"hits_change_percent":4,"hits_by_day":{"2026-11-05":68015752,"2026-11-06":73173175,"2026-11-07":71715177,"2026-11-08":71040167,"2026-11-09":72455409,"2026-11-10":66401226,"2026-11-11":58889401,"2026-11-12":59420553,"2026-11-13":59487266,"2026-11-14":56156846,"2026-11-15":52871696,"2026-11-16":57195214,"2026-11-17":59396835,"2026-11-18":60530619},"bandwidth_bytes":53878971773929,"prev_bandwidth_bytes":57506352902306,"bandwidth_rank":61,"jsdelivr_url":"https://www.jsdelivr.com/package/npm/jquery","cdnjs_latest_version":"4.1.0","cdnjs_url":"https://cdnjs.com/libraries/jquery","cdnjs_file_url":"https://cdnjs.cloudflare.com/ajax/libs/jquery/4.1.0/jquery.min.js","github_stars":60101,"repository_url":"https://github.com/jquery/jquery","description":"JavaScript library for DOM operations","license":"MIT"},{"package":"prebid/currency-file","type":"gh","found_by":"top_list","period":"month","period_start_date":null,"period_end_date":null,"rank":1,"type_rank":1,"hits_total":40441344849,"prev_hits":41988225017,"hits_change_percent":-3.7,"hits_by_day":null,"bandwidth_bytes":57977142481535,"prev_bandwidth_bytes":61987427044797,"bandwidth_rank":null,"jsdelivr_url":"https://www.jsdelivr.com/package/gh/prebid/currency-file","cdnjs_latest_version":null,"cdnjs_url":null,"cdnjs_file_url":null,"github_stars":null,"repository_url":"https://github.com/prebid/currency-file","description":null,"license":null},{"package":"orioncactus/pretendard","type":"gh","found_by":"top_list","period":"month","period_start_date":null,"period_end_date":null,"rank":2,"type_rank":2,"hits_total":33559043168,"prev_hits":31570399092,"hits_change_percent":6.3,"hits_by_day":null,"bandwidth_bytes":3689157655397369,"prev_bandwidth_bytes":3604865266481792,"bandwidth_rank":null,"jsdelivr_url":"https://www.jsdelivr.com/package/gh/orioncactus/pretendard","cdnjs_latest_version":null,"cdnjs_url":null,"cdnjs_file_url":null,"github_stars":null,"repository_url":"https://github.com/orioncactus/pretendard","description":null,"license":null}],"validation":{"checked_at":"2026-12-06T03:33:09.177Z","field_coverage":{"bandwidth_bytes":1,"bandwidth_rank":0.33,"cdnjs_file_url":0.33,"cdnjs_latest_version":0.33,"cdnjs_url":0.33,"description":0.33,"found_by":1,"github_stars":0.33,"hits_by_day":0.33,"hits_change_percent":1,"hits_total":1,"jsdelivr_url":1,"license":0.33,"package":1,"period":1,"period_end_date":0.33,"period_start_date":0.33,"prev_bandwidth_bytes":1,"prev_hits":1,"rank":1,"repository_url":1,"type":1,"type_rank":1},"fresh_read":false,"identity_unique":true,"issues":["Imported from a hand-built source. Field names and types come from its published schema; no live read was made for this check."],"level":"preview","pages_checked":0,"passed":true,"records_checked":3},"links":{"run":"https://pullrow.dev/v1/apis/api_9910be22d08de8c92d1634c2/run","openapi":"https://pullrow.dev/v1/apis/api_9910be22d08de8c92d1634c2/openapi.json","contract":"https://pullrow.dev/v1/apis/api_9910be22d08de8c92d1634c2/contract.json","page":"https://pullrow.dev/catalog/js-cdn-usage"},"runs_30d":0,"success_rate_30d":null,"price_per_1k_usd":2,"featured":false,"reliability":{"window_days":30,"runs":0,"completed":0,"succeeded":0,"failed":0,"success_rate":null,"last_run_at":null},"demo":{"available":false,"max_records":0,"reason":"Every run of this API costs us money, so it has no free live demo. The sample records on its page show what it returns.","code":"demo_not_available"},"meta":{"limitations":["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)."]},"plain":{"summary":null,"source":"rules","fields":[{"name":"package","label":"Package","description":"npm package name, or user/repo for a GitHub repository served by jsDelivr.","group":"Basics","shown":true,"written":false},{"name":"type","label":"Npm or gh","description":"","group":"Basics","shown":true,"written":false},{"name":"found_by","label":"Found by","description":"Why it is in the results: packages (you named it), search (a cdnjs match) or top_list.","group":"Basics","shown":true,"written":false},{"name":"period","label":"Period","description":"The period the counts cover: day, week, month, quarter or year.","group":"Basics","shown":true,"written":false},{"name":"period_start_date","label":"Period start date","description":"First day the counts cover.","group":"Dates","shown":true,"written":false},{"name":"period_end_date","label":"Period end date","description":"Last day the counts cover.","group":"Dates","shown":true,"written":false},{"name":"rank","label":"Rank","description":"Rank among all jsDelivr packages by requests in the period (1 = most requested).","group":"Basics","shown":true,"written":false},{"name":"type_rank","label":"Type rank","description":"Rank among packages of the same type (npm or gh).","group":"Basics","shown":true,"written":false},{"name":"hits_total","label":"Hits total","description":"Requests jsDelivr served for the package in the period.","group":"Basics","shown":true,"written":false},{"name":"prev_hits","label":"Prev hits","description":"Requests in the period of the same length just before.","group":"Basics","shown":true,"written":false},{"name":"hits_change_percent","label":"Hits change (%)","description":"Change in requests from the period before, in percent.","group":"Basics","shown":true,"written":false},{"name":"hits_by_day","label":"Hits by day","description":"Requests per day, as {\"2026-11-05\": 68015752, ...}.","group":"Basics","shown":true,"written":false},{"name":"bandwidth_bytes","label":"Bandwidth bytes","description":"Bytes jsDelivr served for the package in the period.","group":"Basics","shown":true,"written":false},{"name":"prev_bandwidth_bytes","label":"Prev bandwidth bytes","description":"Bytes served in the period just before.","group":"Basics","shown":true,"written":false},{"name":"bandwidth_rank","label":"Bandwidth rank","description":"Rank among all jsDelivr packages by bytes served.","group":"Basics","shown":true,"written":false},{"name":"jsdelivr_url","label":"Jsdelivr link","description":"The package's page on jsDelivr.","group":"Links","shown":true,"written":false},{"name":"cdnjs_latest_version","label":"Cdnjs latest version","description":"","group":"Basics","shown":true,"written":false},{"name":"cdnjs_url","label":"Cdnjs link","description":"The library's page on cdnjs.","group":"Links","shown":true,"written":false},{"name":"cdnjs_file_url","label":"Cdnjs file link","description":"CDN link to the library's main file in its latest version on cdnjs.","group":"Links","shown":true,"written":false},{"name":"github_stars","label":"Github stars","description":"Stars of the library's GitHub repository, as cdnjs lists them.","group":"Basics","shown":true,"written":false},{"name":"repository_url","label":"Repository link","description":"The library's GitHub repository.","group":"Links","shown":true,"written":false},{"name":"description","label":"Description","description":"The library's description on cdnjs.","group":"Basics","shown":true,"written":false},{"name":"license","label":"License","description":"License on cdnjs, such as MIT.","group":"Basics","shown":true,"written":false}],"inputs":[{"name":"packages","label":"Packages","help":"npm package names to look up, such as jquery, bootstrap or @popperjs/core.","example":"jquery","written":false},{"name":"period","label":"Period","help":"The period counts cover: the last day, week, month (30 days), quarter or year.","example":"month","written":false},{"name":"top_list","label":"Top list","help":"Also return jsDelivr's most-requested packages for the period, most requests first.","example":"true","written":false},{"name":"top_list_type","label":"Top list type","help":"Which packages the top list ranks: all, npm packages only, or GitHub repositories only (gh).","example":"","written":false},{"name":"search","label":"Search","help":"Words to search cdnjs libraries for, such as vue or charts. Each match comes with its jsDelivr counts.","example":"vue","written":false},{"name":"max_results","label":"Maximum results","help":"Most records to return in one run, 1 to 1,000.","example":"100","written":false}]}},"incidents":[]}