> ## Documentation Index
> Fetch the complete documentation index at: https://docs.engine.usesophic.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve prices

> Retrieve the price for the requested symbols as-of the given datetime, which defaults to now.



## OpenAPI

````yaml /openapi.json get /prices
openapi: 3.1.0
info:
  title: Sophic Engine API
  version: 0.1.0
servers:
  - url: https://api.engine.usesophic.com
security: []
tags:
  - description: Retrieve accounts, statements, and account documents.
    name: accounts
    x-group: Accounts
  - description: Read the audit trail of platform activity.
    name: activity
    x-group: Activity
  - description: Obtain OAuth access tokens for the Engine API.
    name: auth
    x-group: Authentication
  - description: Inspect the authenticated user or service actor.
    name: identity
    x-group: Identity
  - description: Retrieve fee schedules and billing information.
    name: billing
    x-group: Billing
  - description: Browse instruments and tradable products.
    name: catalog
    x-group: Catalog
  - description: Track onboarding applications through completion.
    name: onboarding
    x-group: Onboarding
  - description: Manage customer records and related person data.
    name: customers
    x-group: Customers
  - description: List platform events and inspect individual occurrences.
    name: events
    x-group: Events
  - description: Read positions, transactions, and account holdings.
    name: holdings
    x-group: Holdings
  - description: Retrieve legal agreements and required disclosures.
    name: legal-documents
    x-group: Legal Documents
  - description: Access prices and market data for instruments.
    name: market-data
    x-group: Market Data
  - description: Manage deposits, withdrawals, and funding accounts.
    name: payments
    x-group: Payments
  - description: Retrieve returns, earnings, and performance metrics.
    name: performance
    x-group: Performance
  - description: Place and manage orders, quotes, and trades.
    name: trading
    x-group: Trading
  - description: Read position and account valuations over time.
    name: valuation
    x-group: Valuation
  - description: Configure webhook endpoints and inspect deliveries.
    name: webhooks
    x-group: Webhooks
  - description: Upload files and retrieve stored documents.
    name: files
    x-group: Files
paths:
  /prices:
    get:
      tags:
        - market-data
      summary: Retrieve prices
      description: >-
        Retrieve the price for the requested symbols as-of the given datetime,
        which defaults to now.
      operationId: list_prices_prices_get
      parameters:
        - description: Return prices for the given symbols.
          in: query
          name: symbol
          required: true
          schema:
            description: Return prices for the given symbols.
            items:
              type: string
            title: Symbol
            type: array
        - description: Return prices as-of the given datetime. Defaults to now.
          in: query
          name: asof
          required: false
          schema:
            description: Return prices as-of the given datetime. Defaults to now.
            format: date-time
            title: Asof
            type: string
            x-remove-null-from-type-union: true
      responses:
        '200':
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Price'
                title: Response List Prices Prices Get
                type: array
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Bad Request
      security:
        - HTTPBearer: []
components:
  schemas:
    Price:
      properties:
        accrued_interest:
          anyOf:
            - type: string
            - type: 'null'
          description: The accrued interest at standard settlement.
          examples:
            - '0.87123288'
          title: Accrued Interest
        ask:
          description: The ask price.
          examples:
            - '99.50'
          title: Ask
          type: string
        bid:
          description: The bid price.
          examples:
            - '99.25'
          title: Bid
          type: string
        currency:
          allOf:
            - $ref: '#/components/schemas/Currency'
          description: The trading currency associated with the price.
        dirty_ask:
          anyOf:
            - type: string
            - type: 'null'
          description: The ask price including accrued interest.
          examples:
            - '100.37'
          title: Dirty Ask
        dirty_bid:
          anyOf:
            - type: string
            - type: 'null'
          description: The bid price including accrued interest.
          examples:
            - '100.12'
          title: Dirty Bid
        dirty_mid:
          anyOf:
            - type: string
            - type: 'null'
          description: The midpoint price including accrued interest.
          examples:
            - '100.245'
          title: Dirty Mid
        mid:
          anyOf:
            - type: string
            - type: 'null'
          description: The midpoint between the bid and ask prices.
          examples:
            - '99.375'
          title: Mid
        price_type:
          allOf:
            - $ref: '#/components/schemas/PriceType'
          description: The price quotation type.
        quality:
          allOf:
            - $ref: '#/components/schemas/PriceQuality'
          description: The timeliness quality of the price.
        symbol:
          description: The instrument symbol, such as an ISIN or ticker.
          title: Symbol
          type: string
        timestamp:
          description: The time the price took effect.
          examples:
            - '2026-07-14T09:34:12Z'
          format: date-time
          title: Timestamp
          type: string
        ytm_ask:
          anyOf:
            - type: string
            - type: 'null'
          description: The ask yield to maturity for a fixed-income instrument.
          examples:
            - '4.20'
          title: Ytm Ask
        ytm_bid:
          anyOf:
            - type: string
            - type: 'null'
          description: The bid yield to maturity for a fixed-income instrument.
          examples:
            - '4.25'
          title: Ytm Bid
        ytm_mid:
          anyOf:
            - type: string
            - type: 'null'
          description: The midpoint yield to maturity for a fixed-income instrument.
          examples:
            - '4.23'
          title: Ytm Mid
      required:
        - symbol
        - price_type
        - quality
        - currency
        - bid
        - ask
        - mid
        - ytm_bid
        - ytm_ask
        - ytm_mid
        - accrued_interest
        - timestamp
      title: Price
      type: object
    Error:
      properties:
        code:
          description: A machine-readable error code.
          title: Code
          type: string
        context:
          additionalProperties:
            anyOf:
              - type: string
              - type: integer
          description: An optional object for adding extra context to the error.
          title: Context
          type: object
          x-remove-null-from-type-union: true
        detail:
          description: A human-readable description of the error.
          title: Detail
          type: string
        docs:
          description: A URL to documentation about this error code.
          title: Docs
          type: string
          x-remove-null-from-type-union: true
        params:
          description: An optional list of params that failed validation.
          items:
            $ref: '#/components/schemas/InvalidParam'
          title: Params
          type: array
          x-remove-null-from-type-union: true
      required:
        - detail
        - code
      title: Error
      type: object
    Currency:
      enum:
        - EUR
        - USD
        - GBP
      properties: {}
      title: Currency
      type: string
    PriceType:
      enum:
        - percent
        - money
      properties: {}
      title: PriceType
      type: string
    PriceQuality:
      enum:
        - closing
        - intraday
        - realtime
        - delayed
      properties: {}
      title: PriceQuality
      type: string
    InvalidParam:
      properties:
        code:
          description: A machine-readable error code.
          title: Code
          type: string
        detail:
          description: Human-readable detail for error.
          title: Detail
          type: string
        path:
          description: Path to the field name (or index if a list) that errored.
          items:
            anyOf:
              - type: integer
              - type: string
          title: Path
          type: array
      required:
        - path
        - detail
        - code
      title: InvalidParam
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````