Skip to content
Maua.Culturewire

Census Bureau (US)

Official US statistics: demographics and economy

Data and analyticsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • API key (40 characters)SecretRequired

    Where to find them

    1. Request the free key at api.census.gov/data/key_signup.html (organization and email): it arrives by email and you must activate it with the link in the message.
    2. Paste it here.
    3. There are no paid plans. With an incorrect or inactive key, the API returns an HTML “Invalid Key” page instead of JSON.

    Get credentials (opens in a new tab)

Tools (1)

  • Census Bureau (US) API requestCENSUSBUREAU_SEND_REQUEST

    Authenticated call to the Census Bureau (US) API (https://api.census.gov/data). Any endpoint of the API is allowed. Data comes as an array (the first row holds the column names). Examples: GET /2022/acs/acs5?get=NAME,B01003_001E&for=state:* (population by state), GET /2020/dec/pl?get=NAME,P1_001N&for=county:*&in=state:06 (2020 census by county), GET /2022/acs/acs5/variables.json (available variables), GET /2022/acs/acs5/geography.json, GET https://api.census.gov/data.json (catalog of all datasets).

    Required scopes

    No scopes required

    Input

    Census Bureau (US) API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.