CNPJ Data
    API for Developers

    CNPJ and Company Data API for B2B Integrations

    Query company data and automate your commercial operations directly in your system, CRM or SaaS platform.

    Queries at scale

    Automate individual queries, CNPJ lists and company filters.

    Simple integration

    Use HTTP endpoints and JSON responses in your system, CRM or SaaS product.

    Controlled access

    Authenticate requests with an API key and track credit usage.

    Start for free

    Look up any CNPJ for free

    Try it right now — no signup, no API key. The public route responds instantly, straight from your terminal or browser:

    Get started quickly

    Integrate with just a few lines of code

    The technical documentation covers authentication, filters, pagination, company counts and result downloads.

    • HTTP endpoints and JSON responses
    • Filters by location, CNAE, company size and status
    • Technical documentation with real examples

    Public lookup — no key required

    curl -X GET \
      "https://api.cnpjdata.com.br/api/public/companies/33000167000101"

    cURL request

    curl -X GET "https://api.cnpjdata.com.br/api/companies/01234567000189" \
      -H "X-API-Key: <id>.<secret>"

    JSON response

    {
      "searchId": "uuid-da-busca",
      "creditsCharged": 1,
      "creditsBalance": 919,
      "cnpjCompleto": "01.234.567/0001-89",
      "razaoSocial": "EMPRESA EXEMPLO COMERCIO LTDA",
      "situacaoCadastralCodigo": "02",
      "uf": "SP"
    }

    API plans

    Choose your integration volume

    Pay as you use and scale when your operation needs it.

    Micro API

    Up to 10,000 records via API

    $39.90

    Ideal para integrações leves e consultas pontuais via API.

    Create account

    Starter API

    Up to 50,000 records via API

    $99.90

    Ideal para produtos internos e CNAEs específicos via API.

    Create account

    Growth API

    Up to 200,000 records via API

    $169.90

    Ideal para portais, SaaS e abrangência estadual via API.

    Create account

    Business API

    Up to 1,000,000 records via API

    $299.90

    Ideal para operações nacionais e integrações em larga escala via API.

    Create account

    Ready to connect your application?

    Access the complete documentation and see all available endpoints.

    Open technical documentation