npm Registry API
Query information about your favorite Node.js libraries programmatically
- Our call
- HTTP 200
- Latency
- 1,304 ms
- From a browser
- Allowed
- Key
- No key
- Docs link
- Answered
https://registry.npmjs.org/react/latestPress Run: the request leaves from your browser, and you see what it gets back.
const res = await fetch("https://registry.npmjs.org/react/latest");
if (!res.ok) throw new Error(`HTTP ${res.status}`);
const data = await res.json();
console.log(data);curl -sS 'https://registry.npmjs.org/react/latest'import requests
r = requests.get("https://registry.npmjs.org/react/latest", timeout=10)
r.raise_for_status()
print(r.json())npm Registry docsMore Development APIs
Come back to see anything that changed: answers, keys, browser access, rate limits.
Our test call Measured by us
- Request
GET https://registry.npmjs.org/react/latest- Result
- HTTP 200 in 1,304 ms (1,316 ms with the body)
- From a browser
- Browser OK Access-Control-Allow-Origin: *
- HTTPS
- Yes
- Response
- application/json, 2,150 bytes, a JSON object
- Fields
bugsdistmainnameenginesexportsgitHeadlicense_npmUserhomepage- Rate-limit headers
- none sent (that doesn't mean unlimited)
Access-Control-Allow-Origin: * to us, so browser code can call it.Change log Measured by us
No changes seen since we started tracking on 2026-11-06. Each check compares the answer, the key requirement, the browser (CORS) header and the rate limit with the run before.
What the list says From the public-apis list
- Category
- Development
- Auth
- No key
- CORS
- Not recorded Our call disagrees
- Docs link
- github.com answered 200 in 4777 ms on 2026-11-06 Measured
npm Registry is listed in Development. npm Registry needs no key: you can call it without signing up. The list doesn't record whether it allows browser calls (CORS), so test that before building a browser-only app on it.
The list has 220 Development APIs: 68 need no key, 138 need an API key and 14 use OAuth, and 122 of them are marked as allowing browser calls. 17 others have the same setup, such as API Grátis, APILayer and APIs.guru.
npm Registry and other Development APIs
| Fact | npm Registry (this page) | Agify.io | CDNJS | Genderize.io | Httpbin |
|---|---|---|---|---|---|
| Key needed From the public-apis list | No key | No key | No key | No key | No key |
| CORS, as listed From the public-apis list | Not recorded | Yes | Not recorded | Yes | Yes |
| Our test call Measured by us | 1,304 ms | 2,758 ms | 1,250 ms | 3,624 ms | 1,337 ms |
| Browser call Measured by us | Allowed | Allowed | Allowed | Allowed | Allowed |
| Docs link Measured by us | Answered | Answered | Answered | Answered | Answered |
Questions
Does npm Registry need an API key?
npm Registry needs no key: you can call it without signing up.
Can I call npm Registry from JavaScript in the browser?
Yes. When we called it it sent Access-Control-Allow-Origin: *, so a web page can call it directly.
Where are the npm Registry docs?
At https://github.com/npm/registry/blob/master/docs/REGISTRY-API.md. When we checked, the link answered 200 in 4777 ms.
What are some alternatives to npm Registry?
Other Development APIs in the list include API Grátis, APILayer, APIs.guru and CDNJS.
Listing from public-apis (github.com/marcelscruz/public-apis), MIT. Measurements are ours: how we check.