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

# Check whether an organization with a given EIN exists in the Endaoment database



## OpenAPI

````yaml https://api.endaoment.org/oas-json get /v1/orgs/ein/{ein}/check
openapi: 3.0.0
info:
  title: Endaoment API
  description: >-
    The official Endaoment API endpoints. Dev (canary) = newest features;
    Staging (stable) = pre-production.
  version: 0.0.1
  contact: {}
servers:
  - url: https://api.endaoment.org
    description: Production
security: []
tags: []
paths:
  /v1/orgs/ein/{ein}/check:
    get:
      tags:
        - Organizations
      summary: >-
        Check whether an organization with a given EIN exists in the Endaoment
        database
      operationId: OrgsController_checkEinExists
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgEinCheckDto'
components:
  schemas:
    OrgEinCheckDto:
      type: object
      properties:
        exists:
          type: boolean
          description: >-
            Whether an organization with the given EIN exists in the Endaoment
            database
          example: true
        org:
          description: Summary of the matching organization when one exists
          allOf:
            - $ref: '#/components/schemas/OrgEinCheckMatchDto'
      required:
        - exists
    OrgEinCheckMatchDto:
      type: object
      properties:
        id:
          type: string
          description: Organization UUID
          example: 550e8400-e29b-41d4-a716-446655440000
        name:
          type: string
          description: Organization display name
          example: Example Nonprofit
        location:
          type: object
          description: City/state or country summary for display
          example: Los Angeles, CA
          nullable: true
        totalDonated:
          type: object
          description: Total donated in USDC microdollars
          example: '125000000'
          nullable: true
      required:
        - id
        - name

````