# POST /trade-api/v2/portfolio/orders/batched is deprecated

Kalshi API deprecated POST /trade-api/v2/portfolio/orders/batched without giving a shutdown date yet.

Kalshi announced on June 18, 2026, that the POST /trade-api/v2/portfolio/orders/batched endpoint is deprecated without a shutdown date. The provider noted that legacy endpoints will be deprecated sometime between June 18 and June 25. Once shut down, requests to this endpoint fail.

## What to use instead

Use POST /trade-api/v2/portfolio/events/orders/batched (Batch Create Orders V2) instead.

- API: Kalshi API (api.elections.kalshi.com)
- Kind: Endpoint removal
- Announced: June 18, 2026
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /trade-api/v2/portfolio/orders/batched`
- Source: [Announcement](https://docs.kalshi.com/changelog)
- Verified: October 26, 2026, against Kalshi API's own pages
- Page: https://www.okapi.bot/providers/kalshi-api/breaking-changes/post-trade-api-v2-portfolio-orders-batched-is-deprecated/

## Kalshi API's words

> Legacy /portfolio/orders mutation endpoints will be deprecated sometime between June 18 and June 25.

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