# Singapore CHAS Clinics Scraper (`hipersoft/singapore-chas-clinics-scraper`) Actor

Export all CHAS (Community Health Assist Scheme) participating clinics in Singapore (~1,193): name, clinic type, phone, full address, lat/lng and health programmes (CHAS, CDMP). Filter by name, type, programme or radius. Public open data, no key.

- **URL**: https://apify.com/hipersoft/singapore-chas-clinics-scraper.md
- **Developed by:** [hiper soft](https://apify.com/hipersoft) (community)
- **Categories:** Lead generation, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.003 / clinic scraped

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Singapore CHAS Clinics Scraper

Export **every CHAS (Community Health Assist Scheme) participating clinic in Singapore** — around **1,193 clinics** — into clean JSON, CSV or Excel. Each record has **clinic name, licence type, phone, full address, latitude/longitude and health programmes** (CHAS, CDMP). Powered by MOH's **open data** (data.gov.sg).

Perfect for **healthcare directories, clinic-finder apps, patient-facing tools, medical-supplier lead lists and location analysis**.

![Singapore CHAS Clinics Scraper input — query, programme and radius filters in the Apify Console](https://api.apify.com/v2/key-value-stores/SUfvnaFLd9z9eBCtV/records/singapore-chas-clinics-scraper-input.png?v=2)

### What you get, per clinic

- 🏥 **Clinic** — name, HCI code, licence type
- ☎️ **Contact** — telephone
- 📍 **Address** — structured (block, floor, unit, street, building, postal) + formatted, plus **latitude & longitude**
- 🩺 **Programmes** — participating schemes (`CHAS`, `CDMP`, …) and an `isChas` flag

### Filters

- **`query`** — clinic name or address contains
- **`clinicType`** — HCI licence type code (e.g. `MC`, `MD`)
- **`programme`** — programme code, e.g. `CHAS`, `CDMP`
- **`centerLat` / `centerLng` / `radiusKm`** — radius search: return only clinics within N km of a point, **sorted nearest-first** (adds a `distanceKm` field)
- **`maxItems`** — cap the export (~1,193 total)

### Example input

```json
{ "centerLat": "1.3048", "centerLng": "103.8318", "radiusKm": "2", "maxItems": 100 }
```

### Output

![Singapore CHAS Clinics Scraper output example — clinics with address, coordinates and programmes as structured JSON](https://api.apify.com/v2/key-value-stores/SUfvnaFLd9z9eBCtV/records/singapore-chas-clinics-scraper-output.png?v=5)

```json
{
  "hciCode": "15M0211",
  "name": "Acumed Medical Group",
  "clinicType": "Medical Clinic",
  "licenceTypeCode": "MC",
  "telephone": "68615755",
  "programmes": ["CDMP", "CHAS"],
  "isChas": true,
  "formattedAddress": "1 JOO KOON CIRCLE, #01-23, FAIRPRICE HUB, Singapore 629117",
  "latitude": 1.32561767794228,
  "longitude": 103.678409741881,
  "sourceUrl": "https://data.gov.sg/collections/2036/view",
  "collectedAt": "2026-07-30T12:00:00.000Z"
}
```

#### Output schema

| Field | Type | Description |
| --- | --- | --- |
| `id` | string | Stable record ID for the clinic. |
| `hciCode` | string | Healthcare Institution (HCI) code. |
| `name` | string | Clinic name. |
| `clinicType` | string | Clinic type (e.g. Medical Clinic). |
| `licenceTypeCode` | string | Licence type code (e.g. `MC`, `MD`). |
| `telephone` | string | Clinic phone number. |
| `programmes` | array | Health schemes the clinic participates in (CHAS, CDMP). |
| `isChas` | boolean | Whether the clinic participates in CHAS. |
| `address` | object | Structured address (block, floor, unit, street, building, postal). |
| `formattedAddress` | string | Full single-line address. |
| `latitude` | number | Latitude coordinate. |
| `longitude` | number | Longitude coordinate. |
| `sourceUrl` | string (URL) | Source dataset URL. |
| `collectedAt` | string (ISO date) | When the record was collected. |

### Pricing

Pay-per-event: a small charge per run plus a small amount per clinic returned — you only pay for what you get. See the **Pricing** tab for current rates.

### FAQ

**Where does the data come from?**
Singapore's official MOH CHAS clinic open dataset on data.gov.sg, reused under the Singapore Open Data Licence.

**Can I search for clinics near a location?**
Yes. Set `centerLat`, `centerLng` and `radiusKm` for a radius search — results come back sorted nearest-first with a `distanceKm` field added.

**What's the output format?**
Structured JSON — one record per clinic with name, HCI code, licence type, phone, structured and formatted address, latitude/longitude and programmes. Export as JSON, CSV or Excel.

**Can I connect this to other apps?**
The Singapore CHAS Clinics Scraper can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). It works with [Make](https://apify.com/integrations/make), [Zapier](https://apify.com/integrations/zapier), [Slack](https://docs.apify.com/platform/integrations/slack), [Airbyte](https://docs.apify.com/platform/integrations/airbyte), [GitHub](https://docs.apify.com/platform/integrations/github), [Google Drive](https://docs.apify.com/platform/integrations/drive) and [many more](https://apify.com/integrations), plus the [Apify API](https://docs.apify.com/api/v2), JavaScript/Python clients and MCP. Or use [webhooks](https://docs.apify.com/platform/integrations/webhooks) to trigger an action whenever a run finishes.

### Related Actors

- [Singapore Pharmacy Locations Scraper](https://apify.com/hipersoft/singapore-pharmacy-locations-scraper) — retail pharmacy locations across Singapore.
- [Singapore School Directory (MOE)](https://apify.com/hipersoft/sg-school-scraper) — every MOE school with contacts and programmes.
- [Singapore Charities & IPC Directory](https://apify.com/hipersoft/sg-charities-scraper) — charities with UEN, IPC status and sector.

### Notes

Data is © MOH / CHAS, published under the **Singapore Open Data Licence** (commercial reuse permitted). Use responsibly and in line with the licence terms.

# Actor input Schema

## `query` (type: `string`):

Match clinics whose name or address contains this text. Leave empty for all.

## `clinicType` (type: `string`):

Filter by HCI licence type code (e.g. MC, MD). Leave empty for all.

## `programme` (type: `string`):

Filter by programme code, e.g. CHAS, CDMP. Leave empty for all.

## `centerLat` (type: `string`):

For radius search: latitude of the search center.

## `centerLng` (type: `string`):

For radius search: longitude of the search center.

## `radiusKm` (type: `string`):

For radius search: return only clinics within this many km of the center (sorted nearest-first).

## `maxItems` (type: `integer`):

Maximum clinics to return. ~1,193 in total.

## Actor input object example

```json
{
  "maxItems": 5000
}
```

# Actor output Schema

## `results` (type: `string`):

The scraped results as dataset items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "query": "",
    "clinicType": "",
    "programme": "",
    "centerLat": "",
    "centerLng": "",
    "radiusKm": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("hipersoft/singapore-chas-clinics-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "query": "",
    "clinicType": "",
    "programme": "",
    "centerLat": "",
    "centerLng": "",
    "radiusKm": "",
}

# Run the Actor and wait for it to finish
run = client.actor("hipersoft/singapore-chas-clinics-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "query": "",
  "clinicType": "",
  "programme": "",
  "centerLat": "",
  "centerLng": "",
  "radiusKm": ""
}' |
apify call hipersoft/singapore-chas-clinics-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=hipersoft/singapore-chas-clinics-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/YrYmXaPX77kckXapJ/builds/qOen2lWEp4GJ6jnHr/openapi.json
