Crypto Orders
You can submit crypto orders through the traditional orders API endpoints (POST/orders).
- The following order types are supported: 
market,limitandstop_limit - The following 
time_in_forcevalues are supported:gtc, andioc - We accept fractional orders as well with either 
notionalorqtyprovided 
You can submit crypto orders for a any supported crypto pair via API, see the below cURL POST request.
curl --request POST 'https://paper-api.alpaca.markets/v2/orders' \
--header 'Apca-Api-Key-Id: <KEY>' \
--header 'Apca-Api-Secret-Key: <SECRET>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "symbol": "BTC/USD",
  "qty": "0.0001",
  "side": "buy",
  "type": "market",
  "time_in_force": "gtc"
}'The above request submits a market order via API to buy 0.0001 BTC with USD (BTC/USD pair) that is good till end of day.
Updated 28 days ago