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

# Get Instrument by Symbol

> Retrieve a single instrument by its symbol.



## OpenAPI

````yaml api-reference/openapi.json get /v1/instruments/{symbol}
openapi: 3.0.0
info:
  title: CapyFin API
  description: >-
    The CapyFin API provides access to earnings reports with financials, key
    takeaways, revenue breakdowns, and forward guidance, delivered through a
    powerful, developer-friendly API. For support or enterprise access, please
    contact us at support@capyfin.com.
  version: 1.0.0
  contact:
    name: CapyFin Support
    url: https://capyfin.com/support
    email: support@capyfin.com
servers:
  - url: https://api.capyfin.com
    description: CapyFin API
security:
  - ApiKeyQuery: []
  - ApiKeyHeader: []
tags: []
paths:
  /v1/instruments/{symbol}:
    get:
      tags:
        - Instruments API
      summary: Get Instrument by Symbol
      description: Retrieve a single instrument by its symbol.
      operationId: getInstrument
      parameters:
        - name: symbol
          required: true
          in: path
          description: The symbol of the instrument.
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InstrumentBySymbolResponse'
components:
  schemas:
    InstrumentBySymbolResponse:
      type: object
      properties:
        instrument:
          $ref: '#/components/schemas/InstrumentDto'
      required:
        - instrument
    InstrumentDto:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier for the instrument.
          example: 507f1f77bcf86cd799439011
        slug:
          type: string
          description: URL-friendly identifier for the instrument.
          example: nasdaq-aapl
        symbol:
          type: string
          description: The ticker symbol of the instrument.
          example: AAPL
        name:
          type: string
          description: The short name of the instrument.
          example: Apple
        fullName:
          type: string
          description: The full name of the instrument.
          example: Apple Inc.
        image:
          type: string
          description: URL to the instrument logo/image.
          example: https://assets.capyfin.com/instruments/507f1f77bcf86cd799439011.png
        marketCap:
          type: number
          description: The total market capitalization of the company, in USD.
          example: 3587432814000
        country:
          type: string
          description: The primary country of the company.
          example: US
        exchange:
          type: string
          description: The exchange on which the instrument is traded.
          example: nasdaq
        segments:
          description: Business segments of the company.
          type: array
          items:
            type: string
        geo:
          description: Geographic segments of the company.
          type: array
          items:
            type: string
        kpis:
          description: Key performance indicators for the company.
          type: array
          items:
            type: string
        investorRelationsUrl:
          type: string
          description: URL to the investor relations page.
          example: https://investor.apple.com
        closingPrice:
          type: number
          description: The last closing price of the instrument.
          example: 237.33
        returnLastDay:
          type: number
          description: >-
            The return of the instrument over the last day, expressed as a
            percentage.
          example: 1.92
        returnThisWeek:
          type: number
          description: >-
            The return of the instrument over the last week, expressed as a
            percentage.
          example: 3.24
        return2Years:
          type: number
          description: >-
            The return of the instrument over the last two years, expressed as a
            percentage.
          example: 54.771
        return5Years:
          type: number
          description: >-
            The return of the instrument over the last five years, expressed as
            a percentage.
          example: 281.63
        returnAll:
          type: number
          description: >-
            The return of the instrument since inception (all time), expressed
            as a percentage.
          example: 1432.26
        dividendYield:
          type: number
          description: The dividend yield as a percentage.
          example: 0.4171
        dividendExDate:
          format: date-time
          type: string
          description: The ex-dividend date for the upcoming dividend payment.
          example: '2024-11-08T00:00:00.000Z'
        dividendPayDate:
          format: date-time
          type: string
          description: The date on which the dividend will be paid.
          example: '2024-11-14T00:00:00.000Z'
        dividendUsd:
          type: number
          description: The dividend amount to be paid per share, in USD.
          example: 0.25
        dividendFrequency:
          type: string
          description: The frequency of dividend payments.
          example: QUARTERLY
        dividendYearly:
          type: object
          description: >-
            Dividends per share during each year (in dollars). Map year ->
            amount.
          example:
            '2023': 0.94
            '2024': 0.97
        closeYearly:
          type: object
          description: Closing prices at the end of each year. Map year -> price.
          example:
            '2023': 192.53
            '2024': 237.33
      required:
        - id
        - slug
        - symbol
        - name
        - fullName
        - exchange
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: apikey
      description: >-
        Pass your API key as a query parameter (e.g.,
        /endpoint?apikey=YOUR_API_KEY)
    ApiKeyHeader:
      type: apiKey
      in: header
      name: Authorization
      description: >-
        Pass your API key as a Bearer token in the header (e.g., Authorization:
        Bearer YOUR_API_KEY)

````