# Create pie market order API call

**URL:** <https://community.trading212.com/t/create-pie-market-order-api-call/85041>\
**Category:** 💡 Feature suggestions & ideas\
**Created:** [May 21, 2025, 8:21am UTC](https://community.trading212.com/t/create-pie-market-order-api-call/85041 "2025-05-21T08:21:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HuskyDogg](https://avatars.discourse-cdn.com/v4/letter/h/6bbea6/32.png) [@HuskyDogg](https://community.trading212.com/u/HuskyDogg)\
**Post date:** [May 21, 2025, 8:21am UTC](https://community.trading212.com/t/create-pie-market-order-api-call/85041/1 "2025-05-21T08:21:21Z")

</div>

Please create a new Trading 212 API call to create a **market order** for a pie.

Parameters:

1. Pie ID
2. Amount (taken from Investing pot)
3. Fund distribution:
  1. Self balancing
  2. By targets
  3. _Custom_ can be added later
