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

# Get the Current Organization Data Coverage Advantage Over Serasa and BigDataCorp



## OpenAPI

````yaml /api-reference/openapi.json get /v2/orgs/data-advantage
openapi: 3.1.0
info:
  title: Base39 API
  description: Base39 API
  version: 1.0.0
  contact:
    name: Base39 Team
    url: https://base39.com.br
    email: suporte@base39.com.br
  termsOfService: https://base39.com.br/termos
  license:
    name: Proprietary
    url: https://base39.com.br/termos
servers:
  - url: https://api.base39.com.br
    description: Production
  - url: https://api.dev.base39.cloud
    description: Development
  - url: http://localhost:3000
    description: Local
security:
  - OAuth2: []
tags:
  - name: Search
  - name: Companies
  - name: Registration
  - name: Addresses
  - name: Relationships
  - name: Queries
  - name: Credit & Financial
  - name: Checks
  - name: Protests
  - name: Government Debt
  - name: Litigation & Bankruptcy
  - name: Compliance
  - name: Certificates
  - name: Restrictions
  - name: SCR
  - name: Reputation
  - name: Social Assistance
  - name: History
  - name: Graph
  - name: Files
  - name: Rules
  - name: Monitoring
  - name: Scorecards
  - name: Feature Store
  - name: Mentions
  - name: Views
  - name: Skills
  - name: Custom Tools
  - name: Connections
  - name: Connectors
  - name: OAuth Integrations
  - name: WhatsApp
  - name: Upstreams
  - name: Billing
  - name: Usage
  - name: Organizations
  - name: Members
  - name: Users
  - name: Authentication
  - name: API Keys
  - name: Notifications
  - name: Changelog
  - name: Webhooks
  - name: Vaults
  - name: Version
  - name: Context Schema
paths:
  /v2/orgs/data-advantage:
    get:
      tags:
        - Organizations
      summary: >-
        Get the Current Organization Data Coverage Advantage Over Serasa and
        BigDataCorp
      operationId: org_get_data_advantage
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgDataAdvantageOutput'
components:
  schemas:
    OrgDataAdvantageOutput:
      type: object
      properties:
        companyCount:
          type: number
          description: Total de CNPJs não arquivados da organização.
        metrics:
          type: array
          items:
            $ref: '#/components/schemas/OrgDataAdvantageMetricOutput'
        comparableBase39Count:
          type: number
          nullable: true
        comparableSerasaCount:
          type: number
          nullable: true
        additionalCount:
          type: number
          nullable: true
        percentageMore:
          type: number
          nullable: true
        primaryProviderLabel:
          type: string
          nullable: true
        display:
          type: boolean
          description: >-
            Verdadeiro somente quando a Base39 é superior no total diretamente
            comparável.
        headline:
          type: string
          nullable: true
      required:
        - companyCount
        - metrics
        - display
    OrgDataAdvantageMetricOutput:
      type: object
      properties:
        key:
          type: string
          enum:
            - restrictions
            - lawsuits
            - scr
        label:
          type: string
        provider:
          type: string
          enum:
            - serasa
            - bigdatacorp
          nullable: true
        providerLabel:
          type: string
          nullable: true
        analyzedCompanyCount:
          type: number
          description: Entidades com evidência comparável dos dois lados.
        differentCompanyCount:
          type: number
          description: Entidades em que as contagens são diferentes.
        base39SuperiorCompanyCount:
          type: number
          description: Entidades em que a contagem Base39 é superior.
        base39Count:
          type: number
          nullable: true
        providerCount:
          type: number
          nullable: true
        difference:
          type: number
          nullable: true
        detail:
          type: string
      required:
        - key
        - label
        - analyzedCompanyCount
        - differentCompanyCount
        - base39SuperiorCompanyCount
        - detail
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://id.local.base39.cloud/oauth2/authorize
          tokenUrl: https://id.local.base39.cloud/oauth2/token
          scopes:
            profile: Read user profile
            email: Read user email
            openid: OpenID authentication
      description: OAuth2 Authorization Code flow

````