{"uid":"cap_KoB4mFLY8xNIO0xGRoOm5","slug":"cdnjs-library-lookup-d2ad58a8","name":"cdnjs Library Lookup","description":"cdnjs library lookup: latest version, description, homepage, license, default file and its full CDN URL with SRI hash, GitHub repo, and the latest 15 versions. Instant script tags for front-end agents. $0.01 per library.","url":"https://intel.rallylive.ca/dev/cdnjs","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EufzFrFMQOmDY8bF5JkqV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a JavaScript library on cdnjs, returning its latest version, CDN URL, SRI hash, license, homepage, GitHub repo, and the 15 most recent versions for instant script tag generation.","exampleAgentPrompt":"Look up lodash on cdnjs and give me the latest version's full CDN script tag with the SRI integrity hash so I can drop it straight into my HTML.","exampleUseCases":[{"title":"Generating a CSP-safe script tag","prompt":"I need the cdnjs CDN URL and integrity hash for the latest version of axios so I can add it to my HTML with a proper integrity attribute."},{"title":"Checking current library version","prompt":"What's the latest version of chart.js available on cdnjs, and what's its license?"},{"title":"Finding older supported versions","prompt":"Can you pull the last 15 versions of three.js from cdnjs? I need to know which ones are available so I can pick one compatible with my project."}],"resultDescription":"Returns the library's latest version number, description, homepage URL, license, default file path and its full CDN URL, the SRI hash for that file, a link to its GitHub repository, and a list of the 15 most recent versions — everything needed to generate a ready-to-use HTML script tag.","failureModes":["Library not found on cdnjs — returns an error or empty result","Misspelled library name — no match returned","Library exists but has no default file set — CDN URL may be absent","Network timeout fetching cdnjs API — service error returned"],"whenToPreferThis":"Use this endpoint when an agent needs to generate or verify a CDN script tag for a front-end JavaScript library, especially when SRI hashes are required for Content Security Policy compliance. Prefer this over generic web scraping when you need structured, parsed cdnjs metadata including version history and integrity hashes in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:13:20.833Z","isFirstParty":false}