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

# Get Event

> Returns a single prediction market event by internal id. Set `expand=markets` to include the event's markets.

Fetch one prediction market event by internal id.

```bash theme={null}
curl -sS "$MONETARY_API_BASE_URL/v1/prediction_markets/events/evt_example?expand=markets" \
  -H "Authorization: Bearer $MONETARY_API_TOKEN" \
  -H "Accept: application/json"
```


## OpenAPI

````yaml GET /v1/prediction_markets/events/{id}
openapi: 3.1.0
info:
  title: Monetary Public API
  description: Read-only market intelligence API for companies and prediction market data.
  version: 1.0.0
servers:
  - url: http://127.0.0.1:3003
    description: Local development
  - url: https://api.monetary.dev
    description: Production
security: []
tags:
  - name: System
    description: Service and health endpoints
  - name: Companies
    description: Company directory search and filtering
  - name: Prediction Markets
    description: Prediction market events, markets, and similarity grouping
paths:
  /v1/prediction_markets/events/{id}:
    get:
      tags:
        - Prediction Markets
      summary: Get prediction market event
      description: >-
        Returns a single prediction market event by internal id. Set
        `expand=markets` to include the event's markets.
      operationId: getPredictionMarketEvent
      parameters:
        - name: id
          in: path
          required: true
          description: Internal event id (`evt_...`).
          schema:
            type: string
        - name: provider
          in: query
          description: Optional provider filter.
          schema:
            $ref: '#/components/schemas/PredictionMarketProvider'
        - name: status
          in: query
          description: Optional status filter.
          schema:
            $ref: '#/components/schemas/PredictionMarketStatus'
        - name: expand
          in: query
          description: Set to `markets` to include event markets.
          schema:
            type: string
            enum:
              - markets
      responses:
        '200':
          description: Event details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PredictionMarketEventResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '500':
          $ref: '#/components/responses/InternalServerError'
      security:
        - bearerAuth: []
components:
  schemas:
    PredictionMarketProvider:
      type: string
      enum:
        - kalshi
        - polymarket
    PredictionMarketStatus:
      type: string
      enum:
        - open
        - closed
    PredictionMarketEventResponse:
      type: object
      required:
        - data
      properties:
        data:
          $ref: '#/components/schemas/PredictionMarketEventExpanded'
    PredictionMarketEventExpanded:
      allOf:
        - $ref: '#/components/schemas/PredictionMarketEvent'
        - type: object
          properties:
            markets:
              type: array
              items:
                $ref: '#/components/schemas/PredictionMarketMarket'
            topMarket:
              anyOf:
                - $ref: '#/components/schemas/PredictionMarketMarket'
                - type: 'null'
    ErrorResponse:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
          examples:
            - BadRequest
            - Unauthorized
            - InternalServerError
        message:
          type: string
    PredictionMarketEvent:
      type: object
      required:
        - category
        - id
        - provider
        - scheduledAt
        - status
        - title
      properties:
        category:
          type:
            - string
            - 'null'
        id:
          type: string
        provider:
          $ref: '#/components/schemas/PredictionMarketProvider'
        scheduledAt:
          type:
            - string
            - 'null'
          format: date-time
        status:
          $ref: '#/components/schemas/PredictionMarketStatus'
        title:
          type: string
    PredictionMarketMarket:
      type: object
      required:
        - category
        - event
        - eventId
        - id
        - outcomes
        - provider
        - resolutionAt
        - resolutionSource
        - resolvedAt
        - resolvedOutcomeId
        - status
        - title
      properties:
        category:
          type:
            - string
            - 'null'
        event:
          $ref: '#/components/schemas/PredictionMarketEvent'
        eventId:
          type: string
        id:
          type: string
        outcomes:
          type: array
          items:
            $ref: '#/components/schemas/PredictionMarketOutcome'
        provider:
          $ref: '#/components/schemas/PredictionMarketProvider'
        resolutionAt:
          type:
            - string
            - 'null'
          format: date-time
        resolutionSource:
          type:
            - string
            - 'null'
        resolvedAt:
          type:
            - string
            - 'null'
          format: date-time
        resolvedOutcomeId:
          type:
            - string
            - 'null'
        status:
          $ref: '#/components/schemas/PredictionMarketStatus'
        title:
          type: string
    PredictionMarketOutcome:
      type: object
      required:
        - id
        - label
        - probability
      properties:
        id:
          type:
            - string
            - 'null'
        label:
          type: string
        probability:
          type: number
          minimum: 0
          maximum: 1
  responses:
    BadRequest:
      description: Invalid request parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            invalidLimit:
              value:
                error: BadRequest
                message: limit must be an integer between 1 and 500
            invalidExpand:
              value:
                error: BadRequest
                message: expand must be 'markets'
    Unauthorized:
      description: Missing or invalid API token
      headers:
        Cache-Control:
          description: Unauthorized responses are never cached.
          schema:
            type: string
          example: no-store
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            missingBearerToken:
              value:
                error: Unauthorized
                message: 'Expected Authorization: Bearer <token>'
            invalidToken:
              value:
                error: Unauthorized
                message: Invalid API token
    NotFound:
      description: Resource was not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            default:
              value:
                error: NotFound
                message: Requested resource was not found.
    InternalServerError:
      description: Unexpected server error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          examples:
            default:
              value:
                error: InternalServerError
                message: Unexpected error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key token

````