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

# List Spot fills

> Your executions. Deduplicate by id; fee is denominated in the received asset.

See the [Spot API guide](/api-reference/spot-api-guide). Requires authentication; API-key scope: `view`.



## OpenAPI

````yaml /api-reference/rest-spec.json get /v1/spot/fills
openapi: 3.0.3
info:
  title: Ondo Perps REST API
  version: '1.0'
  description: >-
    REST API for Ondo Perps: account, wallet, deposits/withdrawals, API keys,
    Spot trading, internal transfers, and perpetual futures trading.
servers:
  - url: https://api.ondoperps.xyz
security:
  - BearerAuth: []
paths:
  /v1/spot/fills:
    get:
      tags:
        - Spot trading
      summary: List Spot fills
      description: >-
        Your executions. Deduplicate by id; fee is denominated in the received
        asset.


        See the [Spot API guide](/api-reference/spot-api-guide). Requires
        authentication; API-key scope: `view`.
      operationId: getSpotFills
      parameters:
        - name: cursor
          in: query
          required: false
          description: >-
            Opaque nextCursor from the preceding response; keep filters
            unchanged.
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Page-size request; the service can apply a lower historical cap.
          schema:
            type: integer
            minimum: 1
            maximum: 1000
            default: 1000
        - name: market
          in: query
          required: false
          description: Exact Spot identifier.
          schema:
            type: string
            example: NVDA-USDC
        - name: startTime
          in: query
          required: false
          description: Unix milliseconds.
          schema:
            type: integer
        - name: endTime
          in: query
          required: false
          description: Unix milliseconds.
          schema:
            type: integer
      responses:
        '200':
          description: Success. Inspect item-level outcomes for batch operations.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  result:
                    type: array
                    items:
                      $ref: '#/components/schemas/SpotFill'
                    nullable: true
                  pageInfo:
                    type: object
                    properties:
                      prevCursor:
                        type: string
                        description: ''
                      nextCursor:
                        type: string
                        description: ''
                required:
                  - success
        '400':
          description: Validation error; inspect error_code and error.
        '429':
          $ref: '#/components/responses/TooManyRequests'
      security:
        - BearerAuth: []
        - ApiKeyAuth: []
components:
  schemas:
    SpotFill:
      type: object
      required:
        - id
        - orderId
        - market
        - price
        - size
        - side
        - filledCost
        - fee
        - time
        - isMaker
      properties:
        id:
          type: string
          description: Fill ID
          example: 70a37d8f972f2494837f9dba8364cbb4
        orderId:
          type: string
          description: Order ID this fill belongs to
          example: 197ec08e001658690721be129e7fa595
        clientOrderId:
          type: string
          description: Client order ID (if set on the order)
          example: order123
        market:
          type: string
          description: Trading market
          example: SPY-USDC
        price:
          type: string
          description: Fill price
          example: '1.55'
        size:
          type: string
          description: Fill quantity in base currency
          example: '5.403'
        side:
          type: string
          description: buy or sell
          enum:
            - buy
            - sell
          example: buy
        filledCost:
          type: string
          description: Total cost of the fill in quote currency
          example: '8.37465'
        fee:
          type: string
          description: >-
            Fee in the asset received: base equivalent quantity for buys, USDC
            for sells. Zero during the launch promotion.
          example: '0.0837'
        time:
          type: string
          format: date-time
          description: Time the fill occurred
          example: '2022-06-16T12:35:11.123456Z'
        isMaker:
          type: boolean
          description: True if this was a maker (resting) fill
          example: false
  responses:
    TooManyRequests:
      description: Rate limit exceeded. Slow down request frequency.
      content:
        application/json:
          schema:
            type: object
            properties:
              success:
                type: boolean
                example: false
              error:
                type: string
                description: Human-readable error message
              error_code:
                type: string
                enum:
                  - too_many_requests
          example:
            success: false
            error: Description of the error
            error_code: too_many_requests
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    ApiKeyAuth:
      type: apiKey
      in: header
      name: ONDO-KEY-ID
      description: >-
        Also send ONDO-TIMESTAMP and ONDO-SIGN. See
        /api-reference/api_key_authentication for exact HMAC signing; the key ID
        alone is insufficient.

````

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