cdnjs Libraries Scraper - Web Library Data
Pricing
from $1.60 / 1,000 results
cdnjs Libraries Scraper - Web Library Data
Export named cdnjs library records with descriptions and original version, license and repository metadata. Repository type is never treated as company.
Pricing
from $1.60 / 1,000 results
Rating
0.0
(0)
Developer
Ben
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
cdnjs Libraries Scraper
Read cdnjs library-search responses into a dataset while preserving the original library metadata. Use the default React search to inspect package identities, source descriptions and declared versions.
Start with the saved example
The public example shows the saved input and output fields. Run it, then open the resulting dataset to inspect the actual records.
{"searchUrls": ["https://api.cdnjs.com/libraries?search=react&fields=version,description,homepage,repository,license"],"maxResults": 3}
The September 11 sample contains react-is, react and react-dom. They are separate libraries even when their homepage or repository is shared. Match records by source and library name, not by homepage URL. Output indices count accepted libraries consecutively; nested repository objects do not become extra rows.
Scope and input
The Actor reads the API’s top-level results list or a single named library response. An empty results list is valid. Malformed JSON and failed fetches fail the run; rows saved from earlier input URLs remain available.
searchUrls supplies the public pages or API responses to request. maxResults caps rows separately for each URL, from 1 to 1,000; the schema default is 25. Two input URLs with a cap of three can produce six rows. There is no automatic pagination, cross-page deduplication or complete-inventory guarantee. Increasing the cap cannot reveal records absent from the response.
The company field remains null when cdnjs supplies no company. A repository type such as git describes the version-control format, not the publisher. Version, license, homepage, latest asset and repository values remain under raw. These are registry metadata; the Actor does not audit package safety, validate licensing rights or establish the latest upstream release.
Dated output example
This record comes from the September 11, 2026 source capture. Future source wording and ordering can change.
{"source": "cdnjs-libraries-scraper","kind": "web libraries","index": 1,"title": "react-is","company": null,"url": "https://reactjs.org/","description": "Brand checking of React Elements.","raw": {"name": "react-is","latest": "https://cdnjs.cloudflare.com/ajax/libs/react-is/19.2.1/cjs/react-is.production.min.js","version": "19.2.1","description": "Brand checking of React Elements.","license": "MIT","homepage": "https://reactjs.org/","repository": {"type": "git","url": "git+https://github.com/facebook/react.git"}},"input_url": "https://api.cdnjs.com/libraries?search=react&fields=version,description,homepage,repository,license","source_url": "https://api.cdnjs.com/libraries?search=react&fields=version,description,homepage,repository,license"}
| Field | Meaning |
|---|---|
title | Individual app or library name. |
url | Source item URL, or the library’s declared homepage/repository/asset URL. |
description | This item’s source summary; null when absent. |
source, kind | Existing source and record-type labels. |
index | One-based position among accepted rows for this input URL. |
input_url, source_url | Requested URL and final response URL after redirects. |
company | Optional explicit publisher/company value; missing information must not be inferred. |
raw | Original library or structured JSON record when supplied. |
Keep JSON when nulls and nested metadata matter. CSV and Excel exports are useful for a manual review. Store the run or dataset ID beside the export to retain its collection time. Compare source plus library name across dated captures, and keep your evaluation notes separate from source descriptions. A missing record in a capped response does not prove removal or loss of support.
Pricing
Charges apply to exported rows plus the existing memory-based Actor start event. Result charges per 1,000 rows are:
| Plan | Result charge per 1,000 |
|---|---|
| Free | $2 |
| Bronze | $1.8 |
| Silver | $1.7 |
| Gold | $1.6 |
| Platinum | $1.5 |
| Diamond | $1.4 |
The Free start rate is $0.00005 per GB with a one-unit minimum; paid plans retain their displayed discounts. The Actor’s unchanged 4,096 MB default uses four start units. The Pricing tab shows current terms. Set a total charge cap for bounded API or Console runs.
Questions and operating notes
Does a listed item prove compatibility or quality? No. The export records directory or registry claims. Evaluate the current item documentation for your intended use.
Can I schedule it? Apify supports Tasks, schedules, webhooks and dataset APIs. Check a small example before adding recurring work; this Actor does not maintain comparison history or send notifications itself.
What happens when a source fails? Failed fetches fail the run while preserving earlier rows. Check the final status and server log before treating a multi-URL dataset as complete. Keep the previous valid snapshot if a refresh fails.
What should I report? Open an Actor issue with the public input, run ID and expected field. Exclude account credentials and private data. Respect the source’s terms and applicable rights when reusing its descriptions.
Where are the version and license fields? They remain in the original library object under raw, such as raw.version and raw.license, when the requested API response includes them. The saved input requests those fields explicitly. Preserve the nested object in JSON if you need to inspect its exact values later.
Why do react and react-dom have the same URL? Libraries can share a project homepage or repository. The URL is a declared project location, not a unique library key. Keep raw.name or the matching title with the Actor source to distinguish packages.
Does raw.latest mean the latest upstream release? It is the asset URL reported by cdnjs for that response. It does not establish that the asset matches the newest release published elsewhere, and this Actor does not download or execute it to verify behavior.
Can I join these libraries to app-directory exports? Keep them as different record types. A library is not an installed integration, and a shared company or project name is insufficient for a join. The software catalog review preserves library names alongside app and template identities without merging them.
Are duplicate library records removed? The Actor keeps the first accepted record for each library name within one input response. The same library in two requested URLs can appear twice, with separate input provenance.
For a related developer-app catalog, use the GitHub Marketplace Scraper; its Marketplace app URLs identify a different kind of product.
Keywords: cdnjs library search, JavaScript libraries, CSS libraries, library names, version metadata, license metadata, repository records, JSON export, software inventory.