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

# List Chains



## OpenAPI

````yaml https://api.yieldo.xyz/openapi.json get /v1/chains
openapi: 3.1.0
info:
  title: Yieldo API
  description: Cross-chain deposit aggregator for ERC-4626 and custom yield vaults
  version: 1.0.0
servers:
  - url: https://api.yieldo.xyz
    description: Production
security: []
paths:
  /v1/chains:
    get:
      tags:
        - info
      summary: List Chains
      operationId: list_chains_v1_chains_get
      parameters:
        - name: source
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              If true, return all source chains. If false, return vault chains
              only.
            default: false
            title: Source
          description: >-
            If true, return all source chains. If false, return vault chains
            only.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/ChainInfo'
                title: Response List Chains V1 Chains Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ChainInfo:
      properties:
        chain_id:
          type: integer
          title: Chain Id
        name:
          type: string
          title: Name
        key:
          type: string
          title: Key
        explorer:
          type: string
          title: Explorer
      type: object
      required:
        - chain_id
        - name
        - key
        - explorer
      title: ChainInfo
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````