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

# List Celo epochs.

> Retrieves a paginated list of Celo epochs.



## OpenAPI

````yaml /openapi-specs/pro-api-v11.yaml get /v2/celo/epochs
openapi: 3.0.0
info:
  contact:
    email: info@blockscout.com
  title: Blockscout
  version: 11.0.3
servers:
  - url: http://localhost/api
    variables: {}
security: []
tags:
  - name: blocks
  - name: transactions
  - name: addresses
  - name: internal-transactions
  - name: tokens
  - name: token-transfers
  - name: smart-contracts
  - name: config
  - name: main-page
  - name: search
  - name: stats
  - name: csv-export
  - name: account-abstraction
  - name: withdrawals
  - name: advanced-filters
  - name: arbitrum
  - name: legacy
  - name: optimism
  - name: mud
  - name: celo
  - name: scroll
  - name: zilliqa
paths:
  /v2/celo/epochs:
    get:
      tags:
        - celo
      summary: List Celo epochs.
      description: Retrieves a paginated list of Celo epochs.
      operationId: BlockScoutWeb.API.V2.CeloController.epochs
      parameters:
        - description: API key for rate limiting or for sensitive endpoints
          in: query
          name: apikey
          required: false
          schema:
            type: string
            x-struct: null
            x-validate: null
        - description: Secret key for getting access to restricted resources
          in: query
          name: key
          required: false
          schema:
            type: string
            x-struct: null
            x-validate: null
        - description: Number for paging
          in: query
          name: number
          required: false
          schema:
            type: integer
            x-struct: null
            x-validate: null
        - description: Number of items returned per page
          in: query
          name: items_count
          required: false
          schema:
            maximum: 50
            minimum: 1
            type: integer
            x-struct: null
            x-validate: null
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: false
                nullable: false
                properties:
                  items:
                    items:
                      $ref: '#/components/schemas/Epoch'
                    nullable: false
                    type: array
                    x-struct: null
                    x-validate: null
                  next_page_params:
                    example:
                      items_count: 50
                      number: 100
                    nullable: true
                    type: object
                    x-struct: null
                    x-validate: null
                required:
                  - items
                  - next_page_params
                type: object
                x-struct: null
                x-validate: null
          description: List of Celo epochs.
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/JsonErrorResponse'
          description: Unprocessable Entity
      callbacks: {}
components:
  schemas:
    Epoch:
      additionalProperties: false
      description: Celo epoch summary.
      properties:
        distribution:
          additionalProperties: true
          nullable: true
          type: object
          x-struct: null
          x-validate: null
        end_block_number:
          minimum: 0
          nullable: false
          type: integer
          x-struct: null
          x-validate: null
        is_finalized:
          nullable: false
          type: boolean
          x-struct: null
          x-validate: null
        number:
          minimum: 0
          nullable: false
          type: integer
          x-struct: null
          x-validate: null
        start_block_number:
          minimum: 0
          nullable: false
          type: integer
          x-struct: null
          x-validate: null
        timestamp:
          $ref: '#/components/schemas/TimestampNullable'
        type:
          enum:
            - L1
            - L2
          nullable: false
          type: string
          x-struct: null
          x-validate: null
      required:
        - number
        - type
        - start_block_number
        - end_block_number
        - timestamp
        - is_finalized
        - distribution
      title: Epoch
      type: object
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.Celo.Epoch
      x-validate: null
    JsonErrorResponse:
      properties:
        errors:
          items:
            properties:
              detail:
                example: null value where string expected
                type: string
                x-struct: null
                x-validate: null
              source:
                properties:
                  pointer:
                    example: /data/attributes/petName
                    type: string
                    x-struct: null
                    x-validate: null
                required:
                  - pointer
                type: object
                x-struct: null
                x-validate: null
              title:
                example: Invalid value
                type: string
                x-struct: null
                x-validate: null
            required:
              - title
              - source
              - detail
            type: object
            x-struct: null
            x-validate: null
          type: array
          x-struct: null
          x-validate: null
      required:
        - errors
      title: JsonErrorResponse
      type: object
      x-struct: Elixir.OpenApiSpex.JsonErrorResponse
      x-validate: null
    TimestampNullable:
      format: date-time
      nullable: true
      title: TimestampNullable
      type: string
      x-struct: Elixir.BlockScoutWeb.Schemas.API.V2.General.TimestampNullable
      x-validate: null

````