Documentation Index
Fetch the complete documentation index at: https://mintlify.com/World-Open-Graph/br-acc/llms.txt
Use this file to discover all available pages before exploring further.
Overview
BR-ACC uses Neo4j’s Cypher query language to navigate the graph database. Cypher is a declarative pattern-matching language that makes it intuitive to query connected data.Basic Query Structure
A typical Cypher query follows this pattern:Finding Entities
Find Company by CNPJ
The most common query is looking up a company by its unique identifier:From
public_company_lookup.cypher - Production code used in the BR-ACC APIFind Person or Company by Document
Search for either a Person (CPF) or Company (CNPJ):From
entity_lookup.cypherFind Any Entity by ID
BR-ACC supports multiple entity types with different ID fields:From
entity_by_id.cypher - Supports all entity types in BR-ACCFull-Text Search
BR-ACC includes a full-text search index across multiple entity types:From
search.cypher - Searches across name, razao_social, CPF, CNPJ, and other fieldsNode Labels
BR-ACC uses the following primary node labels:Person
Individual with CPF identifier
Company
Legal entity with CNPJ
Partner
Company partner/shareholder
Contract
Government contract
Sanction
Administrative sanction
Embargo
Environmental embargo
Amendment
Budget amendment
Finance
Financial transaction/debt
Election
Electoral data
Using Parameters
Next Steps
Common Patterns
Learn query patterns for networks and relationships
Performance
Optimize queries with indexes and constraints