-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
403 Error when pulling data from api #49
Comments
Solution:
|
still getting the 403 status code |
This works (get your public key and change your secrets.py (in my case I had to change secrets.py to api.py as it breaks numpy) My workspace is called Algorithmic (you can call it anilegin as an example in the console you create it. symbol = 'AAPL' |
better to follow the same steps as above
thank you your solution had helped so much .. however I advise to do the following *this what worked for me *
|
import requests symbol = "AAPL" response = requests.get(api_url) if response.status_code == 200: Still giving error 403
|
But this one is real-time data which need to purchase after 7 days trial |
and i change the sandbox into https://cloud.iexapis.com/, it worked then |
works for me! thanks a lot |
In my case there is no register new account button on the login/register page on IEX cloud, is there any help for this? |
I have the same issue and cannot make a new account but found this site https://iexcloud.io/product-bulletin They are ending their service and the data will be availibly from intrinio.com |
symbol="AAPL"
api_url = f'https://sandbox.iexapis.com/stable/stock/{symbol}/quote/?token={IEX_CLOUD_API_TOKEN}'#base url
#print(api_url)
data=requests.get(api_url)
print(data.status_code)
Hi I am using this code to pull data but instead end up getting 403 error. Any solutions?
The text was updated successfully, but these errors were encountered: