State Level
Batch Multiple Endpoints (Batch)
Retrieve data from multiple Analytics API endpoints in a single request, enabling efficient and consolidated data access.
Provide a comma separated list of State level endpoint names in the components query parameter to specify which endpoints you would like to include.
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>A comma separated list of state endpoint names. Spaces are not allowed.</td><td>state/hpi_ts_forecast,state/rpi_ts_forecast</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>[].state</td><td>string</td><td>2-letter state abbreviation</td><td>CA</td> </tr> </table>post/v2/state/component_mget
Query parameters
componentsstring required
A comma separated list of state endpoint names. Spaces are not allowed.
Request body
Example request
[
{
"state": "CA"
}
]Response
Success
Example response
[
{
"state_info": {
"state": "CA"
}
}
]