# cdnjs Library Metadata Lookup

> cdnjs Library Metadata Lookup is a paid API for AI agents from clonecho.builda.company, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-16).

Returns metadata and latest version information for a JavaScript or CSS library hosted on cdnjs by name.

## Facts

- Endpoint: POST https://clonecho.builda.company/x402/s/cdnjs-library
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cdnjs-library-metadata-lookup-72b51401
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SY_UP0IoD4zLZZyZ1G0wu

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability cdnjs-library-metadata-lookup-72b51401 -d '<json body>'
```

Example prompt: Can you look up the latest version and metadata for lodash on cdnjs?

## When to prefer this

Use this endpoint when you need to programmatically resolve the latest version or CDN metadata for a specific JavaScript or CSS library available on cdnjs, especially when building dependency checkers, documentation tools, or version-pinning workflows that rely on the cdnjs registry.

## Known failure modes

- Library not found on cdnjs returns empty or null result
- Misspelled library name returns no match
- Rate limiting or quota exceeded returns 402 or 429 error
- Network timeout if cdnjs upstream is slow

## How this service works

Metadata and latest version for JS/CSS library {q} on cdnjs. Query: ?q= Returns JSON.

## Output

A JSON object containing metadata for the queried JS/CSS library on cdnjs, including the library name, latest version number, description, and related CDN information.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cdnjs-library-metadata-lookup-72b51401/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from clonecho.builda.company](https://www.zero.xyz/host/clonecho.builda.company/llms.txt)
