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

# Download completed Kalshi perpetual trade closes as CSV or JSON

> Completed traded-price OHLC normalized to USD per underlying unit by dividing Kalshi's per-contract prices by contract_size × underlying_multiplier. Raw scaling metadata is returned for auditability. Null closes and missing bars are not filled. Bounded backward time-window retrieval; maximum 20,000 intervals per date range and 5,000 returned rows. Market data is public; forecast execution still uses authenticated workspace authorization.



## OpenAPI

````yaml https://quantura.studio/api/openapi.json get /market-data/perps/history
openapi: 3.1.0
info:
  title: Quantura Forecast Intelligence API
  version: 1.0.0
  description: >-
    Versioned access to Quantura forecasts, collaborator-aware workspaces,
    screeners, datasets, and provenance metadata.
  contact:
    name: Quantura
    url: https://quantura.studio/contact
  license:
    name: Quantura API Terms
    url: https://quantura.studio/terms
servers:
  - url: https://quantura.studio/api/v1
security:
  - bearerAuth: []
tags:
  - name: Access
    description: Identity, token scopes, plans, and effective workspace access.
  - name: Workspaces
    description: Resources are authorized against current membership on every request.
  - name: Uploaded CSVs
    description: Workspace-isolated CSV metadata, organization, and authorized exports.
  - name: Datasets
    description: Licensing-aware catalog and schema metadata.
  - name: Forecasts
    description: Prospective forecasts and immutable probability trajectories.
  - name: Ensemble Forecasts
    description: >-
      Asynchronous probabilistic time-series ensemble jobs and reproducible
      presets.
  - name: Backtests
    description: >-
      Asynchronous point-in-time ensemble-quantile simulations and versioned
      strategy exports; never live order execution.
paths:
  /market-data/perps/history:
    get:
      tags:
        - Kalshi Perpetuals
      summary: Download completed Kalshi perpetual trade closes as CSV or JSON
      description: >-
        Completed traded-price OHLC normalized to USD per underlying unit by
        dividing Kalshi's per-contract prices by contract_size ×
        underlying_multiplier. Raw scaling metadata is returned for
        auditability. Null closes and missing bars are not filled. Bounded
        backward time-window retrieval; maximum 20,000 intervals per date range
        and 5,000 returned rows. Market data is public; forecast execution still
        uses authenticated workspace authorization.
      operationId: getKalshiPerpetualTradeCloses
      parameters:
        - name: symbol
          in: query
          required: true
          schema:
            type: string
            pattern: ^KX[A-Z0-9]{1,36}PERP$
          example: KXBTCPERP
        - name: frequency
          in: query
          schema:
            type: string
            enum:
              - 1min
              - 5min
              - 15min
              - 30min
              - 1h
              - 4h
              - 1D
              - 1W-MON
              - 1MS
            default: 1h
        - name: start
          in: query
          schema:
            type: string
            format: date-time
        - name: end
          in: query
          schema:
            type: string
            format: date-time
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 5000
            default: 500
        - name: format
          in: query
          schema:
            type: string
            enum:
              - json
              - csv
            default: json
      responses:
        '200':
          description: Successful response (example)
          content:
            application/json:
              schema:
                type: object
              example:
                ok: true
                provider: kalshi_perps
                symbol: KXBTCPERP
                frequency: 1min
                rows:
                  - timestamp: '2026-09-20T12:01:00Z'
                    open: 81000
                    high: 82000
                    low: 80500
                    close: 81500
                    volume: 100
                count: 1
                metadata:
                  field: price.close / (contract_size * underlying_multiplier)
                  provider_field: price.close
                  units: USD per underlying unit
                  contract_size: 0.0001
                  underlying_multiplier: 1
                  timezone: UTC
                  timestamp_convention: end_period_ts
                  missing_intervals: not_filled
                  redistribution_status: review_required
                warnings: []
            text/csv:
              schema:
                type: string
              example: "timestamp,open,high,low,close,volume\r\n2026-09-20T12:01:00Z,81000,82000,80500,81500,100"
        '422':
          description: Provider unavailable or request invalid
          content:
            application/json:
              schema:
                type: object
              example:
                error: perps_provider_unavailable
                message: >-
                  Perpetual history is unavailable. No substitute prices were
                  returned.
        '429':
          description: Provider unavailable or request invalid
          content:
            application/json:
              schema:
                type: object
              example:
                error: perps_provider_unavailable
                message: >-
                  Perpetual history is unavailable. No substitute prices were
                  returned.
        '502':
          description: Provider unavailable or request invalid
          content:
            application/json:
              schema:
                type: object
              example:
                error: perps_provider_unavailable
                message: >-
                  Perpetual history is unavailable. No substitute prices were
                  returned.
      security: []
      servers:
        - url: https://quantura.studio/api
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Quantura API key

````

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