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

# Get company financial statements



## OpenAPI

````yaml GET /companies/{idOrLookup}/financials
openapi: 3.1.0
info:
  title: Financial Data API
  version: 0.1.0
  description: Raw-first, derived-ready financial data infrastructure API.
servers:
  - url: https://api.financialdatapi.com
security:
  - apiKey: []
  - bearerApiKey: []
paths:
  /companies/{idOrLookup}/financials:
    get:
      summary: Get company financial statements
      parameters:
        - name: period
          in: query
          schema:
            type: string
            enum:
              - annual
              - quarterly
            description: Restrict to a reporting frequency.
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 8
            description: Statements per type, newest first.
        - name: as_of
          in: query
          schema:
            type: string
            description: >-
              Knowledge-time vintage cutoff; statements are assembled from the
              latest vintage known on or before this timestamp.
      responses:
        '200':
          description: >-
            Structured income, balance-sheet, and cash-flow statements assembled
            from SEC XBRL fundamentals
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ItemEnvelope'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  schemas:
    ItemEnvelope:
      type: object
      required:
        - data
        - meta
        - requestId
      properties:
        data:
          type: object
        meta:
          type: object
        requestId:
          type: string
    ErrorEnvelope:
      type: object
      required:
        - error
        - requestId
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
            - requestId
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
            requestId:
              type: string
            details: {}
        requestId:
          type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Forbidden:
      description: API key lacks required scope
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
    bearerApiKey:
      type: http
      scheme: bearer

````