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

# Get Earnings Calendar Data

> [OpenAPI JSON Spec](/docs/output/v1_stocks_earnings-calendar_get.json)
Unified endpoint to retrieve earnings calendar data with optional filtering by symbol and/or date range.

**Filtering Options:**
- No parameters: Returns all earnings calendar data
- `symbol` only: Returns all data for the specified symbol
- `start_time` and `end_time`: Returns data within date range for all symbols
- `symbol` + `start_time` + `end_time`: Returns data for specified symbol within date range

All-symbol date-range requests return at most 1000 records, ordered by date ascending from `start_time`.

**Response Data Structure**

- `data` ([]EarningsCalendarEvent): Flat array of earnings calendar records

**EarningsCalendarEvent fields:**
- `id` (int64): Unique identifier
- `symbol` (string): Stock symbol (e.g., "AAPL", "MSFT")
- `date` (string): Earnings date in YYYY-MM-DD format
- `time` (string): Earnings call time (e.g., "AMC", "BMO")
- `fiscal_date_ending` (string): Fiscal period end date



## OpenAPI

````yaml /api-reference/openapi.json get /v1/stocks/earnings-calendar
openapi: 3.0.0
info:
  contact: {}
  description: >-
    Welcome to Arrays!


    Arrays is a unified financial data layer for both financial institutions and
    retail users, delivering comprehensive market data across crypto and equity
    markets. Our datasets cover fundamentals, ETFs, options, crypto, and more.


    Visit [arrays.org](https://arrays.org) to request an API key and start your
    free trial. You can explore our full API offerings in the documentation
    below.


    For any questions regarding APIs or pricing, please contact
    support@arrays.org.
  title: Arrays API
  version: '1.0'
servers:
  - url: https://data-tools.prd.arrays.org/api
security: []
paths:
  /v1/stocks/earnings-calendar:
    get:
      tags:
        - Stock
      summary: Get Earnings Calendar Data
      description: >-
        [OpenAPI JSON Spec](/docs/output/v1_stocks_earnings-calendar_get.json)

        Unified endpoint to retrieve earnings calendar data with optional
        filtering by symbol and/or date range.


        **Filtering Options:**

        - No parameters: Returns all earnings calendar data

        - `symbol` only: Returns all data for the specified symbol

        - `start_time` and `end_time`: Returns data within date range for all
        symbols

        - `symbol` + `start_time` + `end_time`: Returns data for specified
        symbol within date range


        All-symbol date-range requests return at most 1000 records, ordered by
        date ascending from `start_time`.


        **Response Data Structure**


        - `data` ([]EarningsCalendarEvent): Flat array of earnings calendar
        records


        **EarningsCalendarEvent fields:**

        - `id` (int64): Unique identifier

        - `symbol` (string): Stock symbol (e.g., "AAPL", "MSFT")

        - `date` (string): Earnings date in YYYY-MM-DD format

        - `time` (string): Earnings call time (e.g., "AMC", "BMO")

        - `fiscal_date_ending` (string): Fiscal period end date
      parameters:
        - description: Stock symbol (e.g., AAPL, MSFT) - optional
          in: query
          name: symbol
          schema:
            type: string
        - description: Start time (Unix timestamp) - optional, requires end_time
          in: query
          name: start_time
          schema:
            type: integer
            format: int64
        - description: End time (Unix timestamp) - optional, requires start_time
          in: query
          name: end_time
          schema:
            type: integer
            format: int64
      responses:
        '200':
          description: Successfully retrieved earnings calendar data
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      data:
                        items:
                          $ref: '#/components/schemas/model.EarningsCalendarEvent'
                        type: array
                    type: object
        '400':
          description: Invalid parameters
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      data:
                        $ref: '#/components/schemas/model.APIError'
                    type: object
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/model.APIResponse'
                  - properties:
                      data:
                        $ref: '#/components/schemas/model.APIError'
                    type: object
      security:
        - ApiKeyAuth: []
components:
  schemas:
    model.APIResponse:
      properties:
        data: {}
        error:
          $ref: '#/components/schemas/model.APIError'
        metadata: {}
        pagination: {}
        request_id:
          type: string
        success:
          type: boolean
      type: object
    model.EarningsCalendarEvent:
      properties:
        created_at:
          type: string
        date:
          example: '2024-01-25'
          type: string
        fiscal_date_ending:
          type: string
        id:
          type: integer
        symbol:
          type: string
        time:
          type: string
        updated_at:
          type: string
        updated_from_date:
          type: string
      type: object
    model.APIError:
      properties:
        code:
          example: RESOURCE_NOT_FOUND
          type: string
        details:
          items:
            $ref: '#/components/schemas/model.APIErrorDetail'
          type: array
        docs_url:
          type: string
        examples:
          items:
            type: string
          type: array
        hint:
          type: string
        message:
          example: The requested resource was not found.
          type: string
        suggestions:
          items:
            type: string
          type: array
      type: object
    model.APIErrorDetail:
      properties:
        field:
          type: string
        got:
          type: string
        reason:
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      description: 'API Key authentication. Example: "your-api-key-here"'
      in: header
      name: X-API-Key
      type: apiKey

````