Hong Kong Licensed Hotels and Guesthouses API

Hotels and guesthouses licensed in Hong Kong: licence number, English and Chinese name and address, area, phone, fax and email, from the government's licensing register. Search by words in the name or address.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usPlaces, 10 fieldsv1.0

Data from hadla.gov.hk/psi/licensed-hotels-and-guesthouses/licensed_hotels_and_guesthouses.csv

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Searchoptional
Words that must all appear in the English name or address, or in the Chinese name or address. Leave empty for every premises.
Example: Tsim Sha Tsui
Regionoptional
Only premises in this region.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/hong-kong-licensed-hotels/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/hong-kong-licensed-hotels/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"Tsim Sha Tsui"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtext
Words that must all appear in the English name or address, or in the Chinese name or address. Leave empty for every premises.
example: Tsim Sha Tsui
regiontext
Only premises in this region.
example: Kowloonone of: Hong Kong, Kowloon, New Territories

What's in each record

10 fields: 9 here, 1 technical one under Technical details.

Basics

  • Licence no

    Licence number, the same as id.

    Example H/0009

  • Premises name en

    Name of the premises in English.

    Example SHERATON HONG KONG HOTEL & TOWERS

  • Premises name zh

    Name of the premises in Chinese.

    Example 香港喜來登酒店

Location

  • Premises address en

    Address in English.

    Example 20 Nathan Road, Tsim Sha Tsui, Kowloon.

  • Premises address zh

    Address in Chinese.

    Example 九龍尖沙咀彌敦道20號

  • Region

    Hong Kong, Kowloon or New Territories, read from the address.

    Example Kowloon

Contact details

  • Phone

    Business phone number of the premises.

    Example 2369 ••••

  • Fax

    Business fax number of the premises.

    Example 2739 ••••

  • Email

    Business email address of the premises.

    Example r•••@sheraton.com

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idLicence number, such as H/0009.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
licence_notextLicence no3 of 3
premises_name_entextPremises name en3 of 3
premises_address_entextPremises address en3 of 3
premises_name_zhtextPremises name zh3 of 3
premises_address_zhtextPremises address zh3 of 3
regiontextRegion3 of 3
phonetextPhone3 of 3
faxtextFax2 of 3
emailtextEmail2 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordLicence noPremises name enPremises name zhPremises address enPremises address zhRegionPhoneFaxEmail
1H/0009SHERATON HONG KONG HOTEL & TOWERS香港喜來登酒店20 Nathan Road, Tsim Sha Tsui, Kowloon.九龍尖沙咀彌敦道20號Kowloon2369 ••••2739 ••••r•••@sheraton.com
2H/0015WHOLE SUNSHINE INTERNATIONAL GUEST HOUSE四季陽光國際賓館4/F & 5/F, Block A, Chungking Mansion, 40 Nathan Road, Tsim Sha Tsui, Kowloon.九龍尖沙咀彌敦道40號重慶大廈A座4&5字樓Kowloon5578 ••••——
3H/0018STANFORD HILLVIEW HOTEL仕德福山景酒店13-17 Observatory Road, Tsim Sha Tsui, Kowloon.九龍尖沙咀天文台道13-17號Kowloon2722 ••••2723 ••••h•••@stanfordhotel.com

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • The register lists about 1,800 premises in total; one run returns at most 2,000 records.
  • The register does not say whether a licence is for a hotel or a guesthouse, so there is no licence-type field.
  • fax and email are empty for many premises, and some phone numbers hold more than one number.
  • region (Hong Kong Island, Kowloon, New Territories) is read from the end of the English address and is empty when the address does not name one.
  • The whole register is downloaded on every run, so a run takes a few seconds whatever the filters; the government updates the file as licences change, not on a fixed schedule.
  • Government open data from DATA.GOV.HK (Home Affairs Department licensing office); reuse is under the DATA.GOV.HK terms of use. Not affiliated with the Hong Kong government.

Version history

A run uses the live version unless the request names another one with version.