# GSTC Scraper - Certified Hotels & Members (`jooah-code/gstc-org-scraper`) Actor

⚡ Fast GSTC scraper. No login, no API key. Export every GSTC-certified sustainable hotel and GSTC member: certification body, program, certification and expiry dates, GSTC code, country, city, website, member category, address and logo. Filter by country or member category.

- **URL**: https://apify.com/jooah-code/gstc-org-scraper.md
- **Developed by:** [jooah code](https://apify.com/jooah-code) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.80 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## GSTC Scraper - Certified Hotels & Members

![GSTC Scraper - Certified Hotels & Members](https://ik.imagekit.io/l2imuhdgi/banners/gstc-org-banner_XsqTSqj4w.png)

> Scrape GSTC-certified sustainable hotels and GSTC members from [GSTC](https://www.gstc.org/) and download them as JSON, CSV, Excel, or HTML. No account or login required.

### What does GSTC Scraper do?

**GSTC Scraper** turns the public GSTC certified hotels directory and the GSTC member search into a clean, structured dataset. Add one or both directory URLs, optionally narrow them by country or member category, and get the hotel name, location, certification body and program, certification and expiry dates, GSTC code, and website for every certified hotel, plus the name, category, country, address, logo, and description of every GSTC member.

The [Global Sustainable Tourism Council (GSTC)](https://www.gstc.org/) defines the global standards for sustainable travel and tourism. Its directory shows every hotel certified to a GSTC or GSTC-Recognized standard, and its member search lists the companies, destinations, and organizations that back the council. The scraper reads the same public information you see in your browser, so you can run it once, schedule it, or connect it to your own tools.

### Features

- **Two directories in one run**: collect certified hotels and GSTC members together, each item marked with its record type.
- **Country and category filters**: keep only one country or region, and only the member categories you care about.
- **Full directory in seconds**: thousands of certified hotels and hundreds of members are collected in a single short run.
- **Clean data**: dates use one standard format, website links are full URLs, and text is free of HTML.
- **Small, cheap runs**: set a result limit per URL and pay only for what you need.
- **Automation ready**: schedule runs, export to Google Sheets, or connect to Make, Zapier, and n8n.

### Data fields

1. **Record**: `url`, `recordType`
2. **Certified hotel**: `gstcCode`, `facility`, `website`
3. **Hotel location**: `country`, `state`, `city`
4. **Certification**: `certificationBody`, `certificationScope`, `certificationProgram`, `certificationLevel`, `certificationType`, `entityStatus`
5. **Certification dates**: `certificationDate`, `currentCycleStart`, `currentCycleExpiration`
6. **GSTC member**: `name`, `category`, `memberType`, `memberSince`, `country`, `address`, `website`, `logoUrl`, `description`

### Who uses this GSTC scraper?

- **Travel agencies and tour operators** build lists of certified sustainable hotels by country for their programs.
- **Corporate travel teams** check which hotels hold a valid sustainability certification.
- **Certification and market researchers** see which certification bodies and programs are most active in each country, and follow upcoming expiry dates.
- **Sales teams** reach hotels, consultancies, tour operators, and destinations that are committed to sustainability.
- **Data and AI teams** load ready-to-use data into spreadsheets, dashboards, or AI workflows.

### How to use GSTC Scraper

**Step 1.** Add the GSTC certified hotels directory URL, the member search URL, or both to **Start URLs**.

**Step 2.** If you want, type a **Country** or choose **Member categories** to narrow the results.

**Step 3.** Set **Maximum number of results** to how many results you want per URL.

**Step 4.** Click **Start** and wait for the run to finish, which usually takes a few seconds.

**Step 5.** Download the data in JSON, CSV, Excel, or HTML from the **Output** tab.

### Input parameters

- `startUrls` (**Start URLs**): GSTC directory pages to scrape. Supported pages: the certified hotels directory (`https://www.gstc.org/certified-hotels-directory/`) and the member search (`https://www.gstc.org/member-search/`).
- `country` (**Country**): return only hotels and members from this country or region, written as it appears on GSTC (for example `Italy`, `Thailand`, or `Türkiye`). It applies to every start URL. Leave it empty for all countries.
- `memberCategories` (**Member categories**): return only GSTC members in these categories, such as Consultancy, Hotel/Accommodation, or Tour Operator (inbound) / DMC. It applies to the member search only. Leave it empty for all categories.
- `maxResults` (**Maximum number of results**): how many results to collect for each start URL. Use `0` for no limit.

### Example input

#### Scrape certified hotels and GSTC members

```json
{
  "startUrls": [
    { "url": "https://www.gstc.org/certified-hotels-directory/" },
    { "url": "https://www.gstc.org/member-search/" }
  ],
  "maxResults": 5
}
```

#### All certified hotels and consultancy members in Italy

```json
{
  "startUrls": [
    { "url": "https://www.gstc.org/certified-hotels-directory/" },
    { "url": "https://www.gstc.org/member-search/" }
  ],
  "country": "Italy",
  "memberCategories": ["Consultancy"],
  "maxResults": 0
}
```

### Sample output

Every result becomes one dataset item. Use `recordType` to tell certified hotels and members apart.

A certified hotel:

```json
{
  "url": "https://www.gstc.org/certified-hotels-directory/",
  "recordType": "certifiedHotel",
  "gstcCode": "GSTC HACUTR220001",
  "facility": "Hilton Hotel",
  "country": "Türkiye",
  "state": null,
  "city": "Istanbul",
  "certificationBody": "Control Union Certifications",
  "certificationScope": "Hotel",
  "certificationProgram": "GSTC-Recognized Standard (TR-I)",
  "certificationLevel": null,
  "certificationType": "Single-site Certification",
  "certificationDate": "2023-11-15T00:00:00Z",
  "currentCycleStart": "2025-11-13T00:00:00Z",
  "currentCycleExpiration": "2026-11-12T00:00:00Z",
  "entityStatus": "Active",
  "website": "https://www.hilton.com.tr/"
}
```

A GSTC member:

```json
{
  "url": "https://www.gstc.org/member-search/",
  "recordType": "member",
  "name": "Agoda",
  "category": "Online Travel Agency (OTA)",
  "memberType": "Organization",
  "country": "Singapore",
  "memberSince": 2019,
  "address": "Agoda Company Pte. Ltd, 068877 Singapore",
  "website": "https://www.agoda.com/",
  "logoUrl": "https://www.gstc.org/?civiwp=CiviCRM&q=civicrm%2Fcontact%2Fimagefile&photo=Agoda_logo_0e462cdf0caba516731377be05dc66d7.png",
  "description": "Agoda is one of the world’s fastest growing online travel booking platforms..."
}
```

Export the dataset as JSON, CSV, Excel, XML, or HTML, or read it through the Apify API.

### Good to know

- Only the certified hotels directory and the member search are supported; any other GSTC URL is skipped.
- Certified destinations live on an external map and are not included.
- GSTC has no separate page per hotel or member, so `url` holds the directory page each item comes from.
- GSTC does not show phone numbers or email addresses of members, so they are not part of the data.
- Some entries have no state, certification level, or certification type on GSTC; those fields are returned as `null`.
- `memberType` and `memberSince` are `null` when GSTC does not show them.
- The country filter matches the country name used on GSTC, and `Turkey` also finds `Türkiye`.

### Frequently asked questions

**How many results can I scrape?**

Set **Maximum number of results** to `0` to get the whole directory, which holds thousands of certified hotels and hundreds of members. A smaller number gives you a quick sample.

**Do I need a GSTC account?**

No. Only public data is collected, so you do not need to log in or share any account details.

**Can I track expiring certifications?**

Yes. Every certified hotel comes with its current cycle expiration date. Run the scraper weekly and compare the results to spot new, renewed, and expiring certifications.

**Can I run it on a schedule?**

Yes. Apify Schedules can run it every hour, day, or week, so your data stays fresh.

**Can you add a new filter or input?**

Yes. The scraper supports the two GSTC directories with country and member category filters today. Other filters, such as certification body or expiry date range, can be added on request.

**Can I get a custom or private version?**

Yes. It can be adapted to your workflow, delivered as a private version, or a new scraper can be built for another website. See the contact details below.

### Support and custom scrapers

Need another field, a private version, or a scraper for a different website? Get in touch:

- Email: jooah.code@gmail.com
- Apify profile: [joaah-code](https://apify.com/joaah-code)

### Image credit

Banner: screenshot of [GSTC](https://www.gstc.org/).

# Actor input Schema

## `startUrls` (type: `array`):

GSTC directory URLs: the certified hotels directory (https://www.gstc.org/certified-hotels-directory/) and/or the member search (https://www.gstc.org/member-search/).

## `country` (type: `string`):

Only return hotels and members from this country or region, as written on GSTC (for example Italy, Thailand or Türkiye). Applies to every start URL. Leave empty for all countries.

## `memberCategories` (type: `array`):

Only return GSTC members of these categories. Applies to the member search URL only. Leave empty for all categories.

## `maxResults` (type: `integer`):

Maximum number of results to scrape per start URL. Set 0 for no limit.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.gstc.org/certified-hotels-directory/"
    },
    {
      "url": "https://www.gstc.org/member-search/"
    }
  ],
  "maxResults": 5
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://www.gstc.org/certified-hotels-directory/"
        },
        {
            "url": "https://www.gstc.org/member-search/"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("jooah-code/gstc-org-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 = { "startUrls": [
        { "url": "https://www.gstc.org/certified-hotels-directory/" },
        { "url": "https://www.gstc.org/member-search/" },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("jooah-code/gstc-org-scraper").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 '{
  "startUrls": [
    {
      "url": "https://www.gstc.org/certified-hotels-directory/"
    },
    {
      "url": "https://www.gstc.org/member-search/"
    }
  ]
}' |
apify call jooah-code/gstc-org-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,jooah-code/gstc-org-scraper"
        }
    }
}
```

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/cROR7cYaRWlOWJVFV/builds/UvBeSwmZfpTjCXL30/openapi.json
