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

# Resolve a Company

> Resolve a name, domain, LEI, registry number, or wallet to company candidates.

See [Companies and Facts](https://docs.range.org/risk-api/companies/companies-and-facts.md) for the beta contract and integration details.


## OpenAPI

````yaml api-reference/risk-api-companies.json post /v1/risk/companies/resolve
openapi: 3.0.3
info:
  title: 'Range Risk API: Company Intelligence and Watchers (Beta)'
  description: >-
    Closed beta contract for Company Intelligence and Watchers. See
    /risk-api/companies/introduction for access and availability.
  version: 0.9.0-beta
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Bearer: []
tags:
  - name: Company Intelligence
    description: >-
      Resolve companies and read sourced facts, dependencies, AI use and event
      history.
  - name: Watches
    description: Monitor companies and receive events when facts change.
  - name: Webhooks
    description: Register endpoints that receive signed watch events.
  - name: Event Catalog
    description: Discover event types, domains and minimum depths.
paths:
  /v1/risk/companies/resolve:
    post:
      tags:
        - Company Intelligence
      summary: Resolve a company
      description: >-
        Resolve a name, domain, LEI, registry number or wallet to Range company
        IDs, ranked by confidence. Use the returned `id` with every other
        Company API endpoint.
      operationId: resolveCompany
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ResolveRequest'
            example:
              domain: kestrelpay.example
              country: NL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      $ref: '#/components/schemas/ResolveCandidate'
              example:
                items:
                  - company:
                      id: 6aa0498a-dac8-54d6-8f70-757fb7a78c92
                      name: Kestrel Payments
                      legal_name: Kestrel Payments B.V.
                      status: active
                      jurisdiction:
                        country: NL
                        registered_address: Herengracht 182, 1016 BR Amsterdam, Netherlands
                      categories:
                        - payment_processor
                        - acquirer
                      primary_domain: kestrelpay.example
                      lei: 724500KESTRELPAY0042
                    confidence: 0.99
                    matched_on:
                      - domain
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 400
                error: Bad Request
                message:
                  - >-
                    Provide at least one of query, domain, lei, registry or
                    wallet
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 401
                error: Unauthorized
                message: API key is invalid or not well-formed
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 403
                error: Forbidden
                message: Company Intelligence (beta) is not enabled for this workspace
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                statusCode: 429
                error: Too Many Requests
                message: Rate limit exceeded
components:
  schemas:
    ResolveRequest:
      type: object
      properties:
        query:
          type: string
          description: Free-text company name.
          example: Kestrel Payments
        domain:
          type: string
          description: A domain owned by the company.
          example: kestrelpay.example
        lei:
          type: string
          description: Legal Entity Identifier.
          example: 724500KESTRELPAY0042
        registry:
          type: object
          properties:
            jurisdiction:
              type: string
              example: NL
            number:
              type: string
              example: '81234567'
        wallet:
          type: object
          properties:
            network:
              type: string
              example: solana
            address:
              type: string
        country:
          type: string
          description: Restrict candidates to an ISO 3166-1 alpha-2 country.
          example: NL
        limit:
          type: integer
          minimum: 1
      description: >-
        Provide at least one of `query`, `domain`, `lei`, `registry` or
        `wallet`.
      anyOf:
        - required:
            - query
        - required:
            - domain
        - required:
            - lei
        - required:
            - registry
        - required:
            - wallet
    ResolveCandidate:
      type: object
      properties:
        company:
          $ref: '#/components/schemas/CompanySummary'
        confidence:
          type: number
          format: float
          minimum: 0
          maximum: 1
          example: 0.98
        matched_on:
          type: array
          items:
            type: string
            enum:
              - lei
              - registry
              - domain
              - wallet
              - name
              - alias
    Error:
      type: object
      properties:
        statusCode:
          type: integer
          example: 400
        error:
          type: string
          example: Bad Request
        message:
          oneOf:
            - type: string
            - type: array
              items:
                type: string
          description: A string, or an array of strings for validation errors.
      required:
        - statusCode
        - error
        - message
    CompanySummary:
      type: object
      properties:
        id:
          type: string
          description: Range company ID.
          example: 6aa0498a-dac8-54d6-8f70-757fb7a78c92
          format: uuid
        name:
          type: string
        legal_name:
          type: string
        status:
          type: string
          enum:
            - active
            - inactive
            - dissolved
            - in_liquidation
            - unknown
        jurisdiction:
          type: object
          properties:
            country:
              type: string
              description: ISO 3166-1 alpha-2.
              example: NL
            registered_address:
              type: string
              nullable: true
        categories:
          type: array
          items:
            type: string
        primary_domain:
          type: string
          nullable: true
        lei:
          type: string
          nullable: true
      required:
        - id
        - name
        - status
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.
    Bearer:
      type: http
      scheme: bearer
      description: 'Pass the API key as a bearer token (Authorization: Bearer <api-key>).'

````

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