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

# Get Obligation Yield

> Daily/weekly/monthly/yearly interest earned vs. paid, net APY, leverage, and weighted supply/borrow APY for a single Kamino obligation.

**Credits:** 8 per successful call.



## OpenAPI

````yaml /openapi.yaml get /v1/lending/kamino/position/{obligation_address}/yield
openapi: 3.1.0
info:
  title: DeFi Orbit API
  version: 1.0.0
  description: Public REST API for DeFi Orbit positions, lending, portfolio, and usage.
servers:
  - url: https://api.defiorbit.xyz
security:
  - bearerAuth: []
tags:
  - name: Portfolio
  - name: Snapshots
  - name: Uniswap V3
  - name: Aerodrome V3
  - name: Orca
  - name: Aave V3
  - name: Morpho
  - name: Kamino
  - name: Usage
paths:
  /v1/lending/kamino/position/{obligation_address}/yield:
    get:
      tags:
        - Kamino
      summary: Get Obligation Yield
      description: >-
        Daily/weekly/monthly/yearly interest earned vs. paid, net APY, leverage,
        and weighted supply/borrow APY for a single Kamino obligation.


        **Credits:** 8 per successful call.
      operationId: get_v1_lending_kamino_position_obligation_address_yield
      parameters:
        - name: obligation_address
          in: path
          required: true
          schema:
            type: string
            description: Obligation address.
            example: HwxMtLM5cezFSQLe7h9Y3REUhVCZkgvHkCdXTBLxPqmZ
            x-default: HwxMtLM5cezFSQLe7h9Y3REUhVCZkgvHkCdXTBLxPqmZ
        - name: wallet
          in: query
          required: true
          schema:
            type: string
            description: Solana wallet.
            example: 7FvUzcCoB4Eeykow6PdR3dZLL8WHvqkNr8bKgUKzaiM8
            x-default: 7FvUzcCoB4Eeykow6PdR3dZLL8WHvqkNr8bKgUKzaiM8
        - name: market_address
          in: query
          required: true
          schema:
            type: string
            description: Kamino market address.
            example: C7h9YnjPrDvNhe2cWWDhCu4CZEB1XTTH4RzjmsHuengV
            x-default: C7h9YnjPrDvNhe2cWWDhCu4CZEB1XTTH4RzjmsHuengV
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/RequestId'
                  - type: object
                    properties:
                      data:
                        type: object
                        properties:
                          chain_id:
                            type: integer
                          wallet:
                            type: string
                          market_address:
                            type: string
                          obligation_address:
                            type: string
                          daily_supply_interest_usd:
                            type: string
                          daily_borrow_interest_usd:
                            type: string
                          net_daily_interest_usd:
                            type: string
                          net_apy:
                            type: string
                          position_leverage:
                            type: string
                          weighted_supply_apy:
                            type: string
                          weighted_borrow_apy:
                            type: string
                          projected_earnings:
                            type: object
                            properties:
                              daily:
                                type: string
                              weekly:
                                type: string
                              monthly:
                                type: string
                              yearly:
                                type: string
                            required:
                              - daily
                              - weekly
                              - monthly
                              - yearly
                        required:
                          - chain_id
                          - wallet
                          - market_address
                          - obligation_address
                          - daily_supply_interest_usd
                          - daily_borrow_interest_usd
                          - net_daily_interest_usd
                          - net_apy
                          - position_leverage
                          - weighted_supply_apy
                          - weighted_borrow_apy
                          - projected_earnings
                    required:
                      - data
              example:
                data:
                  chain_id: 101
                  wallet: 7FvUzcCoB4Eeykow6PdR3dZLL8WHvqkNr8bKgUKzaiM8
                  market_address: C7h9YnjPrDvNhe2cWWDhCu4CZEB1XTTH4RzjmsHuengV
                  obligation_address: HwxMtLM5cezFSQLe7h9Y3REUhVCZkgvHkCdXTBLxPqmZ
                  daily_supply_interest_usd: '0.20'
                  daily_borrow_interest_usd: '0.08'
                  net_daily_interest_usd: '0.12'
                  net_apy: '7.30'
                  position_leverage: '0.67'
                  weighted_supply_apy: '7.30'
                  weighted_borrow_apy: '7.30'
                  projected_earnings:
                    daily: '0.12'
                    weekly: '0.84'
                    monthly: '3.60'
                    yearly: '43.80'
                request_id: req_...
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/TooManyRequests'
        '500':
          $ref: '#/components/responses/InternalError'
        '502':
          $ref: '#/components/responses/BadGateway'
components:
  schemas:
    RequestId:
      type: object
      required:
        - request_id
      properties:
        request_id:
          type: string
          description: Id to quote when you contact support.
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
            - request_id
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
  responses:
    BadRequest:
      description: Missing or invalid parameter.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INVALID_PARAMETER
              message: page must be a positive integer.
              request_id: req_...
    Unauthorized:
      description: Missing, malformed, invalid, or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INVALID_API_KEY
              message: Missing API key.
              request_id: req_...
    PaymentRequired:
      description: The organization does not have enough credits.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INSUFFICIENT_CREDITS
              message: Insufficient API credits.
              request_id: req_...
    Forbidden:
      description: The organization is suspended, or the endpoint or feature is disabled.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: ACCOUNT_SUSPENDED
              message: This organization is suspended.
              request_id: req_...
    TooManyRequests:
      description: The organization exceeded its requests-per-second limit.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
        X-RateLimit-Limit:
          description: Requests per second for the organization.
          schema:
            type: integer
        X-RateLimit-Remaining:
          description: Requests left in the current window.
          schema:
            type: integer
        X-RateLimit-Reset:
          description: Unix time when the window resets.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: RATE_LIMIT_EXCEEDED
              message: Rate limit exceeded. Please try again later.
              request_id: req_...
    InternalError:
      description: Unexpected server error, or pricing is not configured.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: INTERNAL_ERROR
              message: An unexpected error occurred.
              request_id: req_...
    BadGateway:
      description: The upstream data provider failed.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error:
              code: UPSTREAM_ERROR
              message: Portfolio data provider temporarily unavailable.
              request_id: req_...
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Paste your API key from the
        [dashboard](https://platform.defiorbit.xyz/dashboard/keys). The key
        starts with `do_sk_`.
      x-default: YOUR_API_KEY

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.