Government — entry 020 of 90
Data USA
Data USA is Deloitte/Datawheel's public-data visualization site built on the open-source Tesseract OLAP engine; its API root at `api.datausa.io/tesseract/data.{format}` answers keyless GET requests with drilldown/measure query params. A live call against the ACS 5-year population cube returned full JSON with source annotations and a wildcard `Access-Control-Allow-Origin` header, and the same endpoint also serves CSV, TSV, Parquet, and XLSX. The underlying data is pulled from official US sources like the Census Bureau's American Community Survey rather than being generated by Data USA itself.
Data USA is a public-data visualization project built on the open-source Tesseract OLAP engine, serving US Census and other federal statistics through keyless GET requests with cube/drilldown/measure query parameters.
GreatAPIs Score
Auth quickstart
- No API key required — requests are public and keyless.
Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.
Population by state and year
GEThttps://api.datausa.io/tesseract/data.jsonrecords?cube=acs_yg_total_population_5&drilldowns=State,Year&measures=Population&include=Year:2023&limit=100,0
{
"columns": ["State ID", "State", "Year", "Population"],
"data": [
{ "State ID": "04000US01", "State": "Alabama", "Year": 2023, "Population": 5054253 },
{ "State ID": "04000US02", "State": "Alaska", "Year": 2023, "Population": 733583 }
],
"source": [
{ "annotations": { "source_name": "Census Bureau", "dataset_name": "ACS 5-year Estimate" } }
]
}Developer reference
Gotchas & limits
- `cube` is required to identify the dataset (e.g. `acs_yg_total_population_5` for the 5-year ACS population cube) — omitting it returns an error
- Response shape depends on the format suffix: `.jsonrecords` returns an array of objects, `.jsonarrays` returns parallel arrays keyed by the top-level `columns` field
- CORS is wide open (`Access-Control-Allow-Origin: *`) so the API can be called directly from browser JavaScript with no proxy