> ## 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.

# /minnesota/companies

> Get full Minnesota business details from the Secretary of State registry by file number: name, business type, statute, jurisdiction, filing date, status and standing, renewal and expiration dates, number of shares, registered office, principal, home office and credit-union-location addresses, registered agent, chief executive officer and manager (name and address), nameholders (applicants/markholders), comments, and the filing and renewal history.

**Price:** 5 credits

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



## OpenAPI

````yaml /openapi/company-registries.json post /api/minnesota/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/minnesota/companies:
    post:
      tags:
        - US
      summary: /minnesota/companies
      description: >-
        Get full Minnesota business details from the Secretary of State registry
        by file number: name, business type, statute, jurisdiction, filing date,
        status and standing, renewal and expiration dates, number of shares,
        registered office, principal, home office and credit-union-location
        addresses, registered agent, chief executive officer and manager (name
        and address), nameholders (applicants/markholders), comments, and the
        filing and renewal history.


        **Price:** 5 credits


        **⚠️ Common errors:** 412: No business found for the given file number
      operationId: __api_minnesota_companies_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MinnesotaCompaniesPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MinnesotaCompany'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MinnesotaCompaniesPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        file_number:
          type: string
          minLength: 1
      type: object
      required:
        - file_number
    MinnesotaCompany:
      properties:
        '@type':
          type: string
          default: MinnesotaCompany
        file_number:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        business_type:
          anyOf:
            - type: string
            - type: 'null'
        mn_statute:
          anyOf:
            - type: string
            - type: 'null'
        jurisdiction:
          anyOf:
            - type: string
            - type: 'null'
        filing_date:
          anyOf:
            - type: string
            - type: 'null'
        status:
          anyOf:
            - type: string
            - type: 'null'
        standing:
          anyOf:
            - type: string
            - type: 'null'
        mark_type:
          anyOf:
            - type: string
            - type: 'null'
        renewal_due_date:
          anyOf:
            - type: string
            - type: 'null'
        expiration_date:
          anyOf:
            - type: string
            - type: 'null'
        share_count:
          anyOf:
            - type: string
            - type: 'null'
        comments:
          anyOf:
            - type: string
            - type: 'null'
        registered_office_address:
          anyOf:
            - $ref: '#/components/schemas/MinnesotaAddress'
            - type: 'null'
        principal_address:
          anyOf:
            - $ref: '#/components/schemas/MinnesotaAddress'
            - type: 'null'
        home_office_address:
          anyOf:
            - $ref: '#/components/schemas/MinnesotaAddress'
            - type: 'null'
        credit_union_location:
          anyOf:
            - $ref: '#/components/schemas/MinnesotaAddress'
            - type: 'null'
        registered_agents:
          items:
            type: string
          type: array
          default: []
        ceo:
          anyOf:
            - $ref: '#/components/schemas/MinnesotaOfficer'
            - type: 'null'
        manager:
          anyOf:
            - $ref: '#/components/schemas/MinnesotaOfficer'
            - type: 'null'
        nameholders:
          items:
            $ref: '#/components/schemas/MinnesotaParty'
          type: array
          default: []
        filings:
          items:
            $ref: '#/components/schemas/MinnesotaFiling'
          type: array
          default: []
        renewals:
          items:
            $ref: '#/components/schemas/MinnesotaRenewal'
          type: array
          default: []
      type: object
      required:
        - file_number
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    MinnesotaAddress:
      properties:
        '@type':
          type: string
          default: MinnesotaAddress
        street:
          anyOf:
            - type: string
            - type: 'null'
        locality:
          anyOf:
            - type: string
            - type: 'null'
        country:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    MinnesotaOfficer:
      properties:
        '@type':
          type: string
          default: MinnesotaOfficer
        name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    MinnesotaParty:
      properties:
        '@type':
          type: string
          default: MinnesotaParty
        role:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        address:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    MinnesotaFiling:
      properties:
        '@type':
          type: string
          default: MinnesotaFiling
        filing_date:
          anyOf:
            - type: string
            - type: 'null'
        filing_type:
          anyOf:
            - type: string
            - type: 'null'
        effective_date:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    MinnesotaRenewal:
      properties:
        '@type':
          type: string
          default: MinnesotaRenewal
        filing_date:
          anyOf:
            - type: string
            - type: 'null'
        filing_type:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    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

````