Collects complete data from a Brazilian company (by CNPJ), automatically selects 3 comparable peers using AI, and returns analysis with thousands of data points:
- Financial statement data (up to 10 years)
- 45+ financial indicators
- Sector financial medians (AI-optimized sectoral slice)
- Detailed lawsuit statistics with monthly distributions
- Pre-calculated legal risk indicators
- Trademarks and patents
- Reclame Aqui complaints and reputation
- Company evolution (last 5 years)
- 3 AI-selected benchmark companies with complete data
- Digital presence (websites, apps, social networks)
- Web technologies used
- Marketplace presence
- Online advertising
- Government debts
- Total employees
- Estimated market size and market share
The JSON response is very extensive (~29,000 lines). 📥 Download a complete example here (CNPJ: 00186720000193)
Billing: Company + 3 peers + benchmark = 3.5 credits | Company only = 1.0 credit
Authentication
This API uses HTTP Basic Authentication. Send your email and password encoded in Base64 in the Authorization header.
Authorization: Basic base64(email:password)
Example with curl:
curl -X POST "https://www.klooksintelligence.com/benchmarks" \
-u "[email protected]:password123" \
-H "Content-Type: application/json" \
-d '{"cnpj": "00186720000193"}'
Example with Python:
import requests
resp = requests.post(
"https://www.klooksintelligence.com/benchmarks",
auth=("[email protected]", "password123"),
json={"cnpj": "00186720000193", "include_lawsuits_stats": True}
)
data = resp.json()
Example with Node.js:
const resp = await fetch("https://www.klooksintelligence.com/benchmarks", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Basic " + btoa("[email protected]:password123")
},
body: JSON.stringify({ cnpj: "00186720000193", include_lawsuits_stats: true })
});
const data = await resp.json();
AI-Powered Peer Selection
The 3 benchmark companies are automatically selected by a Gemini AI model that analyzes the target company's sector (CNAE), size, geography, and business model to find the most synergistic comparables. The AI performs web searches to validate each peer's relevance and returns a justification for each selection.
AI-Powered Sector Analysis
The sector medians are computed by an AI algorithm that selects the optimal sectoral slice for the target company. It starts with the company's exact CNAE code, city, state, and revenue range, then progressively broadens the criteria until a statistically meaningful sample is found (minimum 5 companies). The result includes 27 financial indicators as yearly medians, plus an estimated market size.
Financial Statements (Company + 3 Peers)
Raw financial data returned for each year available (up to 10 years) for the analyzed company and each of the 3 AI-selected peers.
| Indicator | Company | Peer 1 | Peer 2 | Peer 3 |
|---|---|---|---|---|
| Income Statement | ||||
| Net Revenue (R$) | 113,268,000 | 322,701,000 | 9,002,000 | 218,638,000 |
| COGS (R$) | -72,683,000 | -245,200,000 | -5,800,000 | -163,500,000 |
| Gross Profit (R$) | 40,585,000 | 77,501,000 | 3,202,000 | 55,138,000 |
| Net Income (R$) | 4,836,000 | 12,540,000 | -1,200,000 | 8,750,000 |
| EBIT (R$) | 10,210,000 | 18,300,000 | 450,000 | 14,200,000 |
| EBITDA (R$) | 12,702,000 | 22,100,000 | 1,100,000 | 17,800,000 |
| Depreciation (R$) | -2,492,000 | -3,800,000 | -650,000 | -3,600,000 |
| Income Before IR/CSLL (R$) | 4,836,000 | 12,540,000 | -1,200,000 | 8,750,000 |
| Financial Expenses (R$) | -6,348,000 | -8,200,000 | -1,800,000 | -5,400,000 |
| Financial Revenue (R$) | 974,000 | 2,100,000 | 150,000 | 1,300,000 |
| Operating Cash Flow (R$) | 837,000 | 15,200,000 | -800,000 | 9,500,000 |
| Balance Sheet | ||||
| Total Assets (R$) | 110,060,000 | 280,500,000 | 12,000,000 | 195,000,000 |
| Current Assets (R$) | 24,529,000 | 85,200,000 | 4,500,000 | 52,000,000 |
| Non-Current Assets (R$) | 85,531,000 | 195,300,000 | 7,500,000 | 143,000,000 |
| Current Liabilities (R$) | 28,626,000 | 72,000,000 | 5,800,000 | 48,000,000 |
| Non-Current Liabilities (R$) | 57,431,000 | 120,500,000 | 3,200,000 | 85,000,000 |
| Shareholders' Equity (R$) | 24,003,000 | 88,000,000 | 3,000,000 | 62,000,000 |
| Detailed Accounts | ||||
| Cash & Equivalents (R$) | 3,781,000 | 18,500,000 | 800,000 | 12,000,000 |
| Accounts Receivable (R$) | 7,454,000 | 32,000,000 | 1,200,000 | 18,000,000 |
| Inventories (R$) | 11,527,000 | 28,000,000 | 2,100,000 | 19,000,000 |
| Intangible Assets (R$) | 287,000 | 5,200,000 | 100,000 | 3,800,000 |
| Fixed Assets (R$) | 61,413,000 | 145,000,000 | 5,500,000 | 98,000,000 |
| Judicial Deposits (R$) | 754,000 | 2,100,000 | null | 1,500,000 |
| Investments (R$) | 143,000 | 8,500,000 | 50,000 | 4,200,000 |
| Suppliers (R$) | 6,702,000 | 22,000,000 | 1,800,000 | 14,000,000 |
| Short-term Loans (R$) | 9,580,000 | 25,000,000 | 2,500,000 | 18,000,000 |
| Long-term Loans (R$) | 16,512,000 | 45,000,000 | 1,200,000 | 32,000,000 |
| Provisions (R$) | 8,352,000 | 12,000,000 | null | 7,500,000 |
| Deferred Revenue (R$) | null | 3,200,000 | null | 1,800,000 |
| Deferred Taxes (R$) | 6,102,000 | 8,500,000 | null | 5,200,000 |
| Share Capital (R$) | 6,813,000 | 35,000,000 | 2,000,000 | 22,000,000 |
| Working Capital | ||||
| Working Capital (R$) | -4,097,000 | 13,200,000 | -1,300,000 | 4,000,000 |
| Net Working Capital Need (R$) | 12,279,000 | 38,000,000 | 1,500,000 | 23,000,000 |
| NWC Variation (R$) | -5,690,000 | 2,100,000 | -800,000 | 1,500,000 |
| Treasury Balance (R$) | -16,376,000 | -24,800,000 | -2,800,000 | -19,000,000 |
Financial Indicators (Company + 3 Peers + Sector Medians)
Calculated financial indicators returned for each year available (up to 10 years). Sector medians are provided by the AI-powered sector analysis algorithm.
| Indicator | Company | Peer 1 | Peer 2 | Peer 3 | Sector Median |
|---|---|---|---|---|---|
| Profitability Ratios | |||||
| Gross Margin (%) | 35.83 | 24.01 | 35.57 | 25.22 | 28.50 |
| EBITDA Margin (%) | 11.21 | 6.85 | 12.22 | 8.14 | 9.10 |
| EBIT Margin (%) | 4.27 | 5.67 | 5.00 | 6.50 | 5.80 |
| Net Margin (%) | 4.27 | 3.88 | -13.33 | 4.00 | 3.50 |
| Cost / Revenue (%) | 64.17 | 75.99 | 64.43 | 74.78 | 71.50 |
| ROA (%) | 4.39 | 4.47 | -10.00 | 4.49 | 3.80 |
| ROE (%) | 20.15 | 14.25 | -40.00 | 14.11 | 12.50 |
| ROIC (%) | 8.45 | 6.20 | 3.50 | 7.10 | 6.30 |
| Liquidity Ratios | |||||
| Current Ratio | 0.86 | 1.18 | 0.78 | 1.08 | 1.05 |
| General Liquidity | 1.28 | 1.46 | 0.85 | 1.30 | 1.22 |
| Quick Ratio | 0.45 | 0.79 | 0.41 | 0.69 | 0.65 |
| Cash Ratio | 0.13 | 0.26 | 0.14 | 0.25 | 0.20 |
| Activity / Cycle Ratios | |||||
| Days Sales Outstanding (d) | 24.0 | 36.2 | 48.7 | 30.1 | 32.5 |
| Days Inventory Outstanding (d) | 57.9 | 41.7 | 132.2 | 42.5 | 45.0 |
| Days Payable Outstanding (d) | 33.7 | 32.8 | 113.3 | 31.3 | 33.0 |
| Operating Cycle (d) | 81.9 | 77.9 | 180.9 | 72.6 | 77.5 |
| Cash Conversion Cycle (d) | 48.3 | 45.1 | 67.6 | 41.3 | 44.5 |
| Leverage / Debt Ratios | |||||
| Net Debt / EBITDA | 1.76 | 2.35 | 2.64 | 2.14 | 2.20 |
| Revenue / Net Debt | 5.08 | 3.21 | 2.85 | 3.52 | 3.40 |
| General Indebtedness (%) | 78.19 | 68.62 | 75.00 | 68.21 | 70.00 |
| Financial Indebtedness | 1.09 | 0.80 | 1.23 | 0.81 | 0.85 |
| Equity Immobilization | 3.56 | 2.22 | 2.50 | 2.31 | 2.30 |
| Financial Leverage | 4.59 | 3.19 | 4.00 | 3.15 | 3.20 |
| Interest Coverage (%) | 1.90 | 2.68 | 0.61 | 3.15 | 2.50 |
| Cost of Net Debt (%) | -27.05 | -18.50 | -24.00 | -16.20 | -19.00 |
| Debt / EBITDA | 6.78 | 4.35 | 8.18 | 3.95 | 4.80 |
| Growth Ratios | |||||
| Revenue Growth (%) | 8.37 | 5.20 | -12.50 | 6.80 | 5.50 |
| Net Income Growth (%) | -33.13 | 8.40 | -150.00 | 12.30 | 6.00 |
| EBITDA Growth (%) | 62.62 | 10.50 | -45.00 | 15.20 | 9.80 |
| Asset Growth (%) | -9.14 | 3.20 | -5.00 | 4.10 | 2.50 |
| Asset Turnover | 1.03 | 1.15 | 0.75 | 1.12 | 1.05 |
| Working Capital / Revenue (%) | -3.62 | 4.09 | -14.44 | 1.83 | 2.50 |
Operational Indicators (Company + 3 Peers)
| Indicator | Company | Peer 1 | Peer 2 | Peer 3 |
|---|---|---|---|---|
| Innovation | ||||
| Patents | 0 | 3 | 0 | 12 |
| Trademarks | 10 | 8 | 2 | 15 |
| Revenue / Patent (R$) | null | 107,567,000 | null | 18,220,000 |
| Revenue / Trademark (R$) | 11,326,800 | 40,338,000 | 4,501,000 | 14,576,000 |
| Reputation (Reclame Aqui) | ||||
| Total Complaints | 0 | 245 | 12 | 180 |
| Complaints (last 365 days) | 0 | 82 | 5 | 65 |
| Revenue / Complaint 365d (R$) | null | 3,935,000 | 1,800,400 | 3,363,700 |
| Profiles | 0 | 2 | 1 | 3 |
| Avg. Response Time (days) | null | 3.2 | 5.1 | 2.8 |
| Response Rate (%) | null | 92.5 | 78.0 | 95.3 |
| Resolution Rate (%) | null | 85.0 | 65.0 | 88.0 |
| Repurchase Rate (%) | null | 45.0 | 30.0 | 52.0 |
| Workforce | ||||
| Total Employees | 280 | 550 | 45 | 110 |
| Revenue / Employee (R$) | 404,529 | 586,729 | 200,044 | 1,987,618 |
| Market Share | ||||
| Estimated Market Size (R$) | 33,488,290,521 | — | — | — |
| Company Market Share (%) | 0.34 | — | — | — |
Evolution Indicators (Company + 3 Peers — Last 5 Years)
Historical evolution comparing the company and its peers over the last 5 years.
| Indicator | 2022 | 2023 | 2024 | 2025 | 2026 |
|---|---|---|---|---|---|
| Revenue Range | 100-250MM | 100-250MM | 100-250MM | 100-250MM | 100-250MM |
| Employees | 226 | 273 | 280 | 280 | 280 |
| Subsidiaries | 3 | 3 | 4 | 4 | 5 |
| Partners (QSA) | 2 | 2 | 2 | 2 | 2 |
The same evolution data is returned for each of the 3 AI-selected peers.
Legal Indicators (Company + 3 Peers)
Pre-calculated legal risk indicators combining lawsuit data with financial and workforce data.
| Indicator | Company | Peer 1 | Peer 2 | Peer 3 |
|---|---|---|---|---|
| Overview | ||||
| Revenue (R$) | 113,268,000 | 322,701,000 | 9,002,000 | 218,638,000 |
| Employees | 280 | 550 | 45 | 110 |
| Total Lawsuits (defendant) | 72 | 120 | 15 | 85 |
| Total Lawsuits (plaintiff) | 24 | 35 | 8 | 18 |
| Labor Lawsuits | ||||
| Count | 10 | 26 | 3 | 2 |
| Revenue / Labor Lawsuit (R$) | 11,326,800 | 12,411,577 | 3,000,667 | 109,319,000 |
| Employees / Labor Lawsuit | 28.0 | 21.2 | 15.0 | 55.0 |
| Tax Enforcement | ||||
| Count | 21 | 8 | 5 | 12 |
| Revenue / Tax Enforcement (R$) | 5,393,714 | 40,337,625 | 1,800,400 | 18,219,833 |
| Employees / Tax Enforcement | 13.3 | 68.8 | 9.0 | 9.2 |
| Civil Lawsuits (defendant) | ||||
| Count | 40 | 85 | 7 | 70 |
| Revenue / Civil Lawsuit (R$) | 2,831,700 | 3,796,482 | 1,286,000 | 3,123,400 |
| Employees / Civil Lawsuit | 7.0 | 6.5 | 6.4 | 1.6 |
| Civil Lawsuits (plaintiff) | ||||
| Count | 18 | 30 | 5 | 15 |
| Revenue / Plaintiff Civil (R$) | 6,292,667 | 10,756,700 | 1,800,400 | 14,575,867 |
| Employees / Plaintiff Civil | 15.6 | 18.3 | 9.0 | 7.3 |
| Criminal Cases (as victim) | ||||
| Count | 1 | 0 | 0 | 3 |
Detailed Lawsuit Statistics (Company + 3 Peers)
When include_lawsuits_stats: true, the response includes the full lawsuit profile from the Lawsuits Stats API with main_stats for the company and all 3 peers. This data is returned in a separate lawsuitsStats field, independent from legalIndicators.
| Metric | Company | Peer 1 | Peer 2 | Peer 3 |
|---|---|---|---|---|
| Totals | ||||
| Total Lawsuits (all time) | 365 | 799 | 70 | 650 |
| Active Lawsuits | 14 | 29 | 9 | 67 |
| Total Claim Value (R$) | 179,298,561 | 542,100,000 | 3,079,410 | 385,200,000 |
| Active Claim Value (R$) | 9,025,486 | 18,500,000 | 1,200,000 | 42,000,000 |
| By Category (count / value) | ||||
| Defendant — Labor | 63 / R$ 7.3M | 81 / R$ 12.5M | 12 / R$ 0.8M | 95 / R$ 15.2M |
| Defendant — Civil | 171 / R$ 98.4M | 377 / R$ 320.0M | 10 / R$ 1.5M | 280 / R$ 180.0M |
| Defendant — Tax Enforcement | 123 / R$ 71.9M | 2 / R$ 0.5M | 33 / R$ 0.6M | 150 / R$ 120.0M |
| Defendant — Other | 1 / R$ 0 | 0 / R$ 0 | 0 / R$ 0 | 5 / R$ 2.0M |
| Plaintiff — Civil | 3 / R$ 1.7M | 26 / R$ 45.0M | 12 / R$ 0.1M | 85 / R$ 50.0M |
| Plaintiff — Criminal | 3 / R$ 0 | 0 / R$ 0 | 0 / R$ 0 | 2 / R$ 0 |
Each category includes monthly_distribution with count_new, count_active, value_new, and value_active broken down by YYYY-MM.
