Skip to main content

Change Log

All notable changes to the TradeZero API will be documented on this page.


March 3, 2026

New


February 10, 2026

New

  • New Order Endpoint Added - new endpoint to retrieve an individual order by clientOrderId for the account:

    • GET /v1/api/accounts/{accountId}/order/{clientOrderId} - retrieves the details of a specific order using its clientOrderId
    • This endpoint provides a more efficient way to access order details without having to filter through all orders

Removed

  • Order Response Structure - Removed several fields from order and cancel responses:

    • status - redundant field, the order's status is already contained in the orderStatus field
    • lastUpdatedET - not relevant for API consumers
    • startTimeET - not relevant for API consumers

January 14, 2026

Changed

  • Order Response Structure - The API no longer returns the orderId field in order responses

    • All order operations now exclusively use clientOrderId for identification and tracking
    • If no clientOrderId is provided during order creation, the system will auto-generate one
  • Cancel Order Endpoint - The DELETE /v1/api/accounts/{accountId}/orders/{clientOrderId} endpoint now uses clientOrderId in the URL path

    • This change ensures consistency with the updated response structure
    • All order management now centers around the clientOrderId field

Migration Guide

For Order Management:

  • Update your code to use only clientOrderId for order tracking and identification
  • Remove any references to orderId from response parsing logic
  • Ensure your order creation requests include a unique clientOrderId for better tracking
  • All cancellation requests should use the clientOrderId from your order tracking system

For Sell Locate Requests: Update your sell locate requests to use the new string format:

  • Old: "locateType": 1
  • New: "locateType": "Locate"

String Value Mapping:

  • 0 (Unknown) → "Unknown"
  • 1 (Locate) → "Locate"
  • 2 (Intraday Only) → "IntraDay"
  • 3 (Pre-Borrow) → "PreBorrow"
  • 4 (Single Use) → "SingleUse"

December 11, 2025

Changed

  • Locates Endpoints - The GET /v1/api/accounts/{accountId}/locates endpoint has been split into two more specific endpoints:

    • GET /v1/api/accounts/{accountId}/locates/inventory - Returns only active locate inventory for the current trading day
    • GET /v1/api/accounts/{accountId}/locates/history - Returns all open/closed/expired locates for the day

    This change provides better performance and more granular control over the data you retrieve. Please update your integrations to use the appropriate endpoint.

Removed

  • Locates Endpoint - GET /v1/api/accounts/{accountId}/locates has been removed and replaced with the two new endpoints above.

November 24, 2025

Changed

  • Order Cancellation Response - Order cancel requests now return full order details in the response instead of just a confirmation message. This provides better visibility into the canceled order's final state without having make an additional REST call for order status.

Legend

TypeDescription
NewNew features, endpoints, or capabilities added to the API
ChangedModifications to existing functionality or behavior
FixedBug fixes and error corrections
DeprecatedFeatures that will be removed in a future version
RemovedFeatures that have been removed from the API
SecuritySecurity-related updates and improvements

info

For breaking changes, migration guides, or questions about updates, please contact our support team at api-support@tradezero.com.