OrbTop

Brazil JUCESP Junta Comercial State Registry Scraper

BUSINESSDEVELOPER TOOLSOTHER

Brazil JUCESP Junta Comercial State Registry Scraper

Search the São Paulo Junta Comercial (JUCESP) state company registry by company name (razão social), CNPJ, or NIRE number.

JUCESP is the official Brazilian state registry for São Paulo — the largest economy in Brazil, representing roughly 35% of national GDP. It holds registration records for all companies legally incorporated in the state.

What You Get

Each scraped record includes:

Field Description
nire NIRE state registration number
cnpj CNPJ federal tax registration
razao_social Legal company name
company_type Company type (Ltda, S.A., etc.)
constitution_date Date of constitution (DD/MM/YYYY)
activity_start_date Activity start date (DD/MM/YYYY)
share_capital Share capital (capital social) in BRL
business_object Corporate purpose (objeto social)
address_street Street address (logradouro)
address_number Street number
address_complement Address complement
address_neighborhood Neighborhood (bairro)
city Municipality
state State (UF)
zip_code ZIP code (CEP)
source_url Source JUCESP detail URL

Search Modes

Lookup Mode Description
razao_social Substring search by company name — finds all matching São Paulo companies
cnpj Exact lookup by federal tax ID
nire Exact lookup by state registration number

Input Configuration

{
    "lookupMode": "razao_social",
    "searchTerms": ["PETROBRAS", "VALE"],
    "maxItems": 50
}
  • lookupModerazao_social (default), cnpj, or nire
  • searchTerms — Array of search values. One search per term; results are merged.
  • maxItems — Maximum total records to return (0 = unlimited, default 10)

Use Cases

  • KYC / AML screening — Verify São Paulo company registration, constitution date, and share capital against customer declarations
  • M&A due diligence — Pull registered address, business object, and company type for target companies
  • Supplier verification — Confirm CNPJ and state registration for São Paulo vendors
  • Lead enrichment — Add corporate registry data to company lists
  • Competitive intelligence — Research competitors incorporated in São Paulo

How It Works

The scraper maintains a stateful browser-like session against the JUCESP ASP.NET portal:

  1. Initializes a session (ASP.NET ViewState + SessionId cookie)
  2. Submits a search POST for each input term
  3. Follows the 302 redirect to the results page
  4. Parses NIRE numbers from the results table (handles pagination)
  5. Fetches detail pages for each NIRE to extract full company data

No proxy required — the portal is publicly accessible. Results from the Apify cloud will not encounter IP rate-limiting that may affect local development.

Output Example

{
    "nire": "35300000892",
    "cnpj": "33.000.167/0001-01",
    "razao_social": "PETROLEO BRASILEIRO S A PETROBRAS",
    "company_type": "SOCIEDADE ANONIMA",
    "constitution_date": "29/09/1954",
    "share_capital": "R$ 205.431.960.490,52",
    "business_object": "Pesquisa, lavra, refinação, processamento...",
    "city": "RIO DE JANEIRO",
    "state": "RJ",
    "source_url": "https://www.jucesponline.sp.gov.br/Pre_Visualiza.aspx?nire=35300000892"
}

Data Source