GuidesCORSPROXY.IO

corsproxy.io 403 Forbidden: fix it without an API key

corsproxy.io stopped serving anonymous requests: the old keyless URL now returns 403 Forbidden with keyless_legacy_url, and ?url= without a key returns 401. The fix takes a minute: change the host to proxy.cors.dev and delete the key. cors.dev serves public GET and HEAD requests with no key, no signup and no monthly quota, from any website.

What the corsproxy.io 403 means

It isn't an outage. corsproxy.io no longer serves anonymous requests, so every call needs an API key from its console, and each URL style fails in its own way. This is what came back when we sent each one on 24 November 2026:

corsproxy.io responses without a valid key, checked 24 November 2026
RequestStatusError in the response
Keyless: corsproxy.io/?https://...403 Forbiddenkeyless_legacy_url: Anonymous legacy proxy URLs are no longer supported
No key: corsproxy.io/?url=...401 UnauthorizedA valid API key is required
Wrong key: corsproxy.io/?key=...&url=...401 UnauthorizedInvalid or inactive API key

All three carry Access-Control-Allow-Origin: *, so the browser hands your code a normal 403 or 401 instead of a CORS error. The console shows a red 403 (Forbidden) next to the URL, and code that only checks response.ok makes it look like the API broke.

A key alone won't fix a live site. corsproxy.io's pricing page now lists the free plan for localhost, tunnels and online code editors, and production domains need a paid plan from $5 a month.

Fix it: swap the host to proxy.cors.dev

Change the host to proxy.cors.dev and delete the key parameter. cors.dev reads the same URL styles as corsproxy.io, so the rest of your request stays as it is:

corsproxy.io to cors.dev: new host, no key
// Before: 403 keyless_legacy_url
fetch('https://corsproxy.io/?https://api.example.com/data');

// After: same URL style, new host
fetch('https://proxy.cors.dev/?https://api.example.com/data');

// Before: needs a corsproxy.io API key
const target = encodeURIComponent('https://api.example.com/data?limit=10');
fetch(`https://corsproxy.io/?key=YOUR_API_KEY&url=${target}`);

// After: keep url=, delete the key
fetch(`https://proxy.cors.dev/?url=${target}`);

// Or put the target in the path, no encoding needed
fetch('https://proxy.cors.dev/https://api.example.com/data?limit=10');

  • No key and no account: GET and HEAD to public APIs are free on cors.dev, from localhost and from your live domain.
  • About 600 requests a minute per IP, with no daily or monthly quota.
  • Responses up to 6 MiB within 30 seconds, from any public http or https API.
  • Delete the key: a query that starts with key= gets HTTP 400 invalid_request.

Check whether the API or cors.dev answered

corsproxy.io's errors arrive as readable JSON, so they look like they came from the API. cors.dev labels every response instead: X-Cors-Source: upstream means the API itself answered, and X-Cors-Source: gateway means cors.dev refused the request, with the reason in X-Cors-Error. A 403 marked upstream came from the API, not from cors.dev.

Check who answered, from your browser console
const response = await fetch('https://proxy.cors.dev/https://jsonplaceholder.typicode.com/todos/1');

// "upstream" means the API answered; "gateway" means cors.dev refused it and X-Cors-Error says why
console.log(response.status, response.headers.get('X-Cors-Source'), response.headers.get('X-Cors-Error'));
console.log(await response.json());

Your options after the corsproxy.io change

Ways past the corsproxy.io 403, checked 24 November 2026
OptionKey or accountWhere it worksCost
cors.devNone for GET and HEADAny websiteFree; Pro is $5 a month for 500,000 requests
corsproxy.io FreeAccount and API keyLocalhost, tunnels and online code editors$0 for 10,000 requests a month
corsproxy.io HobbyAccount and API key3 production domains$5 a month for 250,000 requests

POST requests and custom headers

The free tier covers GET and HEAD, so 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. You send a publishable key in an X-Cors-Key header, and it only works from the origins you register. The POST guide shows the full request.

Good questions.

Why does corsproxy.io return 403 Forbidden now?

corsproxy.io no longer serves anonymous requests. The old keyless form, https://corsproxy.io/?https://..., answers 403 with keyless_legacy_url, and every request now needs an API key. To keep calling public APIs without one, change the host to proxy.cors.dev.

Is corsproxy.io down?

No. On 24 November 2026 corsproxy.io answered every request we sent and refused each one without a valid key: 403 for keyless URLs and 401 for ?url= calls. cors.dev answered the same requests with 200.

Why do I get 401 instead of 403 from corsproxy.io?

The ?url= form without a key answers 401 with "A valid API key is required", and a wrong or inactive key answers 401 with "Invalid or inactive API key". cors.dev needs no key for GET and HEAD, so neither error comes up.

Does a free corsproxy.io key work on my live site?

corsproxy.io's pricing page lists its free plan for localhost, tunnels and online code editors, and production domains need a paid plan from $5 a month. The cors.dev free tier works from any domain with no account.

Why does cors.dev return 400 after I switched?

A query that starts with key= is rejected with 400 invalid_request. Delete the corsproxy.io key so the query starts with url= or the target URL.

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.