-
-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Did Login Method 1 Recently Stop Working? #409
Comments
I have the same issue. seems webull added image verification, so can't get the credential by the wb.login function or refresh_login function anymore. hope there is a workaround, waiting update of the api. Thank you very much! |
same issue this morning. |
Can't login either |
same issue... refresh is not working |
same problem, is there still any way to get token programmatically? |
I'm not good at Python but this is what I see and someone can update/fix the api would be great :) They blocked old URL and switching to new ones Trade Token URL: https://u1suser.webullfintech.com/api/user/v1/security/login |
@qnguye Thanks for that. Does anyone know which variable needs to be replaced with the new URL? Also, what is the URL for refresh_login()? |
@alexh0101 what refresh_login do? Is it same as login??? |
@qnguye |
@alexh0101 I'm not sure if we need refresh token anymore. When you login, I see refresh token but it doesn't expire for 60 days. It's long enough to just re-login again, no? You do need to get update trade token, maybe once a day |
can you provide the code you have login |
I'm not good at Python but try this (never test myself) Find: |
if you guys trade options, they also changed that too :( Lot of things broke |
someone please update @tedchou12 |
@albertcheng @BobLiu20 @Jakezheng @zhengqinggan @alexh0101 I believe webull is gonna stop entertaining un official APIs. |
Webull apparently has its own API, but looks like it's still in Beta. And they only provide to you if you request.
|
@huaxiawang Interesting, thanks for sharing this info. I wonder if there's still some way to access their unofficial api endpoints (I'd be willing to manually refresh credentials every week if needed...). Also, it seems like their api has more limited functionality than the unofficial api. If I remember correctly, you could make short, trailing stop, and otoco orders, as well as buy crypto and trade options, but I suppose that could be because it's in beta and they'll add this functionality later? Anyway, still better than nothing assuming this is the only way forward. |
Hi guys, I just logged in, it works. Please see below: |
@LukeWang01 is it working in united states. ?? we bull API version is not in united states. if i ma not wrong its only avaible in south korea |
Yes, this API working in U.S. But the offical API is is currently under Beta testing. |
Login fails again. |
@alexh0101 did you tried @LukeWang01 #411 able to help login issue. |
When I log in, wb.is_logged_in() gives me "True". But my wb.get_account() gives me this: I'm using this endpoint: And this code: wb = webull() Also, I used to use webull_paper() instead of webull(), but webull_paper() doesn't seem to work anymore. Is there anything I'm missing? |
https://github.com/tedchou12/webull/wiki/Workaround-for-Login-%E2%80%90-Method-2 You just need to verify it on your own browser, inspect and get the did(device id) of your browser, and then manually set that as the did in the webull object before you use the login. This way, webull will think that you are logging in from the verified browser. Look around in Method 1/2 if you need help getting the did. You can ignore everything else(I think). Update the did, not the access token. |
I'm referring to the login method here: https://github.com/tedchou12/webull/wiki/Workaround-for-Login-Method-1
Before, I would go to the Webull site, login, go to the trade tab, refresh page, and then find my credentials in one of the responses on the Network tab (I believe the title was "v2"). After that, I used the refresh login method to keep refreshing my credentials before expiration. Last week it was working fine, but today the refresh login response returned a 403 Forbidden error during authentication. I tried to go to the Webull site and can no longer find my credentials in the Network tab.
I did try skipping the refresh login step and use my credentials that had not yet expired, and the API seems to be fetching data just fine. Is anyone else having this issue?
The text was updated successfully, but these errors were encountered: