Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
XTB
by pr0logic. 05/18/26 12:27
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 3,487 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Stooq now requires an API key #489362
04/13/26 09:42
04/13/26 09:42
Joined: Jul 2000
Posts: 28,101
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,101
Frankfurt
Stooq has changed their policy and now requires an API key for downloading data. The procedure:

1. Open https://stooq.com/q/d/?s=aapl.us&get_apikey
2. Enter the captcha code.
3. Copy the CSV download link at the bottom of the page - it will contain the apikey variable.
4. Append the apikey variable to all requests, like this:
https://stooq.com/q/d/l/?s=msft.us&i=d&apikey=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

The latest Zorro beta version supports an entry "StooqKey" in ZorroFix.ini for the Stooq API key.

Re: Stooq now requires an API key [Re: jcl] #489455
Yesterday at 20:14
Yesterday at 20:14
Joined: Mar 2018
Posts: 9
V
VHX Offline
Newbie
VHX  Offline
Newbie
V

Joined: Mar 2018
Posts: 9
Stooq does not only require the API key now, but also JavaScript to verify the browser.
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="robots" content="noindex,nofollow"></head><body><noscript>This site requires JavaScript to verify your browser. Please enable JavaScript and reload.</noscript><script nonce="GlVDG9UXyNNKtoHBQimZZA">
(async()=>{const c="AAAAAGonG62vMFus5YDd7-hABFQ2f8zlJRg4zrYfx9g7WLOKV_yucKAnmAQ",d=4,t="0".repeat(d),e=new TextEncoder;let n=0;while(1){const h=await crypto.subtle.digest("SHA-256",e.encode(c+n)),x=Array.from(new Uint8Array(h)).map(b=>b.toString(16).padStart(2,"0")).join("");if(x.startsWith(t))break;n++}const r=await fetch("/__verify",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"c="+encodeURIComponent(c)+"&n="+n,credentials:"same-origin"});if(r.ok)location.reload()})();
</script></body></html>

Any ideas how to move on or where to get data?


Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1