Census Block Level

Batch Multiple Endpoints

The block/component_mget endpoint allows you to retrieve data from multiple Analytics API block-level endpoints in one request. Provide a comma separated list of block endpoint names in the components query parameter to specify which block endpoints you would like to include. This endpoint does not have a predefined schema because the response will depend on the specific endpoints that are included in the request.

Request Query Params

<table><tr><th>Property</th><th>Type</th><th>Description</th><th>Example</th></tr> <tr><td>block_id</td><td>string</td><td>15-digit US-census block ID</td><td>360050001001000</td> </tr> <tr><td>components</td><td>string</td><td>Comma separated list of block endpoint names, like "block/hcri,block/value_ts_historical". Spaces are not allowed between listed endpoints.</td><td>block/hcri,block/value_ts_historical</td> </tr> </table>
get/v2/block/component_mget

Query parameters

block_idstring required

15-digit US-census block ID

componentsstring required

Comma separated list of block endpoint names, like "block/hcri,block/value_ts_historical". Spaces are not allowed between listed endpoints.

Response

Success

Example response

[
  {
    "block_info": {
      "block_id": "360050001001000"
    }
  }
]