Alpaca · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Trading Orders API

8 actions 8 updates phrasing extends openapi/alpaca-orders-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Alpaca's API. It is a proposal applied on top of the contract, not a document Alpaca publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/v2/orders'].get
$.paths['/v2/orders'].post
$.paths['/v2/orders'].delete
$.paths['/v2/orders/{order_id}'].get
$.paths['/v2/orders/{order_id}'].delete
$.paths['/v2/orders/{order_id}'].patch
$.paths['/v2/orders:by_client_order_id'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Trading Orders API
  version: 1.0.0
extends: openapi/alpaca-orders-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/v2/orders'].get
  update:
    x-apievangelist-phrasing:
      intent: List all open orders
      effect: read
      questions:
      - Which orders have I placed on my account?
      - Can I list only my closed orders or only orders for certain symbols?
      - Is it possible to page through orders older than a given date?
      instructions:
      - text: List all my orders.
      - text: Show my {status} orders for {symbols}.
        slots:
          status: query.status
          symbols: query.symbols
      - text: List orders submitted after {after} and before {until}.
        slots:
          after: query.after
          until: query.until
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v2/orders'].post
  update:
    x-apievangelist-phrasing:
      intent: Place a new order
      effect: write
      questions:
      - How do I buy or sell a stock with a limit price?
      - Can I place an order for a notional dollar amount instead of shares?
      - What happens if I submit an order when my account isn't authorized for trading?
      instructions:
      - text: Place a {type} order to buy {qty} shares of {symbol} at {limit_price} with time in force {time_in_force}.
        slots:
          type: requestBody.type
          qty: requestBody.qty
          symbol: requestBody.symbol
          limit_price: requestBody.limit_price
          time_in_force: requestBody.time_in_force
      - text: Buy {qty} shares of {symbol} for {notional} dollars with time in force {time_in_force}.
        slots:
          qty: requestBody.qty
          symbol: requestBody.symbol
          notional: requestBody.notional
          time_in_force: requestBody.time_in_force
      - text: Place a stop order on {symbol} with stop price {stop_price} and time in force {time_in_force}.
        slots:
          symbol: requestBody.symbol
          stop_price: requestBody.stop_price
          time_in_force: requestBody.time_in_force
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v2/orders'].delete
  update:
    x-apievangelist-phrasing:
      intent: Cancel all open orders
      effect: destructive
      questions:
      - Can I cancel every open order on my account at once?
      - What happens if an order is already filled when I try to cancel all open orders?
      instructions:
      - text: Cancel all my open orders.
      - text: Attempt to cancel every order on my account.
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v2/orders/{order_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one order by ID
      effect: read
      questions:
      - What are the details of a specific order I placed?
      - Can I fetch an order by its order ID?
      instructions:
      - text: Get order {order_id}.
        slots:
          order_id: path.order_id
      - text: Show the details of order {order_id}.
        slots:
          order_id: path.order_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v2/orders/{order_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Cancel one open order
      effect: destructive
      questions:
      - How do I cancel a single open order?
      - Can I cancel an order that has already been filled?
      instructions:
      - text: Cancel order {order_id}.
        slots:
          order_id: path.order_id
      - text: Attempt to cancel the open order {order_id}.
        slots:
          order_id: path.order_id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v2/orders/{order_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Replace an order's parameters
      effect: write
      questions:
      - Can I change the limit price of an order I already placed?
      - What happens if I replace an order that has already been filled?
      instructions:
      - text: Replace order {order_id} with a new limit price of {limit_price}.
        slots:
          order_id: path.order_id
          limit_price: requestBody.limit_price
      - text: Change the quantity of order {order_id} to {qty}.
        slots:
          order_id: path.order_id
          qty: requestBody.qty
      - text: Replace order {order_id} with a stop price of {stop_price} and time in force {time_in_force}.
        slots:
          order_id: path.order_id
          stop_price: requestBody.stop_price
          time_in_force: requestBody.time_in_force
      method: generated
      generated: '2026-11-24'
- target: $.paths['/v2/orders:by_client_order_id'].get
  update:
    x-apievangelist-phrasing:
      intent: Find an order by client order ID
      effect: read
      questions:
      - Can I find an order using the client order ID I assigned?
      - What does it mean if an order lookup by client ID returns nothing?
      instructions:
      - text: Find the order with client order ID {client_order_id}.
        slots:
          client_order_id: query.client_order_id
      - text: Look up my order by client ID {client_order_id}.
        slots:
          client_order_id: query.client_order_id
      method: generated
      generated: '2026-11-24'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/alpaca-orders-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.