SICAR (Rural Environmental Registry)¶
About¶
The National Rural Environmental Registry System (SICAR) is the mandatory electronic registry of every rural property in Brazil, under Law 12.651/2012 (Forest Code). Administered by the Brazilian Forest Service (SFB), the system holds more than 7.4 million properties registered across 27 states.
The CAR includes information about:
- Rural property identification
- Registration status (Active, Pending, Suspended, Cancelled and RE, published by SICAR with no official definition found)
- Total area in hectares
- Fiscal modules
- Property type (IRU Rural, AST Settlement, PCT as published by SICAR)
- Municipality and IBGE code
Access via WFS¶
agrobr accesses the SICAR GeoServer WFS directly, with no need for CAPTCHA or authentication. The OGC WFS protocol allows standardized queries with server-side filters (CQL_FILTER) and transparent pagination.
Endpoint: https://geoserver.car.gov.br/geoserver/sicar/wfs
Available fields¶
| Field | Type | Description |
|---|---|---|
| cod_imovel | string | Unique property code (UF-IBGE-hash) |
| status | string | AT (Active), PE (Pending), SU (Suspended), CA (Cancelled) and RE (published by SICAR, no official definition found; returned as published) |
| data_criacao | datetime UTC | Instant of record creation |
| data_atualizacao | datetime UTC | Last update (nullable) |
| area_ha | float | Total area in hectares |
| condicao | string | Registration condition (nullable) |
| uf | string | State abbreviation |
| municipio | string | Municipality name |
| cod_municipio_ibge | int | Municipality IBGE code |
| modulos_fiscais | float | Number of fiscal modules |
| tipo | string | IRU (Rural), AST (Settlement), PCT (type published by SICAR) |
| cod_municipio | int | 7-digit IBGE code (same as cod_municipio_ibge); nullable |
Notes¶
- Tabular format 2.0:
imoveis()uses GeoJSON attributes only, without geometry or GeoPandas. Dates are UTC, including null columns and empty results, and an empty result has the dtypes of a populated one (text asstron pandas 3 andobjecton 2), in the table and in_geo. Official CSV clocks lacked a timezone and differed from the UTC instants in JSON and CQL cutoffs; no fixed offset is applied to convert old CSV captures - Incremental update:
imoveis(),imoveis_geo()andimoveis_geo_stream()acceptatualizado_apos(CQLdata_atualizacao>'...', ISO date or datetime) to fetch only records updated after a given date. The column is requested in the 15 layers that provide it. The field does not exist in PE, PI, PR, RJ, RN, RO, RR, RS, SC, SE, SP or TO: the filter raises before network access in these states, and the column remains null in queries without that filter. This coverage comes from theDescribeFeatureTypeof all 27 layers on 2026-09-06 - Current state: creation (
>=) and update (>) filters select records available at query time. They do not retrieve previous revisions or deletions. Thecadastro_ruraldataset also accepts municipality (name or code) and update filters, and rejectsdeterministic - Geometry available:
imoveis_geo()returns aGeoDataFramewith MultiPolygon polygons (EPSG:4326) via WFS GeoJSON. Requirespip install agrobr[geo]. The default result limit is 5,000 features;max_registrosabove 10,000 orNoneuses pagination. A cut result warns (validation_warnings,UserWarningandsource_details["sicar"]["truncado"]). All 27 layers declare SIRGAS 2000 (DefaultCRSEPSG:4674); agrobr requestssrsName=EPSG:4326and rejects withParseErrorany page with features that declares another CRS - Filter precision:
atualizado_aposaccepts milliseconds with optional additional zeros..212000is sent as.212; submillisecond values raise without rounding - Pagination: large queries use 10,000-record pages sorted by
cod_imovelin both tabular and geospatial paths. The source advertisesPagingIsTransactionSafe=FALSE: sorting fixes the record order but does not guarantee a snapshot across pages during concurrent updates - Counts during tabular pagination: changes in
numberMatchedproduce a warning log andMetaInfo.validation_warnings(withreturn_meta=True). The largest observed total determines how many pages to request; the final number of unique feature IDs must match the last announced count. Repeated feature IDs or a final mismatch raiseParseErrorwith instructions to repeat the query. There is no automatic retry or guarantee of snapshot completeness; warnings are also preserved incadastro_ruraland municipality summaries - Counts during geospatial pagination: paginated
imoveis_geo()(max_registros=Noneor above 10,000) andimoveis_geo_stream()follow the same rule: pages follow the initial count, and the final number of unique feature IDs must match the last announced count (ormax_registros, if smaller); otherwiseParseErrorwith instructions to repeat the query. A change innumberMatchedgoes to the log and, inimoveis_geo(return_meta=True), toMetaInfo.validation_warnings. In the stream, the check runs after the last page, so the error arrives after the batches already delivered - Repeated occurrences: after the scan,
imoveis(), municipality summaries,imoveis_geo()andimoveis_geo_stream()select one occurrence percod_imovel. The comparison field is chosen for the whole group: update if available for every occurrence; otherwise creation if available for every occurrence; otherwise the highest numeric feature-ID suffix. Date ties use the same ID rule. The 12 states without updates are listed above.cadastro_ruralkeeps contract 2.1, its key and twelve columns. Warnings andsource_details["sicar"]record feature counts, collapsed codes, discarded occurrences and criteria. The discard list contains up to 1,000 items and flags truncation. See the selection rule and provenance fields - State summary:
resumo(uf)without a municipality counts published features (resultType=hits), without the selection above: versions of the samecod_imovelcount separately. The output says so insource_details["sicar"]["unidade"] = "feicoes_publicadas"and invalidation_warnings; to count properties, use the municipality summary - No cache: every call queries the CAR GeoServer; repeating the query downloads everything again
- Extended timeout: 180s read timeout for states with many records (BA, MG, MT)
- SSL: the CAR GeoServer uses a legacy cipher suite that rejects the standard TLS handshake.
The client uses an
SSLContextwith@SECLEVEL=1while retaining certificate and hostname verification. Certificate trust failures do not activate an unverified fallback - EUDR relevance: data essential for compliance with the EU Deforestation Regulation
License¶
SICAR is classified as livre under the federal public-data framework: the access law, Decree 8,777/2016 and CAR publicity under Law 12,651/2012. Public consultation offers viewing and downloading the database by state without a located reuse-specific term. Empty WFS Fees and AccessConstraints fields are not a license grant. No CC BY license was verified for the database; the gov.br footer's BY-ND applies to website content. Preserve SFB/CAR attribution, layer, state, extraction and transformations. CAR geoservices.
Links¶
Counts and provenance¶
On 2026-09-18, the complete DF query had 21,006 features across three pages, including 513 null update timestamps. In an MT query, a zero fiscal-module value is preserved. In two pages of 10,000 features from GO and RS, occurrence selection by update and by creation yields 9,999 properties in each.
Matching counts do not guarantee a transactional snapshot. With several pages, MetaInfo carries each one in source_details["resources"] (SHA-256 and bytes) and, at the top, the hash of the {query, resources} manifest (hash_kind resource_manifest_sha256).
Raw collection¶
agrobr.bruto.coletar("sicar", "imoveis", uf=..., ...) stores the original GeoJSON pages of the state's layer in the native CRS (EPSG:4674) with every attribute, using the client's TLS session and pauses. It keeps every published version of a property and counts by feature.id, not by cod_imovel. Because SICAR publishes no sortable identifier, pages use sortBy=cod_imovel A,dat_criacao A, and the collection only closes ok when the pair (cod_imovel, dat_criacao) strictly increases: two versions with the same dat_criacao end the collection with an error. An ok proves the order of what arrived in that collection, not that the pair is unique across the whole database. The bbox is optional. See the raw collection API and the manifest contract.
Invalid geometry¶
Geometry from the _geo outputs is returned as the source publishes it, without repair; an invalid geometry raises a warning and a count in MetaInfo. See Published geometries.