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

# Get Event Forecast Percentile History

> API reference for GET /api/v1/event/{series_ticker}/{event_id}/forecast_percentile_history



## OpenAPI

````yaml GET /api/v1/event/{series_ticker}/{event_id}/forecast_percentile_history
openapi: 3.1.0
info:
  title: prediction-markets-api
  description: API for prediction markets
  license:
    name: ''
  version: 0.1.0
servers:
  - url: https://dev-prediction-markets-api.dflow.net
security:
  - api_key: []
tags:
  - name: Candlesticks
    description: Market and event candlesticks relay endpoints
  - name: Events
    description: Event management endpoints
  - name: Markets
    description: Market management endpoints
  - name: Trades
    description: Trade history endpoints
  - name: Series
    description: Series template endpoints
  - name: Tags
    description: Tag and category endpoints
  - name: Sports
    description: Sports filtering endpoints
  - name: Live Data
    description: Live data relay endpoints
  - name: Orderbook
    description: Orderbook endpoints
  - name: Search
    description: Full-text search endpoints
paths:
  /api/v1/event/{series_ticker}/{event_id}/forecast_percentile_history:
    get:
      tags:
        - Events
      summary: Get event forecast percentile history by event ticker
      description: >-
        Returns historical raw and formatted forecast numbers for an event at

        specific percentiles. This endpoint relays the response directly from
        the

        Kalshi API.
      operationId: event_forecast_percentile_history
      parameters:
        - name: series_ticker
          in: path
          description: The series ticker
          required: true
          schema:
            type: string
        - name: event_id
          in: path
          description: The event ticker
          required: true
          schema:
            type: string
        - name: percentiles
          in: query
          description: Comma-separated list of percentile values (0-10000, max 10 values)
          required: true
          schema:
            type: string
        - name: startTs
          in: query
          description: >-
            Start timestamp for the range (Unix timestamp in seconds, not
            milliseconds)
          required: true
          schema:
            type: integer
            format: int64
            minimum: 0
        - name: endTs
          in: query
          description: >-
            End timestamp for the range (Unix timestamp in seconds, not
            milliseconds)
          required: true
          schema:
            type: integer
            format: int64
            minimum: 0
        - name: periodInterval
          in: query
          description: Period interval in minutes (0, 1, 60, or 1440)
          required: true
          schema:
            type: integer
            format: int32
            minimum: 0
      responses:
        '200':
          description: Event forecast percentile history
          content:
            application/json:
              schema: {}
        '400':
          description: Bad request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Event not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ErrorResponse:
      type: object
      required:
        - msg
        - code
      properties:
        code:
          type: string
        msg:
          type: string
  securitySchemes:
    api_key:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        API key for authentication. Contact hello@dflow.net to obtain an API
        key.

````