VOOZH about

URL: https://apify.com/parseforge/cnes-brazil-health-establishments-scraper

⇱ CNES Brazil Health Establishments Scraper Β· Apify


πŸ‘ CNES Brazil Health Establishments Scraper avatar

CNES Brazil Health Establishments Scraper

Pricing

from $7.50 / 1,000 results

Go to Apify Store

CNES Brazil Health Establishments Scraper

Tap the CNES registry of Brazilian health facilities and return cnes_id, name, type, manager, address, city, state, services, and beds. Useful for healthcare market mapping, public health research, hospital coverage studies, and bed capacity planning across every Brazilian municipality.

Pricing

from $7.50 / 1,000 results

Rating

0.0

(0)

Developer

πŸ‘ ParseForge

ParseForge

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a month ago

Last modified

Share

πŸ‘ ParseForge Banner

πŸ₯ CNES Brazil Health Establishments Scraper

πŸš€ Export Brazil's CNES national registry of health establishments in seconds. Hospitals, clinics, managers, services, and bed counts.

πŸ•’ Last updated: 2026-05-29 Β· πŸ“Š 11 fields per record Β· All 27 Brazilian states Β· 350,000+ establishments

The CNES Brazil Health Establishments Scraper turns the cnes.datasus.gov.br public registry into a structured dataset. It calls DataSUS's establishment lookup endpoint and returns one row per facility, including CNES code, official name, type, manager, address, services, and bed counts.

Coverage spans the entire Cadastro Nacional de Estabelecimentos de SaΓΊde maintained by Brazil's Ministry of Health, with filters by state and municipality.

🎯 Target AudienceπŸ’‘ Primary Use Cases
πŸ₯ Health system analystsMap facility distribution by region
πŸ“Š Public health researchersQuantify hospital bed capacity per municipality
πŸ›οΈ Policy makersAudit primary care coverage
πŸ“° JournalistsVerify establishment ownership and management
πŸ€– Data engineersMirror CNES into your own warehouse
πŸŽ“ AcademicsBuild study cohorts of Brazilian health facilities

πŸ“‹ What the CNES Brazil Health Establishments Scraper does

  • Queries the public CNES services endpoint with optional state, city, and name filters.
  • Flattens each establishment record into a clean row with normalized field names.
  • Combines street, number, and neighborhood into a single address string.
  • Casts bed counts to numbers for clean BI ingestion.
  • Surfaces upstream errors as a single diagnostic row instead of crashing.

πŸ’‘ Why it matters: CNES is the authoritative source on Brazil's 350,000+ health establishments, but its public viewer is a Java applet style page that's painful to scrape. This actor exposes the raw JSON directly.

🎬 Full Demo

🚧 Coming soon.

βš™οΈ Input

FieldTypeRequiredDescription
stateenumNoTwo-letter state code or empty for all states.
citystringNo6-digit IBGE municipal code.
searchstringNoFilter by establishment name.
maxItemsintegerNoFree 10, paid up to 1,000,000.

Example 1 - All SΓ£o Paulo state hospitals:

{"state":"SP","maxItems":100}

Example 2 - Search by name in Rio de Janeiro municipality:

{"state":"RJ","city":"330455","search":"HOSPITAL","maxItems":50}

⚠️ Good to Know: CNES updates daily. Bed counts may differ from facility websites if the facility has not updated its CNES registration recently.

πŸ“Š Output

FieldTypeDescription
πŸ†” cnes_idstringCNES national identifier.
πŸ₯ namestringEstablishment name.
🩺 typestringFacility type.
πŸ‘€ managerstringManagement entity.
πŸ“ addressstringCombined street, number, and neighborhood.
πŸ™οΈ citystringMunicipality name.
πŸ—ΊοΈ statestringState UF code.
πŸ’Ό servicesstringReported services.
πŸ›οΈ bedsnumberTotal bed count.
πŸ•’ scrapedAtstringWhen this row was fetched.
❌ errorstringSet if the upstream response was an error.

Sample record:

{
"cnes_id":"2077485",
"name":"HOSPITAL DAS CLINICAS DA FMUSP",
"type":"HOSPITAL GERAL",
"manager":"MUNICIPAL",
"address":"AV DR ENEAS DE CARVALHO AGUIAR, 255, CERQUEIRA CESAR",
"city":"SAO PAULO",
"state":"SP",
"services":null,
"beds":2200,
"scrapedAt":"2026-05-29T13:00:00.000Z",
"error":null
}

✨ Why choose this Actor

| πŸ†“ | Works with no API key. | | πŸ‡§πŸ‡· | All 27 states, every municipality. | | πŸ”’ | Bed counts cast to real numbers. | | 🧹 | Normalized field names ready for BI. | | πŸ’Ύ | Push to dataset and export CSV, Excel, JSON, or XML. |

πŸ“ˆ How it compares to alternatives

