{"id":79,"date":"2017-11-16T21:15:13","date_gmt":"2017-11-16T21:15:13","guid":{"rendered":"https:\/\/council.nyc.gov\/legislation\/?page_id=79"},"modified":"2023-06-27T20:40:57","modified_gmt":"2023-06-27T20:40:57","slug":"api","status":"publish","type":"page","link":"https:\/\/council.nyc.gov\/legislation\/api\/","title":{"rendered":"Access the Legislative API"},"content":{"rendered":"<div class=\"row\">\n<div class=\"column large-6\">\n<p><a aria-label=\"Examples of the Legistar API\" href=\"http:\/\/webapi.legistar.com\/Home\/Examples\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/council.nyc.gov\/legislation\/wp-content\/uploads\/sites\/55\/2017\/11\/LEGISTAR-API-_DRAFT.png\" alt=\"The Council shares and archives all of our legislative information, including proposzed and passed legislation, hearings, and monthly Stated meetings, on our Legislative Research Center, known as Legistar. The Legistar Web API for New York City is now available for read access by the public! The NYC Legistar API grants individuals more access to information, allowing them to build more accurate and reliable tools. The legislative API bridges gaps between consituent concerns and local governance practices. Our open API works towards  fulfulling the goals outlined in Council 2.0, creating a more transparent and responsive Council.\" width=\"800\" height=\"800\" class=\"alignnone size-full wp-image-78\" srcset=\"https:\/\/council.nyc.gov\/legislation\/wp-content\/uploads\/sites\/55\/2017\/11\/LEGISTAR-API-_DRAFT.png 800w, https:\/\/council.nyc.gov\/legislation\/wp-content\/uploads\/sites\/55\/2017\/11\/LEGISTAR-API-_DRAFT-150x150.png 150w, https:\/\/council.nyc.gov\/legislation\/wp-content\/uploads\/sites\/55\/2017\/11\/LEGISTAR-API-_DRAFT-700x700.png 700w, https:\/\/council.nyc.gov\/legislation\/wp-content\/uploads\/sites\/55\/2017\/11\/LEGISTAR-API-_DRAFT-768x768.png 768w, https:\/\/council.nyc.gov\/legislation\/wp-content\/uploads\/sites\/55\/2017\/11\/LEGISTAR-API-_DRAFT-400x400.png 400w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<h3> What is an API?<\/h3>\n<p>The Council shares and archives all of our legislative information, including proposed and passed legislation, hearings, and monthly Stated meetings, on our Legislative Research Center, known as Legistar. The New York City Council Legistar system was built by Granicus using their Legistar Legislative Management Suite.<\/p>\n<p>The Legistar Web API for New York City is now available for read access by the public. In Council 2.0, the Council&#8217;s technology and engagement roadmap, we outlined different ways to increase access and transparency to our legislative information. Making the NYC Legistar API open to the public will allow individuals to create tools and platforms that pull directly from this data source, ensuring increased accuracy and reliability.<\/p>\n<h3>Help and Examples<\/h3>\n<p>Having trouble? Access help, documentation, and examples.<\/p>\n<p><a class=\"button\" href=\"http:\/\/webapi.legistar.com\/Home\/Examples\" style=\"margin-bottom:0;\">Learn More<\/a><\/p>\n<\/div>\n<div class=\"column large-6\">\n<h3>Access the API<\/h3>\n<p>To get the access token, fill out the form below. You will receive an email with the API Key and further instruction.<br \/>\n\n<div class=\"wpcf7 no-js\" id=\"wpcf7-f77-o1\" lang=\"en-US\" dir=\"ltr\">\n<div class=\"screen-reader-response\"><p role=\"status\" aria-live=\"polite\" aria-atomic=\"true\"><\/p> <ul><\/ul><\/div>\n<form action=\"\/legislation\/wp-json\/wp\/v2\/pages\/79#wpcf7-f77-o1\" method=\"post\" class=\"wpcf7-form init\" aria-label=\"Contact form\" novalidate=\"novalidate\" data-status=\"init\">\n<div style=\"display: none;\">\n<input type=\"hidden\" name=\"_wpcf7\" value=\"77\" \/>\n<input type=\"hidden\" name=\"_wpcf7_version\" value=\"5.8.7\" \/>\n<input type=\"hidden\" name=\"_wpcf7_locale\" value=\"en_US\" \/>\n<input type=\"hidden\" name=\"_wpcf7_unit_tag\" value=\"wpcf7-f77-o1\" \/>\n<input type=\"hidden\" name=\"_wpcf7_container_post\" value=\"0\" \/>\n<input type=\"hidden\" name=\"_wpcf7_posted_data_hash\" value=\"\" \/>\n<input type=\"hidden\" name=\"_wpcf7_recaptcha_response\" value=\"\" \/>\n<\/div>\n<div>\n\t<p><label>Name <span class=\"wpcf7-form-control-wrap\" data-name=\"your-name\"><input size=\"40\" class=\"wpcf7-form-control wpcf7-text\" autocomplete=\"name\" aria-invalid=\"false\" value=\"\" type=\"text\" name=\"your-name\" \/><\/span><\/label>\n\t<\/p>\n<\/div>\n<div>\n\t<p><label>Email (required) <span class=\"wpcf7-form-control-wrap\" data-name=\"your-email\"><input size=\"40\" class=\"wpcf7-form-control wpcf7-email wpcf7-validates-as-required wpcf7-text wpcf7-validates-as-email\" autocomplete=\"email\" aria-required=\"true\" aria-invalid=\"false\" value=\"\" type=\"email\" name=\"your-email\" \/><\/span><\/label>\n\t<\/p>\n<\/div>\n\n<p><input class=\"wpcf7-form-control wpcf7-submit has-spinner button\" type=\"submit\" value=\"Get API Key\" \/>\n<\/p><p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"_wpcf7_ak_\"><label>&#916;<textarea name=\"_wpcf7_ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"_wpcf7_ak_js\" value=\"41\"\/><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><div class=\"wpcf7-response-output\" aria-hidden=\"true\"><\/div>\n<\/form>\n<\/div>\n<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>On November 16, 2017, the Council released the NYC Legistar API, allowing the public to directly access our legislative data.<\/p>\n","protected":false},"author":4,"featured_media":78,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-79","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/council.nyc.gov\/legislation\/wp-json\/wp\/v2\/pages\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/council.nyc.gov\/legislation\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/council.nyc.gov\/legislation\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/council.nyc.gov\/legislation\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/council.nyc.gov\/legislation\/wp-json\/wp\/v2\/comments?post=79"}],"version-history":[{"count":0,"href":"https:\/\/council.nyc.gov\/legislation\/wp-json\/wp\/v2\/pages\/79\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/council.nyc.gov\/legislation\/wp-json\/wp\/v2\/media\/78"}],"wp:attachment":[{"href":"https:\/\/council.nyc.gov\/legislation\/wp-json\/wp\/v2\/media?parent=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}