unable to retrieve margin from url

pvgeorge
Till yesterday I was getting margins using the line
"dfmargin = pd.read_json('https://api.kite.trade/margins/futures', orient='records')" .

Now it is giving the error
"urllib.error.HTTPError: HTTP Error 403: Forbidden"

What changes happened and how to retrieve? Any help?
  • sujith
    There is no authentication for this API endpoint. I just tried and it seems fine for me.
  • pvgeorge
    Now it is working, can close.
    Thanks
This discussion has been closed.