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

# Get Order Fills

> Returns the fills recorded for a ProphetX order.



## OpenAPI

````yaml /openapi/v1.json get /v1/prophetx/orders/{orderId}/fills
openapi: 3.0.0
info:
  title: ParlayX API
  version: 1.0.0
  description: Aggregated prediction-market trading API
servers:
  - url: https://api.parlayx.com
security: []
tags:
  - name: Authentication
    description: Confirm your signing and read the server clock.
  - name: Discovery
    description: Browse sports, competitions, events, and markets.
  - name: Polymarket
    description: Submit and manage orders on Polymarket outcomes.
  - name: Kalshi
    description: Submit and manage orders on Kalshi markets.
  - name: ProphetX
    description: Submit and manage orders on ProphetX strikes.
  - name: Limitless
    description: Discover and trade Limitless markets.
paths:
  /v1/prophetx/orders/{orderId}/fills:
    get:
      tags:
        - ProphetX
      summary: Get Order Fills
      description: Returns the fills recorded for a ProphetX order.
      operationId: getProphetXOrderFills
      parameters:
        - name: PX-Key-Id
          in: header
          required: true
          schema:
            type: string
          description: The key id issued for your signing keypair.
        - name: PX-Timestamp
          in: header
          required: true
          schema:
            type: string
          description: >-
            Unix seconds at signing, valid within 30 seconds of the server
            clock.
        - name: PX-Signature
          in: header
          required: true
          schema:
            type: string
          description: Ed25519 signature of the request
        - name: PX-Content-Sha256
          in: header
          required: true
          schema:
            type: string
          description: >-
            Hex SHA-256 of the request body, or the SHA-256 of the empty string
            when there is no body.
        - schema:
            type: string
            format: uuid
            description: Issued order id.
            example: abd80630-5c89-437f-980e-47936f518ec2
          required: true
          name: orderId
          in: path
      responses:
        '200':
          description: Fills found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetProphetXOrderFillsResponse'
        '400':
          description: Invalid request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '401':
          description: The request was not authenticated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '403':
          description: The key is not permitted to perform this action
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '404':
          description: Order not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: >-
            The organization has exceeded its request rate; retry after the
            Retry-After interval
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
        '500':
          description: Internal error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '503':
          description: Authentication is temporarily unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthError'
components:
  schemas:
    GetProphetXOrderFillsResponse:
      type: object
      properties:
        fills:
          type: array
          items:
            $ref: '#/components/schemas/ProphetXFillView'
          description: Fills recorded for the order, oldest first.
      required:
        - fills
    ApiError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              $ref: '#/components/schemas/ApiErrorCode'
            message:
              type: string
              description: Plain-text explanation of the error.
            orderId:
              type: string
              format: uuid
              description: >-
                The affected order, present only on
                ORDER_RECONCILIATION_REQUIRED; read it back to determine whether
                it reached the venue.
          required:
            - code
            - message
      required:
        - error
      title: API Error
    AuthError:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              $ref: '#/components/schemas/AuthErrorCode'
            message:
              type: string
              description: Plain-text explanation of the error.
          required:
            - code
            - message
      required:
        - error
      title: Auth Error
    ProphetXFillView:
      type: object
      properties:
        fillId:
          type: string
          format: uuid
          description: Fill id.
          example: 7c1e4b2a-9d3f-4e8c-a1b2-3c4d5e6f7a8b
        orderId:
          type: string
          format: uuid
          description: Issued order id.
          example: abd80630-5c89-437f-980e-47936f518ec2
        venueFillId:
          type: string
          description: ProphetX trade id for this fill.
          example: '48213077'
        shares:
          type: string
          description: >-
            Shares matched by this fill, each of which settles at one dollar or
            nothing.
          example: '8.699964'
        price:
          type: string
          description: >-
            Cost of one share in dollars from 0 to 1, which is the stake this
            fill consumed divided by the shares it bought. Not the order's limit
            price: the venue improves on a limit, and it rounds its share
            counts, so the two can differ slightly.
          example: '0.400000'
        stakeUsd:
          type: string
          description: >-
            Stake this fill consumed in dollars, which is shares multiplied by
            price.
          example: '3.48'
        feeUsd:
          type: string
          description: Fee charged in dollars, which ProphetX does not charge at match.
          example: '0'
        occurredAt:
          type: string
          description: Time the fill occurred at the venue, in ISO-8601.
          example: '2026-08-29T12:03:00.000Z'
      required:
        - fillId
        - orderId
        - venueFillId
        - shares
        - price
        - stakeUsd
        - feeUsd
        - occurredAt
    ApiErrorCode:
      type: string
      enum:
        - INVALID_REQUEST
        - NOT_FOUND
        - INSUFFICIENT_BALANCE
        - IDEMPOTENCY_CONFLICT
        - ORDER_NOT_CANCELLABLE
        - ORDER_RECONCILIATION_REQUIRED
        - RATE_LIMITED
        - INTERNAL_ERROR
      description: Stable identifier for the error category.
    AuthErrorCode:
      type: string
      enum:
        - UNAUTHORIZED
        - BAD_CONTENT_HASH
        - FORBIDDEN
        - RATE_LIMITED
        - AUTH_UNAVAILABLE
      description: Stable identifier for the error category.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.