Hello friends if you are trying to use Fyers API first time via program you will get below error KeyError: 'Url'. As a result of this you will be unable to you will unable to login to Fyers API.
You will not find any answer on API Docs V2 (fyers.in) official fyers API website.
To activate the Fyers API app first time you need to do it manually through web browser.
To activate the app created by you use below URL
https://api.fyers.in/api/v2/generate-authcode?client_id=ZZZZZZZZZZ-100&redirect_uri=http://127.0.0.1:5000/&response_type=code&state=STATE
in above URL replace ZZZZZZZZZZ-100 with your App ID and redirect URI.
After entering this URL in browser you will have to enter your client ID, password and pin.
After successful login you can use Fyers API without any issue.
Love,
DPZ.
Comments
Post a Comment