Search API - DataUSA/datausa-api GitHub Wiki

The Data USA search API powers the autocomplete search found on the homepage and in the top-right navigation of the site. Here are the available query parameters:

parameter description
q (required) the search query string
kind filter by one of the 4 profile types:
geo, soc, naics or cip

For example, to search for all attributes beginning with "econ", query the following URL:

http://api.datausa.io/attrs/search/?q=econ

And to limit that query to only show locations, use the following:

http://api.datausa.io/attrs/search/?q=econ&kind=geo
⚠️ **GitHub.com Fallback** ⚠️