Government — entry 008 of 90

Census.gov

Verified Jul 2026

The US Census Bureau's Data API serves demographic, economic, and housing statistics drawn from the decennial census, the American Community Survey, and the Population Estimates Program. A free API key is required for production use — unauthenticated requests are redirected to a signup page with an `X-DataWebAPI-KeyError` header rather than served data. Responses come back as JSON arrays, with the dataset, geography, and variables all selected through query-string parameters.

demographicsgovernment-datapopulationstatisticsus-federal
AuthenticationAPI KeySign up with the provider to obtain credentials.
HTTPSSupportedTraffic is encrypted in transit.
CORSEnabledCallable directly from browser JavaScript.
PricingFreeNo paid tier — free for the documented use case.
FormatsJSONResponses can be requested as JSON.

GreatAPIs Score

Score64out of 100
Authentication15/25API key required
Pricing20/20Free to use
Docs0/20No docs or spec available
Formats9/15Single response format
Freshness20/20Verified within 6 months

Embed this badge

Scored 64 on greatapis.com
<a href="https://greatapis.com/api/census-gov/"><img src="https://greatapis.com/badge/census-gov.svg" alt="Scored 64 on greatapis.com"></a>

Auth quickstart

  1. Sign up with the provider to get an API key.
  2. Send it on every request as a headerAuthorization: <key>
  3. The exact header isn't documented — Authorization is a common default; confirm in the provider's docs.
Stored keyNo key stored

Your key is stored only in this browser (localStorage) and sent directly to the API — never to greatapis.