3
$\begingroup$

I want execute http-request to yobit.net. For example:

https://yobit.net/api/3/info

In the browser you must wait 5 second for reload page first time without cookies from yobit.net

In Mathematica:

URLExecute["https://yobit.net/api/3/info"]

Result of the request is:

Please turn JavaScript on and reload the page. Checking your browser before accessing yobit.net. This process is automatic. Your browser will redirect to your requested content shortly. Please allow up to 5 seconds…
DDoS protection by Cloudflare
RayID:3e11cb819d1b422b

How can I get data from api of yobit.net using Mathematica? Can I turn on JS or use cookies from web-browser?

$\endgroup$
  • $\begingroup$ I have same problem. How can I cross cloudflare protection via php/curl? $\endgroup$ – Dmitriy Feb 9 '18 at 12:07
  • $\begingroup$ That's not a solution to your question, but have you tried other exchange sites? Many have APIs. $\endgroup$ – anderstood Feb 9 '18 at 13:02
  • $\begingroup$ @anderstood, of course, I already use other exchanges, but no one guarantees that protection will not appear on them $\endgroup$ – Kirill Belov Feb 10 '18 at 7:42
  • $\begingroup$ Do you manage to deal with the whole exchange procedure (get the data, analyse it, apply a strategy and place order) within Mathematica? It's something I'd like to try, using an exchange API but did not look into it too seriously yet. Advice welcome! $\endgroup$ – anderstood Feb 14 '18 at 0:05
  • 1
    $\begingroup$ Are you using web sockets? You might be interested in 166571. $\endgroup$ – anderstood Feb 27 '18 at 14:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.