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

# /cac/companies

> Get a Nigerian business's record from the Corporate Affairs Commission (CAC) registry by its registration number (RC, BN, IT or partnership number). Returns the approved name, RC number, internal company id, classification, nature of business, registration date, status and the FIRS Tax Identification Number (TIN). If the same number exists under more than one classification, pass classification to disambiguate.

**Price:** 1 credit

**⚠️ Common errors:** 412: No business found for the given registration number



## OpenAPI

````yaml /openapi/company-registries.json post /api/cac/companies
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/cac/companies:
    post:
      tags:
        - /cac
      summary: /cac/companies
      description: >-
        Get a Nigerian business's record from the Corporate Affairs Commission
        (CAC) registry by its registration number (RC, BN, IT or partnership
        number). Returns the approved name, RC number, internal company id,
        classification, nature of business, registration date, status and the
        FIRS Tax Identification Number (TIN). If the same number exists under
        more than one classification, pass classification to disambiguate.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No business found for the given registration
        number
      operationId: __api_cac_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CacCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/CacCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    CacCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        company_number:
          type: string
        classification:
          anyOf:
            - $ref: '#/components/schemas/CacClassification'
            - type: 'null'
      type: object
      required:
        - company_number
    CacCompany:
      properties:
        '@type':
          type: string
          default: CacCompany
        name:
          type: string
        rc_number:
          anyOf:
            - type: string
            - type: 'null'
        company_id:
          anyOf:
            - type: integer
            - type: 'null'
        classification:
          anyOf:
            - type: string
            - type: 'null'
        classification_id:
          anyOf:
            - type: integer
            - type: 'null'
        nature_of_business:
          anyOf:
            - type: string
            - type: 'null'
        registration_date:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        tin:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - name
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    CacClassification:
      type: string
      enum:
        - ALL
        - BUSINESS_NAME
        - COMPANY
        - INCORPORATED_TRUSTEE
        - LIMITED_PARTNERSHIP
        - LIMITED_LIABILITY_PARTNERSHIP
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````