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

# Get Spot Trades

> Paginated 1-minute OHLC + aggressive flow imbalance from Binance
spot aggTrades.

PolyBackTest schema reference:
  /v3/{coin}/spot/trades — paginated list of OHLC buckets.



## OpenAPI

````yaml get /v1/spot/trades
openapi: 3.1.0
info:
  title: PolyQuantLab API
  version: 0.1.0
  description: >-
    Sub-second Polymarket orderbook data, walk-the-book backtests, paper
    trading, and the live arb audit. Same endpoints the PolyQuantLab dashboard
    uses internally — Bearer-token auth, JSON-over-HTTPS, predictable
    pagination.
  contact:
    email: contact@polyquantlab.com
    url: https://polyquantlab.com/contact
  license:
    name: Proprietary
servers:
  - url: https://api.polyquantlab.com
    description: Production
security:
  - ApiKeyAuth: []
paths:
  /v1/spot/trades:
    get:
      summary: Get Spot Trades
      description: |-
        Paginated 1-minute OHLC + aggressive flow imbalance from Binance
        spot aggTrades.

        PolyBackTest schema reference:
          /v3/{coin}/spot/trades — paginated list of OHLC buckets.
      operationId: get_spot_trades_v1_spot_trades_get
      parameters:
        - name: ticker
          in: query
          required: true
          schema:
            type: string
            examples:
              - BTC
              - ETH
              - SOL
            title: Ticker
        - name: start
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            title: Start
        - name: end
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date-time
              - type: 'null'
            title: End
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 10000
            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/GetSpotTradesVSpotTradesGetResponse'
              example:
                ticker: BTC
                total: 14400
                limit: 100
                offset: 0
                trades:
                  - id: 8821402
                    ticker: BTC
                    timestamp: '2026-06-06T03:55:00+00:00'
                    price_open: 109480
                    price_high: 109560
                    price_low: 109460
                    price_close: 109520.5
                    total_volume: 14.82
                    num_trades: 412
                    aggressive_buy_volume: 8.61
                    aggressive_sell_volume: 6.21
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    GetSpotTradesVSpotTradesGetResponse:
      type: object
      properties:
        ticker:
          type: string
          enum:
            - BTC
            - ETH
            - SOL
        total:
          type: integer
          format: int64
        limit:
          type: integer
          format: int64
        offset:
          type: integer
          format: int64
        trades:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
                format: int64
              ticker:
                type: string
                enum:
                  - BTC
                  - ETH
                  - SOL
              timestamp:
                type: string
                format: date-time
              price_open:
                type: number
                format: double
              price_high:
                type: number
                format: double
              price_low:
                type: number
                format: double
              price_close:
                type: number
                format: double
              total_volume:
                type: number
                format: double
              num_trades:
                type: integer
                format: int64
              aggressive_buy_volume:
                type: number
                format: double
              aggressive_sell_volume:
                type: number
                format: double
            required:
              - id
              - ticker
              - timestamp
              - price_open
              - price_high
              - price_low
              - price_close
              - total_volume
              - num_trades
              - aggressive_buy_volume
              - aggressive_sell_volume
      required:
        - ticker
        - total
        - limit
        - offset
        - trades
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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
  securitySchemes:
    ApiKeyAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key

````