Geoclient API

Category:


5
Average: 5 (3 votes)

Review Feedback

Comments (16)

Feedback: 
To whom has authentication issues, that's because you need your own app_id and app_key. What you need to do is 1. register here https://developer.cityofnewyork.us/ 2. create a new project for your apps, 3. check Geoclient API 4. Then your own id and key will be generated.

Feedback: 
The documentation here is no good - It's unclear how to structure requests. Please include examples of full requests, not just the endpoint. Example request I had to figure out on my own: https://api.cityofnewyork.us/geoclient/v1/address.json?houseNumber=314&street=west 100 st&borough=manhattan&app_id=abc123&app_key=def456 It's also unclear how to get an app_id or app_key. This may exist elsewhere in the documentation, if it doesn't please add it. If it does exist, you should reference how to request this information. Please fix this. Below is an example of good documentation: https://github.com/talos/nyc-geoclient

Feedback: 
I am trying to do a simple get request from a java code and I am getting this error "Exception in thread "main" java.net.ConnectException: Connection refused: connect". I have created an app_key and app_id couple of days back and using them. Can you please let me know if it is due to the app_key and app_id not authorized or should I have to do any other validations? The url I am using is "http://api.cityofnewyork.us/geoclient/v1/address.json?" Thanks.

Feedback: 
I have identified the cause. The url is https instead of http. Thanks, Rohit

Feedback: 
Dear nyc Geoclient! My webapp is heavily relayed on your api. Could you please let me know when is your server would be up and services would be available. I really need them! Thank you very much, Julia Marina

Enhancements (0)

Issues (8)

Feedback: 
Hi, i try to determine BINs by BBL 3072980045. The response tell me "buildingIdentificationNumber": "3000000" curl -k 'https://api.cityofnewyork.us/geoclient/v1/bbl.json?app_id=93d48bb5&app_key=0992dacb8eed5aa7a3cd785418f4730c&borough=3&block=7298&lot=45' But according to "Property Profile Overview" this property has BIN# 3426041 http://a810-bisweb.nyc.gov/bisweb/PropertyProfileOverviewServlet?boro=3&block=7298&lot=45 I suspect some data is a bit outdated. So my question is: where can I get a little more information about the data actuality? Thanks.

Feedback: 
On the streets map (https://streets.planning.nyc.gov/) the name of each street is followed by a dimension indicating the legal width of the right of way. However, I cannot find this parameter anywhere in the provided databases or in an API call. Where can I find this info? How does one query it? Note that this is NOT the street width parameter in the city center-line database.

Feedback: 
This API endpoint and probably all of the api.cityofnewyork.us endpoints do not seem to support CORS. This means you cannot use these API's directly from the browser. See curl -v 'https://api.cityofnewyork.us/geoclient/v1/address.json?houseNumber=1&street=flatbush+ave&borough=brooklyn&app_id=APP-HERE&app_key=KEY-HERE' we need the server to add the 'Access-Control-Allow-Origin' header. please set it to * See https://en.wikipedia.org/wiki/Cross-origin_resource_sharing The exact header to add is: Access-Control-Allow-Origin: * Thanks.

Feedback: 
Hi, I am using Geoclient api for my school project. But suddenly the API has stopped responding. Getting 503 error. Today I have a demo for my final exam, and it's really important to me. Please let me know when your server/service would be up. Thanks

Feedback: 
I'm experiencing same issue as davidm49090 -- authentication failed 403's despite having created an account & project with Geoclient access yesterday.

Questions (3)

Feedback: 
I created an account and project yesterday, and am having the same issue -- receiving a 403. Is it necessary to reach out to activate projects for this service on a case-by-case basis? Is there always some lag time?

Feedback: 
When I submit a request here: https://dev-mgmt.cityofnewyork.us/docs/geoclient/v1 such as "curl -v -X GET "https://api.cityofnewyork.us/geoclient/v1/address.json?houseNumber=1110&street=Sheridan+Ave&borough=Bronx&app_id=abc123&app_key=def456" (but with my app id and key) I get code 403, authentication failed. Why?

Feedback: 
Are you still receiving the 403? It's possible that your account wasn't activated yet when you were trying to call the service.

Login or Register to post feedback.

© 2019 The City of New York