ApproachSetup timeClean rowsCoverageMaintained
Manual CNES web UI10 min per filter❌partialmanual
DataSUS bulk dumpshours to parsepartialfullquarterly
This Actor5 sec, no installβœ…fulllive

πŸš€ How to use

  1. Click Try for free.
  2. Pick a state and optionally a city code or name search.
  3. Click Start. Your dataset is ready within seconds.

πŸ’Ό Business use cases

πŸ₯ Capacity planning. Map bed counts per state to spot care deserts.

πŸ“Š M&A research. Identify hospital networks within a target region.

πŸ“° Newsroom verification. Confirm a facility's official registration and management.

πŸ€– Geocoding pipelines. Feed the address field into a geocoder to build a map layer.

πŸ”Œ Automating CNES Brazil Health Establishments Scraper

  • Make / Zapier: trigger and push to Airtable or Google Sheets.
  • Cron schedule: native Apify scheduler for nightly refreshes.
  • Webhooks: POST to your endpoint after each run.
  • Pipe to BigQuery / Snowflake / Postgres: native integrations.

🌟 Beyond business use cases

πŸŽ“ Education. Teach health informatics with real Brazilian SUS data.

πŸ§ͺ Personal research. Map healthcare access in your home state.

🀝 Non-profit. Power patient navigation and referral apps.

🧰 Prototyping. Spin up a dashboard in minutes with real data.

πŸ€– Ask an AI assistant about this scraper

Paste this README into ChatGPT or Claude and ask it to map your workflow to the actor's inputs.

❓ Frequently Asked Questions

❓ Do I need an API key? No.

❓ Which establishments are covered? Every facility registered with Brazil's CNES.

❓ How fresh is the data? CNES updates daily; this actor reads it live.

❓ Are bed counts cast to numbers? Yes.

❓ Can I filter by city? Yes, pass the 6-digit IBGE code.

❓ Can I schedule runs? Yes via the Apify scheduler.

❓ Is this scraping or API? Public DataSUS JSON services.

❓ What format can I download? CSV, Excel, JSON, JSONL, XML, RSS, or HTML.

❓ What if the search returns no results? A diagnostic record with error is pushed.

❓ Will the schema change? Stable.

πŸ”Œ Integrate with any app

Apify ships native integrations with Make, Zapier, Slack, Discord, Google Drive, Google Sheets, Gmail, Airbyte, Keboola, Telegram, GitHub, and any REST API or webhook.

πŸ”— Recommended Actors

ActorWhat it does
ParseForge ONPE Peru Elections ScraperPeru election results.
ParseForge collection900+ production scrapers.

πŸ’‘ Pro Tip: browse the complete ParseForge collection for 900+ production-grade scrapers across business intelligence, real estate, e-commerce, sports, finance, and public records.


Disclaimer: This actor scrapes only publicly available data. ParseForge is not affiliated with, endorsed by, or sponsored by any of the third-party services referenced. Users are responsible for complying with the target site's terms of service and applicable law. Create a free account w/ $5 credit.

You might also like

WHO Global Health Observatory Data Search

ryanclinton/who-gho-search

Search the World Health Organization's Global Health Observatory for health statistics across 194 member countries.

CMS Hospital General Info Scraper

parseforge/cms-hospital-general-info-scraper

Pull the CMS Hospital General Information dataset filtered by state code. Returns facility identifier, hospital name, address, city, ZIP, ownership, hospital type, and emergency services flag. Useful for healthcare market mapping, provider directories, and quality benchmarking.

WHO Global Health Observatory Indicators Scraper

parseforge/who-gho-health-indicators-scraper

Pull global health indicators from the WHO Global Health Observatory. Returns indicator name, country, year, value, and dimension breakdowns for 9,000+ WHO health metrics: life expectancy, mortality, vaccination coverage, NCDs, mental health, SDG targets.

CDC API Public Health & Disease Database

alizarin_refrigerator-owner/cdc-api-public-health-disease-database

Access CDC public health data including disease surveillance, vaccination rates, mortality statistics, and health indicators. Track outbreaks, chronic diseases, and population health metrics by state and demographic.

WHO Global Health Observatory (GHO) Scraper

crawlerbros/who-gho-health-data-scraper

Scrape the WHO Global Health Observatory (GHO) - the world's most comprehensive public health statistics database. Access 2,000+ health indicators across 194 countries: life expectancy, disease burden, mortality rates, nutrition, tobacco use, mental health, and more. No authentication required.

WHO GHO Data Scraper

parseforge/who-gho-data-scraper

Pull observation values from the WHO Global Health Observatory for any indicator code such as WHOSIS_000001 for life expectancy. Returns country, region, year, sex, value, and dimensions. Useful for health analytics, country benchmarking, and longitudinal public health studies.

Mental Health Email Scraper

contacts-api/mental-health-email-scraper

Mental health email scraper to extract verified emails from therapists, counselors, clinics, and mental health organizations πŸ“§πŸ§  Perfect for healthcare outreach, partnerships, and mental health lead generation.