GuidesCORS ANYWHERE
See /corsdemo for more info: fix the CORS Anywhere 403
cors-anywhere.herokuapp.com is the public demo of CORS Anywhere, and it answers 403 with "See /corsdemo for more info" until you opt in. The opt-in only unlocks your own IP, so your visitors keep getting the error. cors.dev takes the same URL shape with no opt-in: put https://proxy.cors.dev/ in front of the target URL and it works for every visitor, free for GET and HEAD with no key or signup.
Why cors-anywhere.herokuapp.com says See /corsdemo
cors-anywhere.herokuapp.com was never meant to run live apps. It is the public demo of CORS Anywhere, an open-source Node.js project by Rob Wu. In February 2021 he locked the demo down because of abuse, after Heroku asked him to shut it down, as announced in issue 301. The demo page says it is for development only, and the announced limit is 50 requests an hour.
| Request | Status | What comes back |
|---|---|---|
| fetch() from your page before the opt-in | 403 Forbidden | Plain text: See /corsdemo for more info |
| The same URL opened in a browser tab | 303 See Other | A redirect to /corsdemo |
| fetch() after Request temporary access | 200 OK | The API response, for your IP address only |
| curl or server code after the opt-in | 400 Bad Request | Missing required request header. Must specify one of: origin,x-requested-with |
What Request temporary access unlocks
/corsdemo has one button, Request temporary access to the demo server. Click it, reload your app, and your requests go through. That is the catch.
When we tested it on 24 November 2026, the unlock covered the whole IP address: a different browser and a different site on the same IP worked right after. Your visitors are on their own IPs, so they keep getting the 403. The result is a site that works for you and breaks for everyone else.
Self-hosting CORS Anywhere skips the opt-in, but then you deploy, pay for and secure a Node.js server just to forward API calls.
Fix it: replace the prefix with proxy.cors.dev
cors.dev uses the same URL shape, with the target URL right after the origin. Swap https:// for https://proxy.cors.dev/ and you're done:
// Before: 403 "See /corsdemo for more info" for every visitor who has not opted in
// const proxy = 'https://cors-anywhere.herokuapp.com/';
// After: same URL shape, no opt-in, no key, no extra headers
const proxy = 'https://proxy.cors.dev/';
const response = await fetch(proxy + 'https://api.example.com/data?limit=10');
if (!response.ok) {
throw new Error(`HTTP ${response.status}: ${response.headers.get('X-Cors-Error') ?? 'upstream error'}`);
}
const data = await response.json();- No opt-in, no account and no key: GET and HEAD to public APIs are free on cors.dev, for every visitor.
- No required headers: requests with or without
Originwork, so curl and server code get through too. - Query strings reach the API untouched, and http and https targets both work.
- About 600 requests a minute per IP with no monthly quota, and responses up to 6 MiB.
Each response says who answered: X-Cors-Source: upstream is the API itself, and gateway means cors.dev refused the request, with the reason in X-Cors-Error.
cors.dev, the demo or your own server
| Option | Works for your visitors | Setup | Cost |
|---|---|---|---|
| cors.dev | Yes, from any IP and any site | Change the URL prefix | Free for GET and HEAD; Pro is $5 a month |
| CORS Anywhere demo | No, only the IP that opted in | Click Request temporary access | Free, 50 requests an hour, development only |
| Self-hosted CORS Anywhere | Yes, once deployed | Deploy and secure a Node.js server | Your hosting bill |
POST requests and custom headers
GET and HEAD are free on cors.dev, and a free POST gets 405 method_not_allowed. POST, PUT, PATCH and DELETE, plus Authorization and custom headers, are on cors.dev Pro: $5 a month for 500,000 requests, with a 7-day trial of 1,000 requests and no card. The POST guide shows the full request.
Good questions.
What does See /corsdemo for more info mean?
The CORS Anywhere demo at cors-anywhere.herokuapp.com refused your request because your IP has not opted in. Since February 2021 the demo only serves IPs that clicked Request temporary access on /corsdemo. To skip the opt-in for good, change the prefix to https://proxy.cors.dev/.
Why does it work on my machine and break for everyone else?
Request temporary access to the demo server unlocks your IP address, not your site. In our test on 24 November 2026, another browser and another site on the same IP both worked right after, while visitors on their own IPs keep getting 403.
Is there a CORS Anywhere alternative without the opt-in?
cors.dev takes the same URL shape: put the target URL after https://proxy.cors.dev/ instead of https://. GET and HEAD to public APIs are free with no opt-in, account or key, for every visitor.
Why does curl get 400 Missing required request header?
After the opt-in, the demo still requires an Origin or X-Requested-With header and answers 400 without one. cors.dev requires neither, so curl and server code work as they are.
Can I use cors-anywhere.herokuapp.com in production?
No. Its own page says the demo is for development only, the announced limit is 50 requests an hour, and the unlock covers only the IP that clicked the button. cors.dev serves your live site with no opt-in.
Is cors.dev free?
Yes for GET and HEAD to public APIs: no signup, no key, about 600 requests a minute per IP and no monthly quota, with responses up to 6 MiB. POST, PUT, PATCH, DELETE, Authorization and custom headers are on cors.dev Pro at $5 a month for 500,000 requests, with a 7-day trial of 1,000 requests and no card.