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

# Get Fills

> Fetch fills/trades for the user's subaccounts.

Returns fills grouped by subaccount, filterable by instrument and time range.



## OpenAPI

````yaml /openapi.json get /v1/fills
openapi: 3.1.0
info:
  title: Centos Finance API
  contact:
    name: Centos Finance
    url: https://centosfi.com/
  license:
    name: Proprietary
  version: 1.0.0
servers:
  - url: https://api.centosfi.com
security: []
tags:
  - name: markets
    description: Search and discover prediction markets across Kalshi and Polymarket.
  - name: subaccounts
    description: >-
      Manage trading subaccounts. Each subaccount can have its own exchange
      credentials and positions.
  - name: positions
    description: View current portfolio positions across all connected exchanges.
  - name: fills
    description: Retrieve trade execution history and fill details.
  - name: prices
    description: Get historical price data and candlesticks from exchanges.
  - name: orders
    description: Place and manage orders on prediction market exchanges.
  - name: complex-orders
    description: >-
      Manage complex orders: conditional orders (take-profit and stop-loss),
      TWAP, and other advanced order types.
paths:
  /v1/fills:
    get:
      tags:
        - fills
      summary: Get Fills
      description: >-
        Fetch fills/trades for the user's subaccounts.


        Returns fills grouped by subaccount, filterable by instrument and time
        range.
      operationId: get_fills_v1_fills_get
      parameters:
        - name: subaccount_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Subaccount Id
        - name: centos_id
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
              - type: 'null'
            title: Centos Id
        - name: start_time
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            title: Start Time
        - name: end_time
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            title: End Time
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 1000
            minimum: 1
            default: 100
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserFillListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UserFillListResponse:
      properties:
        subaccount_to_fills:
          items:
            additionalProperties:
              anyOf:
                - type: string
                - items:
                    $ref: '#/components/schemas/FillResponse'
                  type: array
            type: object
          type: array
          title: Subaccount To Fills
      type: object
      required:
        - subaccount_to_fills
      title: UserFillListResponse
      description: Schema for list of fills for a user.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    FillResponse:
      properties:
        centos_id:
          type: integer
          title: Centos Id
        client_order_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Client Order Id
        exchange_order_id:
          type: string
          title: Exchange Order Id
        exchange_trade_id:
          type: string
          title: Exchange Trade Id
        exchange_timestamp:
          type: string
          format: date-time
          title: Exchange Timestamp
          description: Execution timestamp from exchange (UTC)
        price:
          type: number
          title: Price
        qty:
          type: number
          title: Qty
        fee:
          type: number
          title: Fee
        buy_flag:
          type: boolean
          title: Buy Flag
        is_maker:
          type: boolean
          title: Is Maker
        counterparty_address:
          anyOf:
            - type: string
            - type: 'null'
          title: Counterparty Address
      type: object
      required:
        - centos_id
        - client_order_id
        - exchange_order_id
        - exchange_trade_id
        - exchange_timestamp
        - price
        - qty
        - fee
        - buy_flag
        - is_maker
        - counterparty_address
      title: FillResponse
      description: Schema for fill response.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````