Gamestudio Links
Zorro Links
Newest Posts
Alternative to Stooq for Zorro S
by cwford. 10/09/26 00:48
Stooq now requires an API key
by cwford. 10/08/26 23:27
ZorroGPT
by TipmyPip. 10/06/26 05:32
Purchase A8 full licence version
by jcl. 10/05/26 12:12
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (VoroneTZ, vince, TipmyPip), 12,467 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
JimSimons, julienp, julienper, KelleyAbbey, Yopachi
19246 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,139
Frankfurt
jcl Offline OP

Chief Engineer
jcl  Offline OP

Chief Engineer

Joined: Jul 2000
Posts: 28,139
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
06/08/26 20:14
06/08/26 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?

Re: Stooq now requires an API key [Re: VHX] #489460
06/10/26 14:39
06/10/26 14:39
Joined: Jan 2025
Posts: 4
K
k_ivan Offline
Guest
k_ivan  Offline
Guest
K

Joined: Jan 2025
Posts: 4
Any luck?

Re: Stooq now requires an API key [Re: jcl] #489461
06/11/26 17:55
06/11/26 17:55
Joined: Feb 2017
Posts: 1,835
Chicago
AndrewAMD Offline
Serious User
AndrewAMD  Offline
Serious User

Joined: Feb 2017
Posts: 1,835
Chicago
It looks like they're deliberately requiring browsers, which suggests using "bots" like Zorro is a violation of TOS.

On the other hand, I know that AlphaVantage in particular was explicitly intended for API downloading. Some of its API interfaces are free, and others require a premium subscription. I have had good success with it while I was using it, and I'll probably use it again if I need it.

Re: Stooq now requires an API key [Re: jcl] #489695
Yesterday at 23:27
Yesterday at 23:27
Joined: Nov 2017
Posts: 12
C
cwford Offline
Newbie
cwford  Offline
Newbie
C

Joined: Nov 2017
Posts: 12
Can someone please help me? Purchased Zorro S. Want to trade stocks. Have IB account. Need historical data to train Z9. Stooq requires API key. Have followed all suggestions in this thread to get one with no luck. Where can I get historical data, and what modifications do I have to make to the strategy or to Zorro.ini, to use that data?

Thank you!


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