This is a single vote resource from the openparliament.ca API. If you’re new here, you might want to look at the documentation. If API and JSON are gibberish to you, you’re better off at our main site.

Notes

What we call votes are divisions in official Parliamentary lingo. We refer to an individual person's vote as a ballot.

Content

Get this resource as raw JSON.

See the corresponding webpage.

{
    "bill_url": null,
    "session": "42-1",
    "number": 1234,
    "date": "2019-03-20",
    "description": {
        "en": "Concurrence in an opposed item",
        "fr": "Adoption d\u2019un cr\u00e9dit faisant l\u2019objet d\u2019opposition"
    },
    "result": "Passed",
    "yea_total": 88,
    "nay_total": 29,
    "paired_total": 6,
    "context_statement": "/debates/2019/3/20/procedural-232/",
    "party_votes": [
        {
            "vote": "Didn't vote",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "Conservative Party of Canada"
                },
                "short_name": {
                    "en": "Conservative"
                }
            }
        },
        {
            "vote": "Didn't vote",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "New Democratic Party"
                },
                "short_name": {
                    "en": "NDP"
                }
            }
        },
        {
            "vote": "Didn't vote",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "Bloc Qu\u00e9b\u00e9cois"
                },
                "short_name": {
                    "en": "Bloc"
                }
            }
        },
        {
            "vote": "Didn't vote",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "Liberal Party of Canada"
                },
                "short_name": {
                    "en": "Liberal"
                }
            }
        },
        {
            "vote": "Didn't vote",
            "disagreement": 0.0,
            "party": {
                "name": {
                    "en": "Green Party of Canada"
                },
                "short_name": {
                    "en": "Green"
                }
            }
        }
    ],
    "url": "/votes/42-1/1234/",
    "related": {
        "ballots_url": "/votes/ballots/?vote=%2Fvotes%2F42-1%2F1234%2F",
        "votes_url": "/votes/"
    }
}