get_bulk_vector_data_by_range
Retrieve bulk Statistics Canada data for multiple vector IDs filtered by release date range, enabling queries like 'all updates released between specific dates'.
Instructions
Fetches bulk data for multiple vectors filtered by release date range (YYYY-MM-DDTHH:MM), NOT by reference period. Use this when you want data released within a specific date/time window (e.g., "all updates released yesterday").
*** IMPORTANT: release date vs reference period ***
Use THIS tool when you want: "data released between date A and date B"
Use get_sdmx_vector_data (startPeriod/endPeriod) when you want: "data for the time period YYYY to YYYY" get_sdmx_vector_data is more reliable and filters by reference period, not release date.
*** LARGE RESPONSE WARNING *** This tool can return hundreds of flattened data points. If the response exceeds context limits, narrow the request: use fewer vectorIds, or use offset/limit pagination to page through results in smaller chunks.
Response is pre-flattened: each element is one data point with vectorId, productId, coordinate, and all value fields injected at the top level.
Disables SSL Verification. Corresponds to: POST /getBulkVectorDataByRange
Returns: List[Dict[str, Any]]: Flat list of data point dicts, each tagged with vectorId, productId, and coordinate. Raises: httpx.HTTPStatusError: If the API returns an error status code. ValueError: If the API response format is unexpected or no vectors return SUCCESS. Exception: For other network or unexpected errors.
IMPORTANT: In your final response to the user, you MUST cite the source of your data. For vector data, this means including the VectorId and Release Time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return. Default 50. Set higher to get more rows. | |
| offset | No | Number of rows to skip (for pagination). Default 0. | |
| vectorIds | Yes | List of integer vector IDs (e.g. [42076, 41690973]). | |
| endDataPointReleaseDate | No | ||
| startDataPointReleaseDate | No |