Changelog
All notable changes to the TradeZero API will be documented on this page.
May 14, 2026
Documentation
- Developer portal refresh. The Trading, Options, Locates, Positions, Accounts, and WebSocket guides have been refreshed end-to-end - clearer prose, accurate response shapes for both paper and live accounts, and consistent paper-vs-live coverage throughout.
- New recipes added. The Quickstart Recipes library has been expanded with new examples covering single-leg and multi-leg options, locates, order management, and the P&L and Portfolio WebSocket streams.
April 9, 2026
Changed
- Locates API -
locateTypedocumentation corrected -locateTypevalues1and2are functionally identical. The documentation has been updated to reflect this:locateTypevalues1and2are now documented together as1 & 2 = Locatein all response field tables- The
IntraDaystring value ("IntraDay") is deprecated in thelocateTypeparameter of the Sell (Credit) Locates endpoint. The API still accepts it for backward compatibility, but new integrations should send"Locate"for both codes1and2. Recommended values:"Unknown","Locate","PreBorrow","SingleUse" - Removed the restriction note stating that Accept was not available for
locateType = 2
March 3, 2026
New
- Enabled support for multi-leg options trading - see Options Trading Documentation for details
- Added support for WebSocket clients - see WebSocket API Documentation for details
February 10, 2026
New
-
New Order Endpoint Added - new endpoint to retrieve an individual order by
clientOrderIdfor the account:GET /v1/api/accounts/{accountId}/order/{clientOrderId}- retrieves the details of a specific order using itsclientOrderId- This endpoint provides a more efficient way to access order details without having to filter through all orders
Notes
GET /order/{clientOrderId}response shape — Returns the same clean field set asPOST /orderfor stock, single-leg option, and Mleg orders beforelegs[]is populated (accountId,clientOrderId,canceledQuantity,lastQuantity, …). Once a filled Mleg order'slegs[]is populated, the response may switch to the WebSocket field set (account,userOrderId,cancelledQuantity,lastQty, …).GET /ordersrows use the clean shape throughout. See Order shape across REST and WebSocket.
January 14, 2026
Changed
-
Order Response Structure - The API no longer returns the
orderIdfield in order responses- All order operations now exclusively use
clientOrderIdfor identification and tracking - If no
clientOrderIdis provided during order creation, the system will auto-generate one
- All order operations now exclusively use
-
Cancel Order Endpoint - The
DELETE /v1/api/accounts/{accountId}/orders/{clientOrderId}endpoint now usesclientOrderIdin the URL path- This change ensures consistency with the updated response structure
- All order management now centers around the
clientOrderIdfield
Migration Guide
For Order Management:
- Update your code to use only
clientOrderIdfor order tracking and identification - Remove any references to
orderIdfrom response parsing logic - Ensure your order creation requests include a unique
clientOrderIdfor better tracking - All cancellation requests should use the
clientOrderIdfrom 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 (as of this release):
0(Unknown) →"Unknown"1(Locate) →"Locate"2(Intraday Only) →"IntraDay"(see April 9, 2026 -"IntraDay"is deprecated; the API still accepts it but new code should send"Locate"for both1and2)3(Pre-Borrow) →"PreBorrow"4(Single Use) →"SingleUse"
December 11, 2025
Changed
-
Locates Endpoints - The
GET /v1/api/accounts/{accountId}/locatesendpoint has been split into two more specific endpoints:GET /v1/api/accounts/{accountId}/locates/inventory- Returns only active locate inventory for the current trading dayGET /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}/locateshas 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 to make an additional REST call for order status.
Legend
| Type | Description |
|---|---|
| New | New features, endpoints, or capabilities added to the API |
| Changed | Modifications to existing functionality or behavior |
| Fixed | Issue fixes and behavior corrections |
| Deprecated | Features that will be removed in a future version |
| Removed | Features that have been removed from the API |
| Security | Security-related updates and improvements |
For breaking changes, migration guides, or questions about updates, please contact our support team.