Issue in Fyers API

Fyers live data API is not giving the proper data. It is so frustrating.

Till 4th April 2024, I was getting some info like:

{'message': '', 'code': 200, 'd': [{'n': 'NSE:NIFTYBANK-INDEX', 'v': {'ask': 0, 'bid': 0, 'chp': 1.05, 'ch': 500.15, 'cmd': {'c': 48124.4, 'h': 48140.3, 'l': 48124.4, 'o': 48134, 't': 1712202600, 'tf': '09:20', 'v': 0}, 'description': 'NSE:NIFTYBANK-INDEX', 'exchange': 'NSE', 'fyToken': 'xxxxxxxxxxxxxxx', 'high_price': 48254.65, 'low_price': 47933.4, 'lp': 48124.4, 'open_price': 48086.2, 'original_name': 'NSE:NIFTYBANK-INDEX', 'prev_close_price': 47624.25, 'short_name': 'NIFTYBANK-INDEX', 'spread': 0, 'symbol': 'NSE:NIFTYBANK-INDEX', 'tt': '1712188800', 'volume': 0}, 's': 'ok'}], 's': 'ok'}
[{'ask': 0, 'bid': 0, 'chp': 1.05, 'ch': 500.15, 'description': 'NSE:NIFTYBANK-INDEX', 'exchange': 'NSE', 'fyToken': 'xxxxxxxxxxxxxxx', 'high_price': 48254.65, 'low_price': 47933.4, 'lp': 48124.4, 'open_price': 48086.2, 'original_name': 'NSE:NIFTYBANK-INDEX', 'prev_close_price': 47624.25, 'short_name': 'NIFTYBANK-INDEX', 'spread': 0, 'symbol': 'NSE:NIFTYBANK-INDEX', 'tt': '1712188800', 'volume': 0, 'c': 48124.4, 'h': 48140.3, 'l': 48124.4, 'o': 48134, 't': 1712202600, 'tf': '09:20', 'v': 0}]

{'s': 'ok', 'code': 200, 'message': '', 'data': {'fy_id': 'xxxxxxxx', 'name': 'ROHIT SOHLOT', 'image': None, 'display_name': 'rohit', 'pin_change_date': 'dd-mm-yyyy 17:33:19', 'email_id': 'mail_id', 'pwd_change_date': 'dd-mm-yyyy 15:00:16', 'PAN': '---------', 'mobile_number': 'xxxxxxxxx', 'totp': xxxx, 'pwd_to_expire': 0}}

From 5th April. I started receiving only:

{'message': '', 'code': 200, 'd': [{'n': 'NSE:NIFTYBANK-INDEX', 'v': {'ask': 0, 'bid': 0, 'chp': 0.36, 'ch': 171.3, 'description': 'NSE:NIFTYBANK-INDEX', 'exchange': 'NSE', 'fyToken': 'xxxxxxxxxxxxxxx', 'high_price': 48290.45, 'low_price': 47894.5, 'lp': 48232.1, 'open_price': 48104.65, 'original_name': 'NSE:NIFTYBANK-INDEX', 'prev_close_price': 48060.8, 'short_name': 'NIFTYBANK-INDEX', 'spread': 0, 'symbol': 'NSE:NIFTYBANK-INDEX', 'tt': '1712275200', 'volume': 0}, 's': 'ok'}], 's': 'ok'}

The first call of the API starts giving similar data. before this, I am calling historical API 80 times.

Suppose there is any change in the response. It would be best if you had informed via mail, messages and app.

Many people are relying on your API. If you think this should not be used in prod, make this clear. So that we will not be dependent on Fyers API.

8 replies