Alpaca Stock Pricing Data API

The Stock Pricing Data API API from Alpaca — 16 operation(s) for stock pricing data api.

Business capability
Market & Financial Data AE-230.20

Operations 1

GET /v2/stocks/meta/conditions/{type} Get list of Conditions #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/alpaca:alpaca-stock-pricing-data-api-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

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

OpenAPI Specification

alpaca-stock-pricing-data-api-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Market Data Stock Pricing Data Stock Pricing Data Stock…
  description: Access Alpaca’s historical and real-time US stock market and crypto data through REST API and WebSocket. There are APIs for Stock Pricing, Crypto Pricing, and News.
  version: 2.0.0
  contact:
    name: Alpaca Support
    email: support@alpaca.markets
    url: https://alpaca.markets/support
  termsOfService: https://s3.amazonaws.com/files.alpaca.markets/disclosures/library/TermsAndConditions.pdf
servers:
- url: https://data.alpaca.markets
  description: Production
- description: Sandbox
  url: https://data.sandbox.alpaca.markets
security:
- API_Key: []
  API_Secret: []
tags:
- name: Stock Pricing Data API
paths:
  /v2/stocks/meta/conditions/{type}:
    parameters:
    - schema:
        type: string
        enum:
        - trade
        - quote
        example: trade
      name: type
      in: path
      required: true
      description: either "trade" or "quote"
    get:
      summary: Get list of Conditions
      responses:
        '200':
          description: 'OK


            Response is a JSON object mapping a condition to a plain text description'
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
              examples:
                example-trading-A:
                  value:
                    '4': Derivatively Priced
                    '5': Market Center Reopening Trade
                    '6': Market Center Closing Trade
                    '7': Qualified Contingent Trade
                    '8': Reserved
                    '9': Corrected Consolidated Close Price as per Listing Market
                    F: Inter-market Sweep Order
                    O: Market Center Opening Trade
                    ' ': Regular Sale
                    B: Average Price Trade
                    C: Cash Trade (Same Day Clearing)
                    E: Automatic Execution
                    M: Market Center Official Close
                    T: Extended Hours Trade
                    U: Extended Hours Sold (Out Of Sequence)
                    I: Odd Lot Trade
                    K: Rule 127 (NYSE only) or Rule 155 (NYSE MKT only)
                    R: Seller
                    X: Cross Trade
                    Z: Sold (Out Of Sequence)
                    N: Next Day Trade (Next Day Clearing)
                    P: Prior Reference Price
                    Q: Market Center Official Open
                    V: Contingent Trade
                    H: Price Variation Trade
                    L: Sold Last (Late Reporting)
                example-quote-C:
                  value:
                    '4': On Demand Intra Day Auction
                    U: Manual Bid And Ask Non Firm
                    B: Manual Bid Automated Ask
                    R: Regular Two Sided Open
                    A: Manual Ask Automated Bid
                    F: Fast Trading
                    H: Manual Bid And Ask
                    L: Closed Quote
                    N: Non Firm Quote
                    I: Order Imbalance
                    O: Opening Quote Automated
                    Y: No Offer No Bid One Sided Open
                    X: Order Influx
                    Z: No Open No Resume
      operationId: getConditions
      description: 'Each feed/exchange uses its own set of codes to identify trade and quote conditions, so the same condition may have a different code depending on the originator of the data.


        See Our documentation for more information'
      parameters:
      - schema:
          type: string
          enum:
          - A
          - B
          - C
          example: A
        in: query
        name: tape
        required: true
        description: 'What kind of conditions to retrieve, "A" and "B" return CTS, where "C" will give you UTP '
      tags:
      - Stock Pricing Data API
components:
  securitySchemes:
    API_Key:
      name: APCA-API-KEY-ID
      type: apiKey
      in: header
    API_Secret:
      name: APCA-API-SECRET-KEY
      type: apiKey
      in: header