# Singapore Green Mark Certified Buildings Scraper (BCA ESG) (`perceptive_city_af7/sg-green-mark-buildings`) Actor

Official Singapore BCA Green Mark dataset scraper for certified sustainable buildings, Platinum/GoldPlus ratings, award years & addresses. Ready-to-use JSON for APAC ESG, PropTech & real estate research.

- **URL**: https://apify.com/perceptive_city_af7/sg-green-mark-buildings.md
- **Developed by:** [fall Rainy](https://apify.com/perceptive_city_af7) (community)
- **Categories:** Real estate, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 certification results

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/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Singapore Green Mark Certified Buildings Scraper (BCA ESG)

> **Free Integration Kits:** Download ready-to-use Google Sheets, Excel Power Query, Postman/Bruno, n8n CSV workflows, Python/JS SDKs & MCP configs in [Open Data Kits](https://github.com/Rainy-fall-end/open-data-kits) · Prefer a direct REST API? [Try Singapore BCA Green Mark API on RapidAPI](https://rapidapi.com/fallRainy/api/singapore-bca-green-mark-buildings).

Search commercial building certifications published by Singapore's Building and Construction Authority (BCA). Use the results to verify portfolio claims, track certification expiry, or shortlist sites for retrofit assessments.

### Search inputs

| Input | What it does |
| --- | --- |
| `query` | Case-insensitive substring of the published building name or certificate reference. Use the name as listed by BCA, such as `Republic Plaza`. With no rating selected, a Chinese rating keyword such as `白金级` or `白金級` also works. |
| `rating` | Optional rating. Choose Platinum (白金级), GoldPLUS (超金级), Gold (金级), or Certified (认证级). |
| `expiresWithinDays` | Optional rolling expiry window, inclusive of today and the specified end date in Singapore. Use 0 for today only. |
| `maxItems` | Maximum distinct certifications to return. Defaults to 10. |

```json
{
  "query": "Republic Plaza",
  "rating": "Platinum",
  "maxItems": 10
}
```

Each result includes the certification reference, project name and type, rating, certification date and expiry date where available, plus source and licence attribution. Dates use ISO 8601. The Actor reads the Commercial category and requests only project and certification fields. Searches are limited to data BCA publishes. The quarterly dataset covers voluntary Green Mark certifications and excludes legislated projects and projects that opted out of public disclosure.

### Source and licence

Contains information from Green Mark Buildings by the Building and Construction Authority (BCA), Singapore, obtained from data.gov.sg under the Singapore Open Data Licence version 1.0. The access date and licence link travel with each exported record. Users who need additional rights can obtain them from the original source under the linked licence. This Actor is an independent tool and has no BCA endorsement. [BCA dataset](https://data.gov.sg/datasets/d_c4bd082b48fa7611713f39e23d250c27/view) · [Singapore Open Data Licence](https://developers.data.gov.sg/open-data-licence)

As checked on November 24, 2026, the catalogue listed October 16, 2026 as the most recent update. Open Government Products reported 531 manual downloads and 3,128 API queries for this dataset in Q2 2026. These are usage figures for the upstream dataset. [Dataset usage metrics](https://data.gov.sg/datasets/d_a3ccf37872e0c9a0a3b343ee4b285369/view)

Run the offline checks and anonymous live smoke test from the Actor directory with `python tests/test_live_and_unit.py`. Pass `--skip-live` for offline-only validation.

# Actor input Schema

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

Case-insensitive search of the published project name or reference, such as Republic Plaza. With no rating selected, a Chinese rating keyword such as 白金级 also works.

## `rating` (type: `string`):

Optional BCA certification rating, such as Platinum (白金级) or Gold (金级).

## `expiresWithinDays` (type: `integer`):

Include certificates expiring from today through this many days from today, inclusive. Omit to include all expiries.

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

Stop saving results once this many distinct certificates have been saved.

## Actor input object example

```json
{
  "query": "",
  "rating": "",
  "maxItems": 10
}
```

# Actor output Schema

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

Public commercial project certifications with per-record attribution.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("perceptive_city_af7/sg-green-mark-buildings").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("perceptive_city_af7/sg-green-mark-buildings").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{}' |
apify call perceptive_city_af7/sg-green-mark-buildings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,perceptive_city_af7/sg-green-mark-buildings"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

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