Census Block Level
Batch Multiple Endpoints (Batch)
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>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>Request Body Fields
<table><tr><th>Field</th><th>Type</th><th>Description</th><th>Example</th></tr> <tr><td>[]</td><td>object</td><td></td><td></td> </tr> <tr><td>[].block_id</td><td>string</td><td>15-digit US-census block ID</td><td>360050001001000</td> </tr> </table>post/v2/block/component_mget
Query parameters
componentsstring required
Comma separated list of block endpoint names, like "block/hcri,block/value_ts_historical". Spaces are not allowed between listed endpoints.
Request body
Example request
[
{
"block_id": "360050001001000"
}
]Response
Success
Example response
[
{
"block_info": {
"block_id": "360050001001000"
}
}
]