You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dave Landry edited this page Jan 31, 2022
·
20 revisions
⚠️ Deprecated ⚠️: The API that this documentation refers to (api.datausa.io) went into legacy mode in November 2018, and was be replaced by a newer version of the API with access to new & expanded data: https://datausa.io/about/api/
The Data USA API allows users to access slices of data across multiple government sources. Data is available in both JSON and CSV formats.
Endpoints
There are 3 different endpoints for the API, each one fulfilling a different role of extracting data from the site:
Data - retrieves variables from the most suitable database table (the "logic layer"), based on user-defined filters, crosswalking and substituting when necessary.
Attributes - matches the entity IDs returned in the Data API to some base attributes, such as their name and profile image.
Search - returns a list of fuzzy-matched results, based on a string query and optional filters.