Skip to main content
POST
Vector data

Request contract

  • Method and path: POST /apis/v1/statcan-gc-ca/economic-statistics/vector-data
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/statcan-gc-ca/economic-statistics/vector-data
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
vectors
string[]
required

Vector ids, e.g. v41690973.

end_period
string

Range end, YYYY, YYYY-MM or YYYY-MM-DD; defaults to the latest period.

latest_n
number

The latest N reference periods of each series (default 12 when no range is given).

Provider reference: minimum 1; maximum 1000.

start_period
string

Range start, YYYY, YYYY-MM or YYYY-MM-DD (reference period). Use instead of latest_n.

Response

Values of Statistics Canada series by vector id (v41690973 or 41690973; up to 50 per call): each series' table, coordinate, title, unit, scale and decimals with its latest_n periods (default 12) or a start_period/end_period range of data points. Unknown vectors are listed in missing; when none exist the call is not_found. WDS getSeriesInfoFromVector and getDataFromVectorsAndLatestNPeriods / getDataFromVectorByReferencePeriodRange.

The response contains the tool result directly.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.