Bank of Canada (Valet API and press feeds) · Observations
bankofcanada-ca/economic-data/observationsGet market and financial data with Bank of Canada (Valet API and press feeds) · Observations from Alexandria through one Spiral API key. Any Bank of Canada statistic not covered by policy_rate, fx_rates or bond_yields, or a Valet observations URL someone pasted; find names with search_series. It runs in the background and returns structured JSON. Pay as you go, with no subscription.
Pricing
$0.00873 per call.
Limits
- Runs
- In the background
- Returns
- json
- Longest queue wait
- 1 hour
- Run deadline
- 5 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
group | text | — | One Valet group name. Exclusive with series. Pattern: ^[A-Za-z0-9._-]+$. |
order | one of asc, desc | — | Row order by period key. Default desc (newest first). |
recent | number 1 to 10000 | — | The latest N observations per series instead of a date or range. |
series | list | — | Valet series names. Exclusive with group. |
end_date | text | — | Range end, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
start_date | text | — | Range start, YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
recent_weeks | number 1 to 10000 | — | recent_weeks |
recent_years | number 1 to 10000 | — | recent_years |
recent_months | number 1 to 10000 | — | recent_months |
max_observations | number 1 to 20000 | — | Cap on returned values (default 2000); more is reported as partial coverage. |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "alexandria",
"model": "bankofcanada-ca/economic-data/observations",
"input": {
"group": "<group>"
}
}'Frequently asked questions
How much does Bank of Canada (Valet API and press feeds) · Observations cost?
$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Bank of Canada (Valet API and press feeds) · Observations through an API?
Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "bankofcanada-ca/economic-data/observations"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with Alexandria to use Bank of Canada (Valet API and press feeds) · Observations?
No. Spiral runs it on its own Alexandria account and charges your Spiral balance.
Can my AI agent use Bank of Canada (Valet API and press feeds) · Observations?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.