# Chicago Cityscape API The Chicago Cityscape API returns data about an address in Illinois or a Property Index Number (PIN) in Cook County, Illinois. Returned data can including information about elected officials, TIF districts, nearby CTA & Metra stations, and potential financial incentives for that address or PIN. The most information is returned for Chicago addresses. Using the API requires a `key` which is available to certain members and can be found on your [My Account](http://chicagocityscape.com/account.php) page. API usage is available to ## Three API services (endpoints) ### 1. Property Report API [Property Report API documentation](API%20-%20Property%20Report.md) The Property Report API returns the same information that you get in an [Property Report](http://chicagocityscape.com/address.php). ```` https://www.chicagocityscape.com/api/index.php ```` #### Sample API calls Get a response for an address in Chicago. If the API call doesn't have coordinates, the API will automatically geocode the address. Provide coordinates using `lat` and `lng` parameters (this will also marginally speed up the response). ```` https://www.chicagocityscape.com/api/index.php?address=333 N Michigan Ave&city=Chicago&state=IL&key=your_key_here ```` Get a response for a PIN in Cook County. If the PIN is found but doesn't have a record in the Cook County Parcel 2019 GIS layer, then the PIN is geocoded. ```` https://www.chicagocityscape.com/api/index.php?pin=13364210400000&key=your_key_here ```` ### 2. Parcels API [Parcels API documentation](API%20-%20Parcels.md). This API returns a GeoJSON dataset of Cook County parcels within a radius (in feet) of a WGS84 geographic coordinate, inside a bounding box passed to the API as a GeoJSON polygon, or inside or within a radius (in feet) of one of our thousands of Place Snapshots (using the `slug` parameter). ```` /* The endpoint URL...*/ https://www.chicagocityscape.com/api/parcels.php ```` You can also find a link to the Parcels API in any Place Report in the "Download the data" section below the Property Finder filters (see screenshot below). ![screenshot showing the Parcels API button](api_parcelsapi.png) *Screenshot showing the Parcels API button* ### 3. Places API [[API - Places|Places API documentation]] Download boundaries for wards, community areas, neighborhoods, Chicago Public Schools attendance areas, and other kinds of boundaries in GeoJSON format. ## Troubleshooting - If you are using cURL to access the API and you are receiving results but unexpected results, try sending the parameters as a JSON payload, or "-d" properties, rather then encoding them in the URL.