Skip to content

Instantly share code, notes, and snippets.

@jimmywarting
Last active April 21, 2024 15:32
Show Gist options
  • Save jimmywarting/ac1be6ea0297c16c477e17f8fbe51347 to your computer and use it in GitHub Desktop.
Save jimmywarting/ac1be6ea0297c16c477e17f8fbe51347 to your computer and use it in GitHub Desktop.
Cors proxies
Service SSL status Response Type Allowed methods Allowed headers Exposed headers Follow redirect Streamable WebSocket Upload limit Download limit Country code Comments
CORS bridged Mirrored Raw * All but expect Forbidden headers 16mb/request US (CA) Blog for docs & Testing
cors-anywhere Mirrored Raw * * * Up to 5x US Require Origin header
cors-anywhere @ glitch Mirrored Raw source
thingproxy * 100kb 100kb US Max 10 req/sec
Whatever Origin jsonp GET None None US
Go Between
goxcors Allways 200 Raw * * None US POST type is limited to x-www-form-urlencoded
Have a werd api
Response Type is Allways text/html
All Origins Only code in json Json, jsonp, Raw * None US When using raw you loose status information
Cloudflare Cors Anywhere Only code mirror (not statusText) Raw * All but expect Forbidden headers none none none 100,000 requests/day 1,000 requests/10 minutes
JSONProxy GET

Possible dead

cors.io Only code mirror Raw GET, HEAD US
crossorigin.me GET 2MB 2MB US Require Origin header
HTML Driven
Taskcluster * US All request must be made within the request body
Only whitelisted for taskcluster
anyorigin jsonp GET none none US
@slishnevsky
Copy link

I have been using this proxy service for a while in my JavaScript code.

Suddenly, it stopped working for this website's page:

https://corsproxy.io/?https://weather.gc.ca/city/pages/on-143_metric_e.html

function getWeather(container) {
  // Fetch the HTML page from Weather forecast
  const url = 'https://corsproxy.io/?' + encodeURIComponent('https://weather.gc.ca/city/pages/on-143_metric_e.html');

  fetch(url)
    .then(response => response.text())
    .then(data => createWeather(container, data))
    .catch(error => console.error(error));
}

The error returned is

{
"message": "Please create an account at https://accounts.corsproxy.io to proxy this file type."
}

This didn't happen before, for many years.
Started to throw this error message just recently.
Well, I went to https://accounts.corsproxy.io and registered my account there, as the prompt suggests.

However, nothing has changed. I am still getting the error.

Any idea why? Any idea how to make it work again?

Tried to contact the developer of that service but haven't received any response.

Thanks.

@brunoandradebr
Copy link

"No such thing as a free lunch"

@mariusbolik
Copy link

@slishnevsky I am sorry. We had to disable HTML content because of phishing attacks through our server. Currently, only JSON, XML and CSV are allowed.

@slishnevsky
Copy link

slishnevsky commented Nov 7, 2023 via email

@chrisschuck
Copy link

chrisschuck commented Nov 9, 2023

@slishnevsky I am sorry. We had to disable HTML content because of phishing attacks through our server. Currently, only JSON, XML and CSV are allowed.
@mariusbolik
Any chance it will return? Your proxy is perfect for small local projects.

@mpfthprblmtq
Copy link

Hey there @mariusbolik,

I noticed that there's some rate limiting occurring recently. Not sure if there was already rate limiting before your update after the phishing attacks, but when I make around 50ish requests through the proxy, I start getting 403s on all my requests. I'm thinking that's being returned from corsproxy.io, would you be able to confirm that?

I'm really liking corsproxy.io so far, I'm using it in a small project for a client and for my own personal project. I believe I created an account linked with my Github, but I don't know if I'm signed up for the analytics dashboard and news on the paid service. Would love to get in on that if possible. Can you provide any more information on that?

Danke!

@espinielli
Copy link

espinielli commented Nov 14, 2023

@mariusbolik
This
https://corsproxy.io/?https%3A%2F%2Fwww.eurocontrol.int%2Fperformance%2Fdata%2Fdownload%2Fcsv%2Fmom_co2.csv
for a CSV fails with

{
"message": "Please create an account at https://accounts.corsproxy.io to proxy this file type."
}

I am using it in Observable in this notebook

Any idea about what I am doing wrong? This used to worked for months...

PS: I created an account but what do I use it for?

@FabianoLothor
Copy link

@mariusbolik do you think you could add a new feature to corsproxy.io to parse a 404 response to 200?

@houseofmeme
Copy link

houseofmeme commented Feb 2, 2024

corsproxy is amazing if you need a quick solution!

@najimali
Copy link

najimali commented Feb 3, 2024

I am getting ->
Sorry, you have been blocked
You are unable to access corsproxy.io

Cloudflare Ray ID: 84f8e4d1eb7b7957

can you please check why i am block,
Action - open https://corsproxy.io/ on mac chrome , same happening with ios device.
Please unblock me.

@najimali
Copy link

najimali commented Feb 3, 2024

@azamsyedmohd
Copy link

corsproxy.io is blocked in my system. How to unblock?

@jelassiaymen94
Copy link

Hey guys any way to iframe youtube website ? ( not a single video but the whole website ? )

@CyrilSLi
Copy link

Hey guys any way to iframe youtube website ? ( not a single video but the whole website ? )

I’m pretty sure just putting the YouTube URL in the src field of an iframe will work, as iframes do not have the same cross-origin limitations as web requests. Otherwise, you can GET the HTML code of the site using the proxy and set that as the srcdoc property of an iframe. Keep in mind that a lot of dynamic features of the website will not work.

Just curious, why are you iframing an entire website?

@slishnevsky
Copy link

Hey guys any way to iframe youtube website ? ( not a single video but the whole website ? )

I don't think so. Google makes its sites so that they cannot run in iframes.

@CyrilSLi
Copy link

Hey guys any way to iframe youtube website ? ( not a single video but the whole website ? )

I don't think so. Google makes its sites so that they cannot run in iframes.

Me and many other people have pulled video data from the raw HTML of YouTube sites without issue (you just need to use a CORS proxy like the ones here), however I’m not sure if this works for OP’s situation.

@RajDhinge
Copy link

RajDhinge commented Mar 4, 2024

corsproxy.io is blocked in my system. How to unblock?

@Syed-Mohd-Azam Any success so far? I'm too receiving the same issue.

@espinielli
Copy link

espinielli commented Mar 6, 2024

Let's face it corsproxy.io does not work anymore since they introduced the registration...
No news from @mariusbolik after my post...4 months ago...

@shwetakandre183
Copy link

I am getting ->
Sorry, you have been blocked
You are unable to access corsproxy.io

Cloudflare Ray ID: 868408db2e475a1d

can you please check why i am block,
Action - open https://corsproxy.io/ on linux chrome
Please unblock me.

@rcramh
Copy link

rcramh commented Apr 9, 2024

I tried with mac, iphone, and android phone, all ips are blocked.

@Kreijstal
Copy link

Kreijstal commented Apr 10, 2024

seems these days you have to recompile firefox to stop nagging you about this garbage, certainly cheaper than paying somebody for this, specially if you're the only user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment