US Census Bureau · Example Payload

Census Acs5 Get Example

Retrieve total population (B01001_001E) for all U.S. states from the 2023 ACS 5-Year Detailed Tables.

GovernmentFederalDemographicsStatisticsEconomicsGeospatialOpen DataPublic Sector

Census Acs5 Get Example is an example object payload from US Census Bureau, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationdescriptionrequestresponse

Example Payload

Raw ↑
{
  "operation": "getAcs5",
  "description": "Retrieve total population (B01001_001E) for all U.S. states from the 2023 ACS 5-Year Detailed Tables.",
  "request": {
    "method": "GET",
    "url": "https://api.census.gov/data/2023/acs/acs5?get=NAME,B01001_001E&for=state:*&key=YOUR_KEY"
  },
  "response": [
    ["NAME","B01001_001E","state"],
    ["Mississippi","2940452","28"],
    ["Missouri","6168187","29"],
    ["Montana","1104271","30"],
    ["Nebraska","1961504","31"],
    ["Nevada","3104614","32"],
    ["New Hampshire","1389741","33"],
    ["New Jersey","9261699","34"],
    ["New Mexico","2113344","35"],
    ["New York","19571216","36"],
    ["North Carolina","10439388","37"]
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/census-acs5-get-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.