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

# Fetch all events

> Returns paginated events from the events collection. Default page size is 500.




## OpenAPI

````yaml openapi.json get /demo/events
openapi: 3.0.0
info:
  title: Nevua Markets API
  version: 0.0.1
  license:
    name: ISC
    url: https://opensource.org/licenses/ISC
servers:
  - url: https://api.nevua.markets
    description: Production
security: []
tags: []
paths:
  /demo/events:
    get:
      tags:
        - Demo
      summary: Fetch all events
      description: >
        Returns paginated events from the events collection. Default page size
        is 500.
      operationId: demoGetEvents
      parameters:
        - name: page
          in: query
          required: false
          schema:
            type: integer
            default: 1
          description: Page number (1-indexed)
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 500
          description: Number of events per page
      responses:
        '200':
          description: Events retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  events:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        title:
                          type: string
                        slug:
                          type: string
                        active:
                          type: boolean
                        closed:
                          type: boolean
                        volume:
                          type: number
                        startDate:
                          type: string
                        endDate:
                          type: string
                        markets:
                          type: array
                          items:
                            type: object
                  page:
                    type: integer
                  limit:
                    type: integer
                  totalCount:
                    type: integer
                  totalPages:
                    type: integer
        '401':
          description: Unauthorized
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````