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

# Identify Domain by IP Address

> Resolve IPv4 or IPv6 addresses to a domain and company_id. A quantitative score and a qualitative confidence score is given for every successful result. Charged 1 credit only when a domain is returned — not-found IPs return 404 with no charge.



## OpenAPI

````yaml /api-reference/openapi.json get /v1/identify/ip
openapi: 3.1.0
info:
  title: Leadinfo Data API
  version: 0.1.0
  x-logo:
    url: https://asset.leadinfo.com/assets/email_logo.png
servers:
  - url: https://data.leadinfo.com
    description: Production
security: []
paths:
  /v1/identify/ip:
    get:
      tags:
        - identify
      summary: Identify Domain by IP Address
      description: >-
        Resolve IPv4 or IPv6 addresses to a domain and company_id. A
        quantitative score and a qualitative confidence score is given for every
        successful result. Charged 1 credit only when a domain is returned —
        not-found IPs return 404 with no charge.
      operationId: identify_v1_identify_ip_get
      parameters:
        - name: ip
          in: query
          required: true
          schema:
            type: string
            format: ipvanyaddress
            title: Ip
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IdentifyResponse'
        '401':
          description: Invalid credentials.
        '402':
          description: Insufficient credits.
        '404':
          description: IP not found.
        '422':
          description: Invalid IP supplied.
      security:
        - HTTPBearer: []
components:
  schemas:
    IdentifyResponse:
      properties:
        ip:
          type: string
          format: ipvanyaddress
          title: Ip
        domain:
          anyOf:
            - type: string
            - type: 'null'
          title: Domain
        company_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Company Id
        score:
          anyOf:
            - type: number
            - type: 'null'
          title: Score
        confidence:
          anyOf:
            - type: string
              enum:
                - low
                - medium
                - high
                - very_high
            - type: 'null'
          title: Confidence
        company:
          anyOf:
            - $ref: '#/components/schemas/CompanyBasic'
            - type: 'null'
      type: object
      required:
        - ip
      title: IdentifyResponse
    CompanyBasic:
      properties:
        company_id:
          anyOf:
            - type: integer
            - type: 'null'
          title: Company Id
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        domain:
          anyOf:
            - type: string
            - type: 'null'
          title: Domain
        country:
          anyOf:
            - type: string
            - type: 'null'
          title: Country
        city:
          anyOf:
            - type: string
            - type: 'null'
          title: City
        region:
          anyOf:
            - type: string
            - type: 'null'
          title: Region
        employee_range:
          anyOf:
            - type: string
            - type: 'null'
          title: Employee Range
        employees:
          anyOf:
            - type: integer
            - type: 'null'
          title: Employees
        founding_date:
          anyOf:
            - type: string
            - type: 'null'
          title: Founding Date
        logo:
          anyOf:
            - type: string
            - type: 'null'
          title: Logo
        linkedin:
          anyOf:
            - type: string
            - type: 'null'
          title: Linkedin
        facebook:
          anyOf:
            - type: string
            - type: 'null'
          title: Facebook
        twitter:
          anyOf:
            - type: string
            - type: 'null'
          title: Twitter
        instagram:
          anyOf:
            - type: string
            - type: 'null'
          title: Instagram
        youtube:
          anyOf:
            - type: string
            - type: 'null'
          title: Youtube
        github:
          anyOf:
            - type: string
            - type: 'null'
          title: Github
        xing:
          anyOf:
            - type: string
            - type: 'null'
          title: Xing
      type: object
      title: CompanyBasic
      description: Free tier — what every authenticated caller sees.
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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