Home - DataUSA/datausa-api GitHub Wiki

⚠️ 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:

  1. Data - retrieves variables from the most suitable database table (the "logic layer"), based on user-defined filters, crosswalking and substituting when necessary.

  2. Attributes - matches the entity IDs returned in the Data API to some base attributes, such as their name and profile image.

  3. Search - returns a list of fuzzy-matched results, based on a string query and optional filters.