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

AlexandriaPublic RecordsAvailable now

Elections Canada official voting results and political contributions · Riding results

elections-ca/elections/riding_results

Search public records with Elections Canada official voting results and political contributions · Riding results from Alexandria through one Spiral API key. Who ran and who won in a riding, with vote counts and shares; past results of a riding across the 42nd to 44th elections (one call per election). 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
election requiredone of
42, 43, 44
—

General election number: 44 (2021-09-20), 43 (2019-10-21) or 42 (2015-10-19). Elections Canada publishes these official voting results under the Open Government Licence - Canada; the 45th general election and by-elections are not yet released under that licence and are not served.

district_number requiredtext—

Five-digit federal electoral district number (2013 Representation Order, used by the 42nd to 44th general elections), e.g. 35075 Ottawa Centre. The first two digits are the province (10 NL, 11 PE, 12 NS, 13 NB, 24 QC, 35 ON, 46 MB, 47 SK, 48 AB, 59 BC, 60 YT, 61 NT, 62 NU). list_ridings lists them. Pattern: ^[0-9]{5}$.

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": "elections-ca/elections/riding_results",
    "input": {
      "election": "42",
      "district_number": "<district_number>"
    }
  }'

Frequently asked questions

How much does Elections Canada official voting results and political contributions · Riding results 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 Elections Canada official voting results and political contributions · Riding results through an API?

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "elections-ca/elections/riding_results"` 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 Elections Canada official voting results and political contributions · Riding results?

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

Can my AI agent use Elections Canada official voting results and political contributions · Riding results?

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