{ "opencollection": "1.0.0", "info": { "name": "Alpaca API (Trading, Market Data, Broker) Account Orders API", "version": "1.0" }, "request": { "auth": { "type": "apikey", "key": "APCA-API-KEY-ID", "value": "{{APCA-API-KEY-ID}}", "placement": "header" } }, "items": [ { "info": { "name": "Orders", "type": "folder" }, "items": [ { "info": { "name": "List orders", "type": "http" }, "http": { "method": "GET", "url": "https://api.alpaca.markets/v2/orders", "params": [ { "name": "status", "value": "", "type": "query", "description": "Order status to filter by." }, { "name": "limit", "value": "", "type": "query", "description": "Maximum number of orders to return." } ] }, "docs": "Retrieves a list of orders, filterable by status, symbols, and time." }, { "info": { "name": "Create an order", "type": "http" }, "http": { "method": "POST", "url": "https://api.alpaca.markets/v2/orders", "body": { "type": "json", "data": "{}" } }, "docs": "Submits a new order for stocks, options, or crypto." }, { "info": { "name": "Cancel all orders", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.alpaca.markets/v2/orders" }, "docs": "Attempts to cancel all open orders." }, { "info": { "name": "Get an order", "type": "http" }, "http": { "method": "GET", "url": "https://api.alpaca.markets/v2/orders/:order_id", "params": [ { "name": "order_id", "value": "", "type": "path", "description": "The order UUID." } ] }, "docs": "Retrieves a single order by ID." }, { "info": { "name": "Replace an order", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.alpaca.markets/v2/orders/:order_id", "params": [ { "name": "order_id", "value": "", "type": "path", "description": "The order UUID." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Replaces a single open order with updated parameters." }, { "info": { "name": "Cancel an order", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.alpaca.markets/v2/orders/:order_id", "params": [ { "name": "order_id", "value": "", "type": "path", "description": "The order UUID." } ] }, "docs": "Attempts to cancel a single open order by ID." } ] } ], "bundled": true }