> ## 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 normalized Serasa financial pending data for a company



## OpenAPI

````yaml /api-reference/openapi.json get /v2/companies/{document}/serasa
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: http://localhost:3000
    description: Local
  - url: https://api.dev.base39.cloud
    description: Development
  - url: https://api.base39.com.br
    description: Production
security:
  - OAuth2: []
tags:
  - name: pages
    description: Profiles and reports pages
  - name: pipelines
    description: Pipeline boards (kanban) of pages
  - name: blocks
    description: Blocks operations
  - name: search
    description: Search across content
  - name: targets
    description: Lookup targets via datasets
  - name: CognitoTriggers
    description: Cognito triggers
paths:
  /v2/companies/{document}/serasa:
    get:
      tags:
        - companies
      summary: Get normalized Serasa financial pending data for a company
      operationId: company_get_serasa
      parameters:
        - name: document
          required: true
          in: path
          description: Company document (CNPJ)
          schema:
            type: string
        - name: page_size
          required: false
          in: query
          description: Items per page (default 1000)
          schema:
            type: number
        - name: start_cursor
          required: false
          in: query
          description: Cursor for next page
          schema:
            type: string
        - name: as_of
          required: false
          in: query
          description: Data de referência (YYYY-MM-DD)
          schema:
            type: string
      responses:
        '200':
          description: Paginated Serasa data
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanySerasaOutput'
        '401':
          description: Unauthorized
        '404':
          description: Company not found
components:
  schemas:
    CompanySerasaOutput:
      type: object
      properties:
        object:
          type: string
          description: Object type identifier
          default: list
        results:
          description: Array of results for current page
          type: array
          items:
            $ref: '#/components/schemas/CompanySerasaEntryOutput'
        next_cursor:
          type: string
          description: Opaque cursor for next page. null if no more results.
          nullable: true
        has_more:
          type: boolean
          description: Whether more results exist beyond this page
        type:
          type: string
          description: Type of results (Notion-compatible)
        summary:
          $ref: '#/components/schemas/CompanySerasaSummaryOutput'
        sources:
          $ref: '#/components/schemas/CompanySerasaSourcesOutput'
        raw:
          type: object
          nullable: true
          additionalProperties: true
      required:
        - object
        - results
        - has_more
        - summary
        - sources
    CompanySerasaEntryOutput:
      type: object
      properties:
        annotation_type:
          type: string
          nullable: true
        annotation_label:
          type: string
          nullable: true
        origin:
          type: string
          nullable: true
        guarantor:
          type: string
          nullable: true
        contract:
          type: string
          nullable: true
        modality:
          type: string
          nullable: true
        value:
          type: number
          nullable: true
        occurrence_date:
          type: string
          nullable: true
        currency_type:
          type: string
          nullable: true
        under_judge:
          type: string
          nullable: true
        under_judge_description:
          type: string
          nullable: true
    CompanySerasaSummaryOutput:
      type: object
      properties:
        status_cadastral:
          type: string
          nullable: true
        financial_pending_total:
          type: number
          nullable: true
        newest_occurrence:
          type: string
          nullable: true
        oldest_occurrence:
          type: string
          nullable: true
        bacen_pending_total:
          type: number
          nullable: true
        negative_occurrences_total:
          type: number
          nullable: true
        negative_occurrences_value:
          type: number
          nullable: true
    CompanySerasaSourcesOutput:
      type: object
      properties:
        serasa_crednet:
          type: string
          nullable: true
  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

````