# POST /api/v1/margin/order/test stops working

Calls to POST /api/v1/margin/order/test on KuCoin API stopped working on March 4, 2026.

On March 4, 2026, the POST /api/v1/margin/order/test endpoint was removed and is no longer available. Calls sent to this endpoint now fail. The change affects applications using this test endpoint under abandoned endpoints for spot margin LF orders.

## What to use instead

Test margin orders with POST /api/v3/hf/margin/order/test instead.

- API: KuCoin API (api.kucoin.com)
- Kind: Endpoint removal
- Announced: March 4, 2026
- Takes effect: March 4, 2026
- Calls after that day: fail
- Calls it hits: `POST /api/v1/margin/order/test`
- Source: [Announcement](https://www.kucoin.com/docs-new/abandoned-endpoints/margin-trading/add-order-test-v1)
- Verified: November 6, 2026, against KuCoin API's own pages
- Page: https://www.okapi.bot/providers/kucoin-api/breaking-changes/post-api-v1-margin-order-test-stops-working/

## KuCoin API's words

> This is a SPOT Margin LF test order endpoint under Abandoned Endpoints and is no longer available.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
