OpenLegislation is a web service that delivers legislative information from the New York State Senate and Assembly to the public in near-real time. It is used internally to serve up legislative data for and the Bluebird-CRM.
Java CSS PLpgSQL JavaScript HTML Shell
Latest commit ca26dc0 Jul 20, 2016 @prafsoni prafsoni Dependencies upgrade
 Elasticsearch upgraded to v2.3.4 (breaking changes: elasticsearch cluster should be upgraded to v2.3.4 before use)
 Postgresql-jdbc upgraded to v9.4.1209
Failed to load latest commit information.
bin Changed "http://" scheme to "//" scheme-less format. Apr 5, 2016
docs fix typo in law api docs Jul 1, 2016
src Dependencies upgrade Jul 20, 2016
.gitignore agenda alert parsing and storage Apr 13, 2015
LICENSE update developer list in Apr 12, 2016
pom.xml Dependencies upgrade Jul 20, 2016


From the New York State Senate

Dual BSD/GPL License. See the NYSenate licensing page

Open Legislation is an open source web service developed in-house by the New York State Senate to provide access to NYS legislative data including bills, resolutions, and laws. Developers can request a free key for the JSON API at The JSON API is documented at

Updates to legislative data are distributed by the Legislative Bill drafting Commission (LBDC) in a raw, plain text format. Open Legislation parses the updates in real time and redistributes the data through the JSON API for integration with various web applications. It is developed and run using several open-source technologies and frameworks including:

  • Java 8
  • Spring 4 framework
  • PostgreSQL
  • Elasticsearch
  • AngularJS
  • Tomcat

Bill page demo

Current Senate Developers

Past Developers