Hong Kong School Directory
Every school and kindergarten the Hong Kong Education Bureau lists: English and Chinese name, category, address, district, phone, website, level, map position and funding type. Filter by name, category or district.
$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.
Data from edb.gov.hk/en/student-parents/sch-info/sch-search/index.html
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/hong-kong-school-directory/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"name":"BAPTIST"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
16 fields.
Basics
- School no
The Education Bureau's school number.
Example 511161000323
- Name en
School name in English.
Example BAPTIST HUNG HIN SHIU RAINBOW PRIMARY SCHOOL
- Name zh
School name in Chinese.
Example 浸信會孔憲紹天虹小學
- Category
School category in English, such as Aided Primary Schools.
Example Aided Primary Schools
- Level
KINDERGARTEN, PRIMARY or SECONDARY.
Example PRIMARY
- District
District in English.
Example KOWLOON CITY
- Finance type
How the school is funded, such as AIDED or PRIVATE.
Example AIDED
- Students gender
CO-ED, BOYS or GIRLS.
Example CO-ED
- Session
Teaching session, such as WHOLE DAY or AM.
Example WHOLE DAY
- Religion
Religion of the sponsoring body, when listed.
Example PROTESTANTISM / CHRISTIANITY
Location
- Address
Street address in English.
Example 2 MUK ON STREET, KOWLOON CITY, KOWLOON
- Address zh
Street address in Chinese.
Example 九龍城沐安街2號
- Latitude
Latitude of the school.
Example 22.32803
- Longitude
Longitude of the school.
Example 114.203357
Links
- Website
The school's own website, when listed.
Example wcl.edu.hk
Contact details
- Phone
The school's office telephone number.
Example 2328••••
Technical detailsField names and types for developers
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
school_no | text | School no | 3 of 3 |
name_en | text | Name en | 3 of 3 |
name_zh | text | Name zh | 3 of 3 |
category | text | Category | 3 of 3 |
level | text | Level | 3 of 3 |
address | text | Address | 3 of 3 |
address_zh | text | Address zh | 3 of 3 |
district | text | District | 3 of 3 |
phone | text | Phone | 2 of 3 |
website | link | Website | 1 of 3 |
finance_type | text | Finance type | 3 of 3 |
students_gender | text | Students gender | 3 of 3 |
session | text | Session | 3 of 3 |
religion | text | Religion | 3 of 3 |
latitude | number | Latitude | 3 of 3 |
longitude | number | Longitude | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | School no | Name en | Name zh | Category | Level | District | Finance type | Students gender | Session | Religion | Address | Address zh | Latitude | Longitude | Website | Phone |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 511161000323 | BAPTIST HUNG HIN SHIU RAINBOW PRIMARY SCHOOL | 浸信會孔憲紹天虹小學 | Aided Primary Schools | PRIMARY | KOWLOON CITY | AIDED | CO-ED | WHOLE DAY | PROTESTANTISM / CHRISTIANITY | 2 MUK ON STREET, KOWLOON CITY, KOWLOON | 九龍城沐安街2號 | 22.32803 | 114.203357 | — | 2328•••• |
| 2 | 511366000223 | CARMEL LEUNG SING TAK SCHOOL | 迦密梁省德學校 | Aided Primary Schools | PRIMARY | KWUN TONG | AIDED | CO-ED | WHOLE DAY | PROTESTANTISM / CHRISTIANITY | 33 ON SAU ROAD, KWUN TONG, KOWLOON | 九龍觀塘安秀道33號 | 22.324227 | 114.231306 | — | — |
| 3 | 114596000123 | ELCHK WISDOM LUTHERAN SCHOOL | 基督教香港信義會睿信學校 | Aided Primary Schools | PRIMARY | SHA TIN | AIDED | CO-ED | WHOLE DAY | PROTESTANTISM / CHRISTIANITY | ESTATE PRIMARY SCHOOL NO 3, WO CHE ESTATE, SHATIN, NEW TERRITORIES | 新界沙田禾輋邨第三座小學 | 22.389623 | 114.197277 | wcl.edu.hk | 2691•••• |
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.
- About 3,500 schools in all; the list is a government file that the Education Bureau refreshes a few times a year, so closures and openings can lag.
- Website and phone are empty for some schools (about 5 percent have no website listed).
- Filters match by text: name needs every word, category and district match part of the English or Chinese label (case does not matter).
- Government open data on data.gov.hk; keep the Education Bureau credit and follow the data.gov.hk terms.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.