Usage
Prefix any URL with the proxy origin:
https://cors-anywhere.com/<url>
// Example: fetch via JavaScript fetch("https://cors-anywhere.com/https://api.example.com/data") .then(r => r.json()) .then(console.log);
Request Examples
// Google.com with CORS headers https://cors-anywhere.com/http://google.com // Same as previous https://cors-anywhere.com/google.com // Proxies https://google.com/ https://cors-anywhere.com/google.com:443
Moving From cors-anywhere.herokuapp.com
Simply drop herokuapp
from the domain:
https://cors-anywhere.herokuapp.com/<url>
↓
https://cors-anywhere.com/<url>
About This Instance
- Free to use, no opt-in required
- Rate limit (per website): 20 requests / minute
FAQ
What is CORS Anywhere?
CORS Anywhere is a Node.js proxy that adds CORS headers to a proxied request, enabling browsers to access resources that would otherwise be blocked by the Same-Origin Policy.
What's the difference between this and the Heroku version?
The Herokuapp instance requires daily opt-in to use, and has limits of 50 requests per hour. This instance has no opt-in requirement, with less strict rate limits.
Why is this a community / unofficial instance?
Although permission was granted by Rob to host the service, this
instance is not affiliated with him. It simply runs the open-source
cors-anywhere
code.
Can I use this in production?
This instance has speed and rate limits that is not suitable for production use. For faster proxy, either self-host CORS Anywhere or use a managed CORS proxy.