Data

CNPJá: CNPJ lookup (free cached + paid real-time)

Brazilian CNPJ lookup with two tiers: open.cnpja.com (free, cached daily, no auth) and api.cnpja.com (paid, real-time against Receita Federal, token auth, higher rate limits). Distinguishing feature versus BrasilAPI / CNPJ.ws is the paid real-time tier — situação cadastral changes hit within minutes, not the ~30-day data-dump lag.

Verified: 2026-04-27 (vendor-docs-2026-04-27)

When to use CNPJá: CNPJ lookup (free cached + paid real-time)

Choose if

You need real-time situação cadastral changes (KYC, regulated workflows, fraud-detection pipelines) and the ~30-day BrasilAPI / CNPJ.ws data-dump lag isn't acceptable. Free cached tier is also a good drop-in if real-time isn't required.

Avoid if

Daily-fresh data is good enough (BrasilAPI is simpler and free-without-cap) or you're budget-constrained — paid real-time scales per-call.

Risk Flags

  • LOW pricing_unpredictability Paid tier scales with volume; per-call costs add up at high enrichment volumes. Cache aggressively when situação cadastral doesn't need real-time freshness.
  • LOW vendor_lockin Paid-tier response shape may differ from free-tier; build a normalization layer so callers don't need to change between free and paid.

Cost

Type: Freemium · Free tier: open.cnpja.com — no auth, cached daily; reasonable rate limits per IP. · Paid starts: api.cnpja.com paid plans (pricing on vendor site; tier-based, token auth, real-time).

Hidden costs

  • Free tier (open.cnpja.com) is cached daily — not real-time. Plan accordingly when situação cadastral matters.
  • Paid tier billing model varies (per-call vs monthly subscription) — verify before scaling.

Install

Default

curl -s "https://open.cnpja.com/office/CNPJ_DIGITS_ONLY"
# Free cached endpoint (open.cnpja.com — no auth):
curl -s "https://open.cnpja.com/office/00000000000191"
# Returns office object with company name, registrations
# (Receita + Inscrições Estaduais), address, atividade_principal (CNAE),
# sócios, simples, situação cadastral.
#
# Paid real-time endpoint (api.cnpja.com — token in Authorization header):
curl -s -H "Authorization: Bearer YOUR_TOKEN" "https://api.cnpja.com/office/00000000000191"

Setup docs →

Estimated time to first success: ~2 min

Dependencies

Minimum runtime: Any HTTP client

Composes with: auxiliar-nfs-e, nfs-e-parser, BrasilAPI: CNPJ lookup, CNPJ.ws: free + commercial CNPJ lookup

Distribution

License
Proprietary (vendor-managed)