> ## Documentation Index
> Fetch the complete documentation index at: https://sure-917046f5-mintlify-docs-update-1787373087256.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List security price history referenced by family investment data



## OpenAPI

````yaml /openapi.yaml get /api/v1/security_prices
openapi: 3.0.3
info:
  title: Sure API
  version: v1
  description: OpenAPI documentation generated from executable request specs.
servers:
  - url: https://app.sure.am
    description: Production
  - url: http://localhost:3000
    description: Local development
security: []
paths:
  /api/v1/security_prices:
    get:
      tags:
        - Security Prices
      summary: List security price history referenced by family investment data
      parameters:
        - name: page
          in: query
          required: false
          description: 'Page number (default: 1)'
          schema:
            type: integer
        - name: per_page
          in: query
          required: false
          description: 'Items per page (default: 25, max: 100)'
          schema:
            type: integer
        - name: security_id
          in: query
          required: false
          description: Filter by security ID
          schema:
            type: string
            format: uuid
        - name: currency
          in: query
          required: false
          description: Filter by currency code
          schema:
            type: string
        - name: start_date
          in: query
          required: false
          description: Filter prices from this date
          schema:
            type: string
            format: date
        - name: end_date
          in: query
          required: false
          description: Filter prices until this date
          schema:
            type: string
            format: date
        - name: provisional
          in: query
          required: false
          description: >-
            Filter by provisional price status. When supplied, must be true or
            false.
          schema:
            type: boolean
      responses:
        '200':
          description: security prices listed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SecurityPriceCollection'
        '401':
          description: unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: insufficient scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: invalid filter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - apiKeyAuth: []
components:
  schemas:
    SecurityPriceCollection:
      type: object
      required:
        - security_prices
        - pagination
      properties:
        security_prices:
          type: array
          items:
            $ref: '#/components/schemas/SecurityPrice'
        pagination:
          $ref: '#/components/schemas/Pagination'
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
          nullable: true
        details:
          oneOf:
            - type: array
              items:
                type: string
            - type: object
          nullable: true
        errors:
          type: array
          items:
            type: string
          nullable: true
          description: >-
            Validation error messages (alternative to details used by trades,
            valuations, etc.)
    SecurityPrice:
      type: object
      required:
        - id
        - date
        - price
        - price_amount
        - currency
        - provisional
        - security
        - created_at
        - updated_at
      properties:
        id:
          type: string
          format: uuid
        date:
          type: string
          format: date
        price:
          type: string
          description: Formatted security price
        price_amount:
          type: string
          description: Exact decimal security price
        currency:
          type: string
        provisional:
          type: boolean
        security:
          type: object
          required:
            - id
            - ticker
          properties:
            id:
              type: string
              format: uuid
            ticker:
              type: string
            name:
              type: string
              nullable: true
            exchange_operating_mic:
              type: string
              nullable: true
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
    Pagination:
      type: object
      required:
        - page
        - per_page
        - total_count
        - total_pages
      properties:
        page:
          type: integer
          minimum: 1
        per_page:
          type: integer
          minimum: 1
        total_count:
          type: integer
          minimum: 0
        total_pages:
          type: integer
          minimum: 0
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      name: X-Api-Key
      in: header
      description: API key for authentication. Generate one from your account settings.

````