Skip to main content

New URL and Simplified Headers

Effective Immediately

We are pleased to announce a significant update to the Upstox API Service. This change is part of our ongoing commitment to enhance usability and service efficiency.

What's Changing?

  1. New Base URL: The base URL for accessing the Upstox API has been updated to https://api.upstox.com/v2. This change is designed to streamline our API structure for more intuitive access.

  2. Simplified Header Requirements: Alongside the new URL, we have updated our header requirements. The 'Api Version' header, previously mandatory and set to 2.0, will no longer be required for API calls to the new URL. This modification reduces the complexity of constructing API requests.

Transition Period

  • Dual Endpoint Availability: To ensure a seamless transition, both the old URL (https://api-v2.upstox.com) and the new URL (https://api.upstox.com/v2) will be operational for a transitional period. This approach ensures that your existing integrations continue to work without immediate disruption.

  • Recommended Action: While your existing setups using the old URL will continue to function during this phase, we encourage you to migrate to the new URL and updated header configuration as soon as convenient for you.

Migration Steps:

  1. Update the Base URL: Change the base URL in your API integrations from https://api-v2.upstox.com to https://api.upstox.com/v2.

  2. Remove the 'Api Version' Header: Adjust your API requests to eliminate the 'Api Version' header.

We appreciate your cooperation during this transition and thank you for your continued partnership. Our team is committed to continually enhancing our services to better meet your needs.