Request
Do not start with it. 10th of 10 HTTP clients.
Request was once the standard callback-style HTTP client for Node.js. It has been deprecated since February 2020, its last release is 2.88.2, and a known SSRF advisory will never be fixed. Do not use it in new projects. Use the built-in fetch, undici, Got, Ky or Axios instead.
Best for: No one starting a new project. It is only for legacy Node.js codebases that cannot migrate yet.
Scores
Overall1.3
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 1.0, likely 0.0 to 2.0
It is deprecated, unmaintained for years, and carries an unfixed advisory and stale dependencies. Every peer in the bundle, and Node's built-in fetch, is a better choice. Its large download count is legacy transitive use, not active choice.
- npm deprecated: Officially deprecated
- security.snyk.io/package/npm/request/2.88.2: Unfixed SSRF advisory
- peers: Axios, Got, Ky and undici are all active and growing
GPT-6.2 Sol: 1.5, likely 0.7 to 2.3
Request still handles demanding Node.js workflows, especially in code that relies on its streaming and proxy behavior. For new work, built-in fetch covers ordinary requests and Got offers a maintained Node.js client with more controls. Formal deprecation, falling reach, and an unresolved advisory leave little uncertainty about the recommendation.
- github.com/request/request: Documents the feature set and the end of support.
- github.com/advisories/GHSA-p8p7-x288-28g6: The current release has an unresolved security advisory.
- nodejs.org/api/globals.html#fetch: Node.js ships fetch as a built-in HTTP client.
- github.com/sindresorhus/got/blob/main/documentation/migration-guides/request.md: Got documents how to migrate from Request.
- peers Got commitsLastYear, latestPublishedAt; npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo: Got shipped in October 2026 while Request’s downloads fell year over year.
Needed by many4.8
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Sending HTTP requests is a near-universal need, but Request serves only Node.js servers, not browsers. Its callback-style approach is also one few people want today. That makes it narrower than the category.
- request README: Node.js-only, callback-based client
- category.job: The category covers both browser and server
GPT-6.2 Sol: 4.6, likely 3.6 to 5.8
Sending HTTP requests is common across JavaScript projects. Request’s API is built around Node.js callbacks and streams, and built-in fetch already covers routine calls. The share of Node.js teams that need Request’s particular combination of options is hard to estimate.
- jokerconf.com/research/state-of-frontend/2025/report.html: Fetch and Axios led reported API tool use in this frontend survey.
- github.com/request/request: The documented API uses Node.js streams and callbacks.
- nodejs.org/api/globals.html#fetch: Node.js includes browser-compatible fetch.
Helps a lot4.2
How well does it do the job for those who need it?
Claude Opus 5.5: 3.0, likely 2.0 to 4.0
It still works and has a rich feature set. But it has no promises, no TypeScript types bundled, no HTTP/2 and no browser support, and its design dates from 2011. Every peer, and Node's built-in fetch, does the job better for new code.
- npm hasTypes: No bundled types
- dev.to/bearer/request-for-node-js-has-been-deprecated-422: Users say the callback interface is hard to work with
- npm latestVersion: 2.88.2, published in 2020
GPT-6.2 Sol: 5.4, likely 4.3 to 6.5
Version 2.88.2 handles streaming, forms, proxies, and detailed timings, and the README documents those options with examples. Async/await and TypeScript require extra setup. Request ran close to Axios and Got in undici’s HTTP/1.1 benchmark, but that single workload leaves performance in other settings uncertain.
- github.com/request/request: Documents transport options, callback examples, timing, and promise wrappers.
- npm latestVersion, hasTypes: Version 2.88.2 ships without TypeScript declarations.
- raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/types/request/index.d.ts: DefinitelyTyped supplies separate Node.js declarations.
- github.com/nodejs/undici#benchmarks: Request was near Axios and Got and well behind undici’s lower-level APIs in one test.
Holds up over time0.5
Will it still be a good choice in two years?
Claude Opus 5.5: 0.5, likely 0.0 to 1.0
The maintainers deprecated the package in February 2020. There have been no commits or releases in the last year and no published version since 2.88.2. The ecosystem has moved to fetch and undici, and forks such as @cypress/request exist only to keep legacy users running.
- npm deprecated: Deprecation notice pointing to issue #3142
- github commitsLastYear: 0 commits, 0 releases
- github.com/request/request/issues/3142: Announcement of maintenance mode, then full deprecation
GPT-6.2 Sol: 0.5, likely 0.0 to 1.4
The maintainers ended support in 2020, when the last npm version shipped. The repository remains open and recorded zero commits in the past year. The explicit end of support and years without a release make this a narrow estimate.
- github.com/request/request: The README confirms full deprecation in February 2020.
- github.com/request/request/issues/3142: The maintainers explain the decision to wind down development.
- npm latestPublishedAt, versionsLastYear, deprecated: Last published in February 2020 and deprecated on npm.
- github archived, commitsLastYear, releasesLastYear: Repository is unarchived with no commits or releases in the past year.
Used widely4.9
How many use it, and is that growing?
Claude Opus 5.5: 4.0, likely 3.0 to 5.0
It still has about 57M downloads per 4 weeks and roughly 848k dependent repositories, but almost all of that comes from old transitive dependencies. Its year-over-year ratio is about 0.96, against a median of 4.1, so it is losing ground fast. Very few new projects choose it.
- npm downloadsLast4Weeks: 57.1M now vs 59.2M a year ago
- medianDownloadsRatio: Median is 4.1, far above Request's 0.96
- dependents.repos: 847,768 repos, mostly legacy
- bluesky posts: 0 posts, no current attention
GPT-6.2 Sol: 5.7, likely 4.3 to 7.0
Ecosyste.ms found about 848,000 dependent repositories and 58,000 dependent packages, evidence of a large installed base. Four-week downloads fell from 59.2 million to 57.1 million, a ratio of 0.96 against the catalog median of 4.1. Existing projects and transitive installs account for some of that volume, and the data leave the number of new direct choices uncertain.
- dependents repos, packages: Ecosyste.ms found 847,768 repositories and 58,231 npm packages.
- npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Downloads fell by about 3.6 percent while the catalog median ratio was 4.1.
- github stars, bluesky posts, peers: Request has 25,477 stars and zero tracked Bluesky links, versus 83 for Axios and 59 for undici.
- github.com/razorpay/ifsc/issues/472: A 2026 downstream report documents Request arriving as a transitive install.
Vouched for2.1
Who stands behind it being good?
Claude Opus 5.5: 1.5, likely 1.0 to 3.0
Its past endorsements are old. Its own maintainers now tell users to choose another tool, and current write-ups mention it only as something to migrate away from. Nobody currently stands behind it for new work.
- dev.to/bearer/request-for-node-js-has-been-deprecated-422: The creator says it is an incumbent and no longer an innovator
- medium.com/@codewin/npm-warn-deprecated-request-2-88-2-b6da20766fd7: Coverage is about removing it
- hackerNews stories: No recent stories
GPT-6.2 Sol: 2.6, likely 1.5 to 3.8
A production user reported that Request’s timings helped diagnose connection problems, and Box’s Node SDK used the library before switching to a fork in 2023. Those are concrete examples of past use. Recent downstream reports focus on removing or overriding the dependency, and current evidence of teams choosing it is thin.
- reddit.com/r/node/comments/ieke6p/what_is_your_request_replacement_in_production: A developer describes using Request’s timing option to debug production timeouts.
- github.com/box/box-node-sdk/blob/main/CHANGELOG.md: Box replaced Request with @cypress/request in SDK 3.3.0.
- github.com/EyeSeeTea/metadata-synchronization/blob/development/RESOLUTIONS.md: A downstream project documents overrides for vulnerable Request dependencies.
Safe1.6
How safe is it to depend on?
Claude Opus 5.5: 2.0, likely 1.0 to 3.0
A moderate SSRF advisory, CVE-2023-28155, has a fix on master that was never published, and Snyk says no fix is expected. It pulls in 20 dependencies pinned to old lines that miss later fixes in form-data and tough-cookie. Its Scorecard is 3.6 and marks it unmaintained, although the licence is permissive.
- security.snyk.io/package/npm/request/2.88.2: SSRF fix not published, not expected
- security-tracker.debian.org/tracker/CVE-2023-28155: Listed as unfixed upstream
- nvd.nist.gov/vuln/detail/CVE-2025-7783: form-data before 2.5.4 is vulnerable; request pins ~2.3
- scorecard score: 3.6, with Maintained at 0
- npm dependencies: 20 dependencies
GPT-6.2 Sol: 1.2, likely 0.4 to 2.4
The latest release is affected by a moderate server-side request forgery advisory with no upstream fix. An older memory exposure was fixed in 2.68.0. The package has a permissive Apache-2.0 licence, 20 direct dependencies, and a Scorecard of 3.6 out of 10 with zeroes for maintenance and security policy. Its form-data range excludes the patched release, and actual exposure depends on which features the application uses.
- github.com/advisories/GHSA-p8p7-x288-28g6: Request 2.88.2 is affected and has no patched version.
- github.com/advisories/GHSA-7xfp-9c55-5vqj: The older memory exposure was patched in 2.68.0.
- github.com/advisories/GHSA-fjxv-7rqg-78g4: The critical form-data advisory was fixed on the 2.x line in 2.5.4.
- github.com/EyeSeeTea/metadata-synchronization/blob/development/RESOLUTIONS.md: Documents Request’s form-data range resolving to vulnerable version 2.3.3.
- npm dependencies, license; scorecard score, checks: 20 direct dependencies, Apache-2.0, and weak maintenance and security checks.
Good
- Its API is familiar and widely documented, and it has broad features such as streams, OAuth signing, cookies, proxies and multipart.
- It is used by a huge number of existing codebases, so old examples and answers are easy to find.
- Its Apache-2.0 licence is permissive.
Bad
- It has been officially deprecated since 2020, with no commits or releases since, and npm prints a deprecation warning on every install.
- The SSRF advisory CVE-2023-28155 is unfixed in any published release, and no fix is expected.
- It is callback-based, has no promises and no bundled types, and does not run in browsers.
- It pins old dependency lines such as form-data ~2.3 and tough-cookie ~2.5, which miss later security fixes.
The numbers
- npm downloads, 4 weeks
- 57M −4% in a year
- GitHub stars
- 25k
- Commits, 12 months
- 0
- npm version
- 2.88.2 Feb 2020
- Versions, 12 months
- 0
- Advisories, 24 months
- 0 of 2 ever
- OpenSSF Scorecard
- 3.6 out of 10, Nov 2026
- Licence
- Apache-2.0
Read on 21 November 2026 from GitHub (request/request), npm (request), OSV and the OpenSSF Scorecard.