Node js Library "Access-Control-Allow-Origin"

arunbharadwaj2009
I am trying to connect webscoket using node js library but that give me "Access-Control-Allow-Origin"
here is the full error from the console.
I am using node js KiteTicker.

api_key=&access_token=&uid=' from origin 'http://localhost:3000' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
  • sujith
    Hi @arunbharadwaj2009,
    One can't use Kite Connect APIs to show real-time market data on third-party websites. You will have to contact some exchange registered data vendors.
    For further compliance-related queries, you can write to kiteconnect(at)zerodha.com someone from our team will get back to you.
  • arunbharadwaj2009
    in kiteconnectjs they show the example of live tracker

    https://github.com/zerodhatech/kiteconnectjs
  • sujith
    I think you are confused about the use-case. Please talk to someone from the compliance regarding this by sending an email to kiteconnect(at)zerodha.com
Sign In or Register to comment.