Request and Response details for API Websockets

Hello,

I am trying to create a wrapper in c# for connecting to both the “market data” and “orders” websockets. For this, the following information is needed from Fyers API:

The format of GET / POST data to be sent while connecting, subscribing, unsubscribing and closing “market data” and “orders” websockets.

The format of GET / POST data that will be received from “market data” and “orders” websockets.

Where can this information be found ?

Thanks !

Hi @vasant.c.bhide.bpircpvp ,
We no longer offer the packet structure. Please use Python and Node packages for the best performance.

Rather strange !!!

Some more questions:

  • How many API apps can be running simultaneously ?
  • How many symbols can be subscribed to in each app ?
  • Is a periodic “keep live” signal needs to be sent to keep the “market data” and “orders” websockets live / connected ? I am asking this because my 'Orders" websocket gets disconnected at about every three minutes.

Hey @vasant.c.bhide.bpircpvp ,

  1. You can run as many as API apps which you want but make sure you are not disturbing the rate time for every second , every minute and for every day. (Check API documentation for rate limit.)

  2. 50 symbols u can subscribed

  3. May be you are getting disconnection because of data is not transferring from both side like as u are saying order websocket disconnecting so if message are not coming then it is disconnecting
    But don’t worry we are going live very soon with new version of API V3. There you will find auto reconnect feature.

Hope your doubts has been resolved
Thanks

Hello Pankaj,

Thanks for the explanations, just reconfirming : the per second/minute/day rate limits and the 50 symbols limit for websocket are per each app or per user ?

Hi @vasant.c.bhide.bpircpvp

API rate limit is for Per user and 50 symbol limit is per connection of websocket.

OK, Great !

Thanks, Pankaj, this thread may please be closed.