-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Service Unavailable #32
Comments
Same for me, http://naics.us is not working anymore. Has anyone found a reliable webservice for NAICS lookup? |
I was about to do an implementation with this API but I guess that's on hold now. |
I'm pretty sure this project has been abandoned, as it seems like it was just part of a one time "Code for America" code-camp type situation. Both BEA and BLS offer NAICS definitions on their website, and it's not too bad to write a scraper to download the relevant information and store it to disk. NAICS updates every 5 years (and it's normally subtle updates), so it's that that bad. Officially, I think OMB/Census Bureau maintain the NAICS, so they might have some good resources as well, although in my experience BEA/BLS was better organized for scraping. |
I just scrounged through the javascript that's currently on https://www.census.gov/naics/ (perhaps look this up on web.archinve.org if it has disappeared by the time you're reading this), which is the US Census's current web interface for searching up NAICS codes, and I found the backend that they are using. As of today, here are some example requests that work! https://www.census.gov/naics/resources/model/dataHandler.php?input=attorney&search=2022
and
I'm not at all familiar with this repo, but it looks at first glance like the census.gov has changed their API, so simply changing the endpoint to |
For what it's worth, my new solution has been to download definitions from the BLS: www.bls.gov/cew/apps/bls_naics/2017_titles_descriptions.csv Although, just now I checked and it seems like 2022_titles_descriptions.csv works for the latest NAICS. |
This looks pretty good too and would work offline. I couldn't actually get the 2017 one, but swapping to Just a heads up, if I grep that file for "attorney" then I don't get the exact same matches as when I use https://www.census.gov/naics/resources/model/dataHandler.php, although they're quite close. Not sure if there's a different/better way to search that file given a query, that would make the two methods agree with each other. |
I previously used this API by hitting the address http://naics.codeforamerica.org/. Trying to use it today, I see the address changed at some point to http://api.naics.us/. In any case, neither of those addresses are accessible at this moment. Is this a temporary issue, or is the service no longer available? If the latter, is there a suggested replacement?
Thanks for your help!
The text was updated successfully, but these errors were encountered: