Database on Official Record of Proceedings

This data set contains the official records of proceedings of the Legislative Council since the Fifth Legislative Council (2012-2016).
The information can be obtained in the form of open data via web application programming interface (API) as described in this page.
For enquiry, please e-mail to enquiry@legco.gov.hk.
Expand all
Usage tips of Web Application Programming Interface (API)
Down arrow
Note:
When Chinese characters are used in a web api command, please perform URL encoding for it first, or use a browser such as Chrome that can encode Chinese characters automatically.

The web api provides the following information:
  1. Hansard (Official records of the proceedings of the Legislative Council)
  2. Sections (Meeting sections)
  3. Subjects (Subjects under discussion)
  4. Speakers (President, Members or designated public officers that make the speech)
  5. Rundown (Agenda of the Council meeting)
  6. Questions (Questions to the Government)
  7. Bills (Government bills or Members' bills)
  8. Motions (Government motions or Members' motions)
  9. Petitions (Presentation of petitions)
  10. Addresses (Addresses by the Chief Executive, Members or designated public officers)
  11. Statements (Statements by designated public officers)
  12. VotingResults (Decision on motions or questions put to the Council or Committee of the Whole Council)
  13. SummoningBells (Bells that summon Members when a quorum is not present)
Corresponding to the above information, the open data web api can be run at:
To get the meta data schema of the dataset, please run the following:
The following query string options can be applied:
  • $format - specify whether the data to be returned in json or xml format, e.g. $format=json
  • $top=N - select only the first N entries of the set, where N is a positive integer, e.g. $top=10
  • $skip=N - select only the remaining entries (starting with Entry N+1) where N is a positive integer, e.g. $skip=10
  • $orderby - what values are used to order the retrieved data, e.g. $orderby=MeetingDate
  • $select - select specific fields to be returned, e.g. $select=MeetingDate,SubjectName,MemberName,HansardFileURL
  • $filter - select specific entries according to provided conditions, e.g. $filter=substringof('Council Meeting',SubjectName) eq true
  • $inlinecount - specify "$inlinecount=allpages" to include the total number of records in the returned data
  • $expand - link up data
For available operators and functions to be used with $filter option, please refer to the documentation of the Open Data Protocol.
Examples
Down arrow
The following examples illustrate some of the ways to retrieve data according to the Open Data Protocol.

Data Resources

Official records of proceedings of the Seventh Legislative Council
XML JSON
Official records of proceedings of the Sixth Legislative Council (2016 - 2021)
XML JSON