Spiral gives your agent every tool with one account. Browse the tools →

AlexandriaFinanceAvailable now

Statistics Canada (www150.statcan.gc.ca) · Search tables

statcan-gc-ca/economic-statistics/search_tables

Get market and financial data with Statistics Canada (www150.statcan.gc.ca) · Search tables from Alexandria through one Spiral API key. Start here to find the table for a topic (CPI, population estimates, labour force, farm cash receipts) or to resolve a table number; then call table_metadata for its dimensions or table_data for values. 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

FieldKindDefaultDescription
query requiredtext—

Words to find in the table title (all must match, any order), or a table / CANSIM id.

limitnumber
1 to 100
20

limit

offsetnumber
0 to …
0

Rows to skip; the previous page's next_offset.

frequencyone of
Daily, Weekly, Biweekly, Monthly, Bimonthly, Quarterly, Semi-annual, Annual, Every 2 years, Every 3 years, Every 4 years, Every 5 years, Every 10 years, Occasional, Occasional Quarterly, Occasional Monthly, Occasional Daily
—

Only tables published at this frequency.

include_archivedtrue or false—

Also return archived tables that are no longer updated.

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": "statcan-gc-ca/economic-statistics/search_tables",
    "input": {
      "query": "<query>"
    }
  }'

Frequently asked questions

How much does Statistics Canada (www150.statcan.gc.ca) · Search tables 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 Statistics Canada (www150.statcan.gc.ca) · Search tables through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "statcan-gc-ca/economic-statistics/search_tables"` 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 Statistics Canada (www150.statcan.gc.ca) · Search tables?

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

Can my AI agent use Statistics Canada (www150.statcan.gc.ca) · Search tables?

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.