API Key integrating to my website to pull real time data

Hi,

Can I use the API key for my website to retrieve real-time stock index data? I would like to update stock and mutual fund data on my website. Could you please provide me with the necessary information?

Thanks for reaching out! We have a set of open APIs that you can use to fetch stock data: Upstox API Documentation.

For WebSocket integration, you can also refer to the SDKs:

Upstox Python SDK

Upstox Node.js SDK

Upstox PHP SDK

Upstox Java SDK

Note: Mutual fund data is not exposed via the API.

Thank you so much for your reply. I would like to know how to get mutual funds data to my website.

We currently do not provide mutual funds data via the API. At the moment, our focus is on developing features related to equity, futures, and options trading. If we decide to include mutual funds in the future, we will make an announcement, but there is no ETA for it at this time.

Hi,

I would like to know more about the API key you provide, including details such as API request limits, any hidden charges per request, restrictions, as well as the pros and cons.

Could you please elaborate on these points? I intend to use this API key on my website for business purposes, not for personal use.

I would greatly appreciate your assistance with this information.

Hi,

Thanks for your question! I’d be happy to share what I know about the API.

  • API Request Limits:

    • Order Placement and Other Standard APIs:
      • Per second: 50 requests
      • Per minute: 500 requests
      • Per 30 minutes: 2000 requests
    • Multi-Order APIs (Place, Cancel, and Exit Positions):
      • Per second: 4 requests
      • Per minute: 40 requests
      • Per 30 minutes: 160 requests
  • Hidden Charges: From what I know, there are no hidden charges. Everything is transparently outlined in the API documentation or pricing details.

  • Restrictions: You’ll need to operate within the given request limits. Exceeding these may result in temporary rate-limiting or throttling.

  • Pros and Cons (Use Case Dependent):

    • The benefits and limitations will depend on your specific use case. For instance:
      • If you’re using the API primarily for fetching LTP (Last Traded Price) data, the high request limits for standard APIs (50 requests/second) are a significant advantage.
      • However, if your use case involves frequent order placements or cancellations, you’ll need to carefully manage the lower limits of the Multi-Order APIs (4 requests/second).

Feel free to let me know if you have any additional questions or need clarification!

Thanks & Regards